The Hugin 2010.2.0 branch doesn't build on fedora f14 (gcc-4.5.1 glibc-2.12.90), because some libraries need to be explicitly linked with vigra_impex. I can fix this here by changing this line in src/foreign/vigra/vigra_impex/CMakeLists.txt:

TARGET_LINK_LIBRARIES(huginvigraimpex ${JPEG_LIBRARIES} ${OPENEXR_LIBRARIES} 
${PNG_LIBRARIES} ${TIFF_LIBRARIES})

..to this:

TARGET_LINK_LIBRARIES(huginvigraimpex pthread rt ${JPEG_LIBRARIES} 
${OPENEXR_LIBRARIES} ${PNG_LIBRARIES} ${TIFF_LIBRARIES})

This change is only appropriate for a glibc build, do I wrap this in 'IF(UNIX)' or is there some other cmake incantation I need to use?

--
Bruno

--
You received this message because you are subscribed to the Google Groups "Hugin and 
other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply via email to