CMakeCache error


#1

My bot runs fine locally, but when uploading it I got this error message:

CMake Error: The current CMakeCache.txt directory /home/worker/Halite/apiserver/worker/tmpeacrmbdm/CMakeCache.txt is different than the directory /path/to/Halite 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

No idea what’s going on. I’m just copying the code to the online editor for now.


#2

You just need to upload MyBot.cpp, the hlt folder and CMakeLists.txt.
Did you upload CMakeCache?


#3

Yes. Yes I did. I didn’t realize you weren’t supposed to just zip the whole folder. That was stupid.