MantisBT - MIDAS
View Issue Details
0011062MIDASMIDAScpppublic2010-07-29 16:102010-07-30 12:05
Stephen Aylward 
Zach Mullen 
normalblockalways
resolvedfixed 
1.2 
1.3 
0011062: MIDAS Desktop: Should check for the existence of libpng during cmake configuration
Application/MIDASDesktop/CMakeFiles/MIDASDesktop.dir/qrc_MIDASDesktopIcons.cxx.o
Linking CXX executable ../../bin/MIDASDesktop
/usr/bin/ld: cannot find -lpng
collect2: ld returned 1 exit status
make[2]: *** [bin/MIDASDesktop] Error 1

apt-get install libpng12-dev

Should check for the existence of libpng during cmake configuration

No tags attached.
Issue History
2010-07-29 16:10Stephen AylwardNew Issue
2010-07-29 16:23Julien JomierCategory => MIDAScpp
2010-07-29 16:23Julien JomierProduct Version => 1.2
2010-07-29 16:23Julien JomierStatusnew => assigned
2010-07-29 16:23Julien JomierAssigned To => Zach Mullen
2010-07-30 12:05Zach MullenNote Added: 0021577
2010-07-30 12:05Zach MullenStatusassigned => resolved
2010-07-30 12:05Zach MullenFixed in Version => 1.3
2010-07-30 12:05Zach MullenResolutionopen => fixed

Notes
(0021577)
Zach Mullen   
2010-07-30 12:05   
I changed the way we call link_libraries for UNIX. Before, we were just assuming that all the libraries existed on the system. Now I have CMake do a find_library and conditionally link against them if they are found. I have a feeling that most of them from the original list aren't even required anyway.