--Configuringdone--Generatingdone--Buildfileshavebeenwrittento:/home/ubuntu/environment/regression-tests/contracts/eos⚫Scanningdependenciesoftargetthezeostoken◼️ [ 1%]Creatingdirectoriesfor'thezeostoken'◼️ [ 1%]Nodownloadstepfor'thezeostoken'◼️ [ 2%]Nopatchstepfor'thezeostoken'◼️ [ 2%]Noupdatestepfor'thezeostoken'◼️ [ 2%]Performingconfigurestepfor'thezeostoken'CMake Error: The current CMakeCache.txt directory /home/ubuntu/environment/regression-tests/contracts/eos/thezeostoken/CMakeCache.txt is different than the directory /contracts/thezeostoken where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
CMakeFiles/thezeostoken.dir/build.make:106: recipe for target 'thezeostoken-prefix/src/thezeostoken-stamp/thezeostoken-configure' failed
◼️make[2]:*** [thezeostoken-prefix/src/thezeostoken-stamp/thezeostoken-configure] Error 1◼️make[1]:*** [CMakeFiles/thezeostoken.dir/all] Error 2◼️make:*** [all] Error 2CMakeFiles/Makefile2:67:recipefortarget'CMakeFiles/thezeostoken.dir/all'failedMakefile:83:recipefortarget'all'failed☹️eoscontractscompilefailed,ifyouwanttousedockeradd--docker
Or if you're swapping between CDT versions or having cmake issues in general..
If you're using a legacy CDT < v3.0.0 be sure to unbox, compile, test with --legacy-cdt
You can use the bash script below to clear those directories.