Closed ianchen28 closed 5 years ago
I'm sorry you're having errors again :/ If I recall correctly, there was a change in GCC ABI at version 6. In short, code compiled with version 6+ doesn't link with code compiled with version <= 5. And from the log, it looks like you have installed system wide BWAPI?
Can you provide:
build/CMakeCache.txt
Thank you
I'm sorry you're having errors again :/ If I recall correctly, there was a change in GCC ABI at version 6. In short, code compiled with version 6+ doesn't link with code compiled with version <= 5. And from the log, it looks like you have installed system wide BWAPI?
Can you provide:
- The version of gcc or clang that you use
- The content of the file
build/CMakeCache.txt
Thank you
The reason turned out to be the BWAPI I compiled previously with GCC 4.x, while cherrypi with GCC 7.1 : P A little complex but finally fixed by re-compile all the dependancies with GCC 7.1, according to your instruction. And currently everything run correctly, Thank you~
One more thing, I encountered another error as https://github.com/OpenBW/openbw/issues/3#issue-267579749 and fixed by applying the same fix https://github.com/OpenBW/bwapi/commit/035d4b0f034af696c6c6e97da3b980e025a92f3c also to the file https://github.com/TorchCraft/TorchCraftAI/blob/afce4b6004712e2c32ab825ad705608f8c042fc8/3rdparty/bwapilib/UnitType.cpp#L11-L13 Maybe you can have a look if you should also apply the fix in your code?
Thank you again for your time : )
I'm glad that you got it working! Let us know if you have any further issue using the codebase
Also thank you for pointing out this gcc 7.1 bug, I'll make sure to include the fix on the next code push :)
got the error when running 'make' in the following:
whole log as follows: