Hi group!

Today I tried to compile hugin from freshly hg-updated source and ran
into this linker error:

Linking CXX executable hugin_stitch_project
CMakeFiles/hugin_stitch_project.dir/hugin_stitch_project.cpp.o: In
function `__static_initialization_and_destruction_0':
/usr/local/include/boost/system/error_code.hpp:214: undefined
reference to `boost::system::generic_category()'
/usr/local/include/boost/system/error_code.hpp:215: undefined
reference to `boost::system::generic_category()'
/usr/local/include/boost/system/error_code.hpp:216: undefined
reference to `boost::system::system_category()'
collect2: ld returned 1 exit status
make[2]: *** [src/hugin1/stitch_project/hugin_stitch_project] Fehler 1
make[1]: *** [src/hugin1/stitch_project/CMakeFiles/
hugin_stitch_project.dir/all] Fehler 2
make: *** [all] Fehler 2

I tried to just make hugin, nevermind the failure, but linking hugin
failed with the same undefined referencs.

I'm not sure if this is the cause of the problem, but I've recently
installed boost from the latest source (1_48_00) on my system because
I wanted a component which didn't come with the readymade packages for
my distro (Kubuntu 11.4)

I've googled the error, and it seems that the solution could be as
simple as passing

-lboost_filesystem

to the linker, but I have no idea where in the CMake code I'd have to
do that. I'd appreciate some help here - I'd rather not revert to my
distro's standard if it can be helped (if you're interested, the boost
module I'm playing with is boost geometry, which in it's latest
incarnation can do exciting stuff like intersection of spherical
polygons :)

Kay

-- 
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