Hi,

I am now trying to build static libraries for OIIO, without OCIO for the
moment. I want to be able to compile the static libs successfully before I
add OCIO in the equation.

My issue seems to be a linking problem towards the end of the building
process, but what is strange in my case is that it doesn't seem to happen
always at the exact same place.

For example, it failed at 3 different places during 3 distinct compile
(same machine, same config) with the same cmake settings:

'''
...
[ 94%] Building CXX object
src/oiiotool/CMakeFiles/oiiotool.dir/printinfo.cpp.o
Linking CXX executable oiiotool
collect2: ld returned 1 exit status
make[2]: *** [src/oiiotool/oiiotool] Error 1
make[1]: *** [src/oiiotool/CMakeFiles/oiiotool.dir/all] Error 2
make: *** [all] Error 2
'''
then...
'''
[ 89%] Building CXX object
src/iconvert/CMakeFiles/iconvert.dir/iconvert.cpp.o
Linking CXX executable iconvert
collect2: ld returned 1 exit status
make[2]: *** [src/iconvert/iconvert] Error 1
make[1]: *** [src/iconvert/CMakeFiles/iconvert.dir/all] Error 2
make: *** [all] Error 2
'''
and finally,
'''
[ 89%] Building CXX object
src/libOpenImageIO/CMakeFiles/imagespeed_test.dir/imagespeed_test.cpp.o
Linking CXX executable imagespeed_test
collect2: ld returned 1 exit status
make[2]: *** [src/libOpenImageIO/imagespeed_test] Error 1
make[1]: *** [src/libOpenImageIO/CMakeFiles/imagespeed_test.dir/all] Error 2
make: *** [all] Error 2
'''
Any idea of what might be going on here?
Let me know if you need more infos or details.

Here's my platform specs:

CentOS 6.5
CMake 2.8.8
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4)
Intel i7-3930K

Be aware that building dynamic libraries with the same settings compiles
successfully.

Thanks in advance,

Etienne
Digital District Montreal
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to