On 24/09/2014 06:36, Etienne Fleurant wrote: > Now after making some space on the machine, I was able to get pass that no > problem until I hit another roadblock. > It now borks when linking iv
> Linking CXX executable iv > /root/pipe_ready/openexr/2.1.0/lib/libIlmImf-2_1.a(ImfAttribute.cpp.o): In > function `Imf_2_1::(anonymous namespace)::LockedTypeMap::LockedTypeMap()': > (.text+0xe5): undefined reference to `IlmThread_2_1::Mutex::Mutex()' > /root/pipe_ready/openexr/2.1.0/lib/libIlmImf-2_1.a(ImfAttribute.cpp.o): In > function `Imf_2_1::(anonymous namespace)::typeMap()': > (.text+0x150): undefined reference to `IlmThread_2_1::Mutex::Mutex()' > /root/pipe_ready/openexr/2.1.0/lib/libIlmImf-2_1.a(ImfAttribute.cpp.o): In > function `Imf_2_1::(anonymous namespace)::typeMap()': > (.text+0x163): undefined reference to `IlmThread_2_1::Mutex::~Mutex()' Specifically libIlmImf doesn't find a link to IlmThread. Maybe the two ilmbase lib entries create a conflict? > Seems to be related to IlmBase but I'm not too sure what it could be. If > you have any idea, please let me know. > I am also testing the same build at home, but on a newer OS platform. > I will compare the result tonight and post the results if it is relevant. > > Thanks a bunch for the help! >> This part links it together >> >>> Linking CXX executable imagespeed_test >>> cd /root/oiio-master/dist/src/libOpenImageIO && /usr/bin/cmake -E >>> cmake_link_script CMakeFiles/imagespeed_test.dir/link.txt --verbose=1 >>> /usr/bin/c++ -fPIC -pthread -O3 -DNDEBUG >>> CMakeFiles/imagespeed_test.dir/imagespeed_test.cpp.o -o imagespeed_test >>> -rdynamic -L/root/boost_1_46_1/stage/lib libOpenImageIO.a >> >> -L is search paths for libraries, you only have /root/boost_1_46_1 >> where does it find -ld -lssl -lcrypto -lfreetype ? >> >>> /root/boost_1_46_1/stage/lib/libboost_filesystem.a >>> /root/boost_1_46_1/stage/lib/libboost_regex.a >>> /root/boost_1_46_1/stage/lib/libboost_system.a >>> /root/boost_1_46_1/stage/lib/libboost_thread.a -ldl >>> /root/pipe_ready/ilmbase/2.0.1/lib/libHalf.a >>> /root/pipe_ready/ilmbase/2.0.1/lib/libIex-2_1.a >>> /root/pipe_ready/ilmbase/2.0.1/lib/libImath-2_1.a >>> /root/pipe_ready/ilmbase/2.0.1/lib/libIlmThread-2_1.a -lssl -lcrypto >>> -lfreetype /root/pipe_ready/utils/libpng/1.6.10/lib/libpng.a >>> /root/pipe_ready/utils/zlib/1.2.8/lib/libz.a >>> /root/pipe_ready/utils/libtiff/4.0.3/lib/libtiff.a >>> /root/pipe_ready/utils/libjpeg-turbo/1.3.1/lib/libjpeg.a >>> /root/pipe_ready/utils/zlib/1.2.8/lib/libz.a >>> /root/pipe_ready/utils/libtiff/4.0.3/lib/libtiff.a >>> /root/pipe_ready/utils/libjpeg-turbo/1.3.1/lib/libjpeg.a >>> /root/pipe_ready/utils/libwebp/0.4.0/lib/libwebp.a >> >> Here you have /root/pipe_ready/openexr does this version match >> /usr/include headers? >> >>> /root/pipe_ready/openexr/2.1.0/lib/libIlmImf-2_1.a >>> /root/pipe_ready/utils/giflib/5.0.5/lib/libgif.a >>> /root/pipe_ready/ilmbase/2.0.1/lib/libHalf.a >>> /root/pipe_ready/ilmbase/2.0.1/lib/libIex-2_1.a >>> /root/pipe_ready/ilmbase/2.0.1/lib/libImath-2_1.a >>> /root/pipe_ready/ilmbase/2.0.1/lib/libIlmThread-2_1.a >>> -Wl,-rpath,/root/boost_1_46_1/stage/lib >>> collect2: ld returned 1 exit status >>> make[2]: *** [src/libOpenImageIO/imagespeed_test] Error 1 >>> make[2]: Leaving directory `/root/oiio-master/dist' >>> make[1]: *** [src/libOpenImageIO/CMakeFiles/imagespeed_test.dir/all] >> Error 2 >>> make[1]: Leaving directory `/root/oiio-master/dist' >>> make: *** [all] Error 2 _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
