ilpincy / argos3

A parallel, multi-engine simulator for heterogeneous swarm robotics
http://www.argos-sim.info/
268 stars 121 forks source link

ARGoS does not compile on Ubuntu 20.04 #170

Closed jharwell closed 3 years ago

jharwell commented 3 years ago

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.

jharwell commented 3 years ago

Nm I have merge conflicts I missed resolving...