Exocortex / ExocortexCrate

http://exocortex.com/products/crate
BSD 3-Clause "New" or "Revised" License
134 stars 68 forks source link

compile for noob #66

Closed mamasio closed 7 years ago

mamasio commented 7 years ago

Ok, I've blown way too much time trying to get this to compile and work for linux, centos7. I'm at a new studio that doesn't have a real IT department yet. Is there anyone who will share a compile of this as a regular .mod with only the necessary files for maya2017? So all I have to do is path to the .mod file in the environment variables when I initialize maya2017.

Let me know.(pm) I'm willing to pay

mamasio commented 7 years ago

I am noob... Thanks for the help everyone. Got it sorted

simonouel commented 6 years ago

Hey what did you do to make it work?? i'm stuck at the end here:

Linking CXX shared library libMayaExocortexAlembic.so
/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libboost_regex.a(instances.o): relocation R_X86_64_32S against symbol `_ZTVN5boost6detail15sp_counted_baseE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libboost_regex.a(regex.o): relocation R_X86_64_32S against symbol `_ZTVN5boost11regex_errorE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libboost_regex.a(regex_traits_defaults.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libboost_regex.a(cpp_regex_traits.o): relocation R_X86_64_32S against symbol `_ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libboost_filesystem.a(operations.o): relocation R_X86_64_32 against symbol `_ZN5boost10filesystem16filesystem_errorD1Ev' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libboost_filesystem.a(path.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libboost_system.a(error_code.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[2]: *** [ExocortexAlembicMaya/2016.5/libMayaExocortexAlembic.so] Error 1
make[1]: *** [ExocortexAlembicMaya/2016.5/CMakeFiles/Maya2016.5ExocortexAlembic.dir/all] Error 2
make: *** [all] Error 2