compiling for centos 7

95 views
Skip to first unread message

Simon Moreau

unread,
Feb 15, 2016, 8:23:00 PM2/15/16
to cortexdev
Hello,

I'm Simon Moreau, pipeline TD in Automatik VFX in Berlin.
We are interested in all the possibility of cortex so I started to dig into it.

For the moment I'm having trouble in compiling in. We are using centos 7.

I'm following the step of your wiki, which is pretty well done.

Here is the command I used :

scons BOOST_INCLUDE_PATH=/home/simonmoreau/Downloads/boost_1_53_0 BOOST_LIB_SUFFIX="" BOOST_LIB_PATH=/home/simonmoreau/Downloads/boost_1_53_0/stage/lib OPENEXR_INCLUDE_PATH=/mnt/pipeline/libs/openexr201/include/ TBB_INCLUDE_PATH=/mnt/pipeline/software/tbb41_forCortex/ TBB_LIB_PATH=/mnt/pipeline/software/tbb41/lib TBB_LIB_SUFFIX="" LIBPATH="/mnt/pipeline/libs/" PYTHON_CONFIG="/mnt/pipeline/libs/python273/bin/python-config" PYTHON="/mnt/pipeline/libs/python273/bin/python"

Here is how ends up my compiling tentative :

lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/mnt/pipeline/libs -lpthread -lboost_filesystem -lboost_regex -lboost_iostreams -lboost_date_time -lboost_thread -lboost_wave -lboost_system -lboost_iostreams -lIex -ltbb -lHalf -lIex -lImath -lIlmImf -lIlmThread -lz -lboost_python -lIECore
/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/bin/ld: skipping incompatible /usr/lib/libutil.so when searching for -lutil
/bin/ld: skipping incompatible /usr/lib/libutil.so when searching for -lutil
/bin/ld: cannot find -lpython2.7
/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
collect2: error: ld returned 1 exit status
scons: *** [lib/libIECorePython.so] Error 1
scons: building terminated because of errors.


Still not working for the moment...

Does anybody have already compiled it for centos 7 ? Or maybe you can help me with this error.

Thanks a lot !

Simon

John Haddon

unread,
Feb 16, 2016, 4:17:39 AM2/16/16
to cort...@googlegroups.com
Hi Simon,

The important bit of the error is `/bin/ld: cannot find -lpython2.7`. It's hard to tell why that is from the incomplete snippet from the build log - if you could attach the whole log we might be able to be of more help. Could you also let us know the output of running `/mnt/pipeline/libs/python273/bin/python-config --ldflags`?

Alternatively, if you don't need Cortex's Maya support, you could download precompiled binaries from here :


This contains precompiled versions of all the dependencies for Gaffer, and this includes Cortex...

Cheers...
John


From: cort...@googlegroups.com [cort...@googlegroups.com] on behalf of Simon Moreau [smnm...@gmail.com]
Sent: Monday, February 01, 2016 9:50 AM
To: cortexdev
Subject: [cortex] compiling for centos 7

--
--
You received this message because you are subscribed to the "cortexdev" group.
To post to this group, send email to cort...@googlegroups.com
To unsubscribe from this group, send email to cortexdev-...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cortexdev?hl=en
---
You received this message because you are subscribed to the Google Groups "cortexdev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cortexdev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages