ilpincy/argos3

ARGoS does not compile on Ubuntu 20.04

Closed this issue · 1 comments

When updating to the latest ARGoS on master, the FindFreeImage.cmake has been changed. It used to define FREEIMAGE_LIBRARIES, but now defines FREEIMAGE_PLUS_LIBRARY and FREEIMAGE_BASE_LIBRARY. However, core/CMakeLists.txt still assumes FREEIMAGE_LIBRARIES is defined, so I get a linker error. The docs at the top of FindFreeImage.cmake still says it defines FREEIMAGE_LIBRARIES, even though it doesn't.

Which is correct: the docs or the current cmake code in FindFreeImage.cmake ? It looks like the culprit is 84db11a3f48c680dc4e76089c05bf58e2e048ce1, but I'm not 100% sure. I tried "git bisect" for the first time, and I'm not sure I did it correctly.

Nm I have merge conflicts I missed resolving...