Exocortex / ExocortexCrate

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

Exocortex Maya2017/Linux compiles but getting Maya Plugin error when loading #72

Open cvw76 opened 6 years ago

cvw76 commented 6 years ago

Hi, So, I swapped out the boost 1_44 for boost 1_67, recompiled the python libs and made a few changes to the cmake files and all compiles without complaints on both CentOS7 and Ubuntu 16.04 x64, gcc 5.4.0 and cmake 3.5. However, when I load up in maya, I get the 'undefined' symbol error :

// Error: line 1: /opt/ExocortexAlembic/Module/plug-ins/libMayaExocortexAlembic.so: undefined symbol: _ZN5boost16re_detail .......... (full output below)

Running ldd or objdump on libMayaExocortexAlembic.so all looks fine, lib links all seem to be as expected. The boost libs don't give any complaints at compile except a note:

pragma message("EXOCORTEX: ESS_PROFILING not defined, profiling disabled.")

But builds no problems. So I am thinking that maybe it's a symbol declared but not defined in the project and maybe related to this ESS_PROFILING note, as it seems to crop up a few different times in search issues. Any ideas before I did deeper? (I guess it could be compiler version - trying gcc4.8.2 on a docker image to test next step).

Cheers, Colin

Maya output in script editor when loading plugin

// Error: line 1: /opt/ExocortexAlembic/Module/plug-ins/libMayaExocortexAlembic.so: undefined symbol: _ZN5boost16re_detail_10670012perl_matcherIN9gnu_cxx17__normal_iteratorIPKcNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS_9sub_matchISC_EEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE14construct_initERKNS_11basic_regexIcSJ_EENS_15regex_constants12_match_flagsE (libMayaExocortexAlembic) //