hlrs-vis / covise

Collaborative Visualization and Simulation Environment, OpenCOVER and OddLOT
http://www.hlrs.de/covise/
187 stars 87 forks source link

libpng required dependency #17

Closed szellmann closed 9 years ago

szellmann commented 9 years ago

On a system where libpng is not installed, cmake will configure and generate successfully, but linking will fail later. For someone w/o knowledge of the covise source code, I find this type of error kind of hard to track down, especially because the error messages don't relate to png. Not sure what's the best way to fix this..

-- The following OPTIONAL packages have not been found:

 * ...
 * PNG
 * ...
make[3]: Entering directory `/home/xxxx/covise/tahr/build.covise'
/usr/bin/ld: cannot find -lcoImage
collect2: error: ld returned 1 exit status
make[3]: *** [../bin/IO/ExtractTexCoords] Error 1
make[3]: Leaving directory `/home/xxxx/covise/tahr/build.covise'
make[2]: *** [src/module/hlrs/ExtractTexCoords/CMakeFiles/ExtractTexCoords.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 83%] [ 83%] make[3]: Entering directory `/home/xxxx/covise/tahr/build.covise'