Toolchefs / atomsGaffer

Atoms Crowd extension for Gaffer
https://atoms.toolchefs.com
27 stars 15 forks source link

0.1.0: undefined symbol with 0.54.1.0 and 3.0.1 #40

Closed miniduck closed 5 years ago

miniduck commented 5 years ago

AtomsCore::MetadataImpl<Imath_2_3::Box<Imath_2_3::Vec3 > >::toString(std::basic_stringstream<char, std::char_traits, std::allocator >&) const

AtomsGaffer is built against 3.0.1 and gaffer 0.54.1.0 with USE_GAFFER_DEPENDENCIES=ON

Building against 2.8.2 throws different undefined

2.8.2/0.54/lib/libAtomsGaffer.so: undefined symbol: _ZNK9AtomsCore18TypedArrayMetadataIN9Imath_2_34Vec3IdEEE7memSizeEv

AtomsCore::TypedArrayMetadata<Imath_2_3::Vec3 >::memSize() const

Both of these are thrown on "import AtomsGaffer"

Any ideas what might be going on?

andrewkaufman commented 5 years ago

Building against 2.8.2

I believe AtomsGaffer currently requires Atoms 3.0.0 at a minimum.

AtomsGaffer is built against 3.0.1 and gaffer 0.54.1.0 with USE_GAFFER_DEPENDENCIES=ON

Can you clarify what Atoms distro you are using? At IE we're using the AtomsMaya download (but building with USE_GAFFER_DEPENDENCIES=OFF). I noticed AtomsMaya uses OpenEXR 2.2.0 whereas Gaffer dependencies uses OpenEXR 2.3.0. Can you confirm which version of exr your Atoms distro requires?

miniduck commented 5 years ago

Building against the houdini package, not sure which version of openexr that depends on.. I will try setting dependencies manually

Thank you

miniduck commented 5 years ago

Not much luck houdini package and 2.3... Tried with Maya package and linking with the libs under 2018/3.0.1/lib

GafferScene::SceneElementProcessor::computeProcessedBound(std::vector<IECore::InternedString, std::allocator > const&, Gaffer::Context const*, Imath_2_2::Box<Imath_2_2::Vec3 > const&) const

ldd states 2.2 is used and found:

libIex-2_2.so.12 => ../maya/2018/atoms/3.0.1/lib/libIex-2_2.so.12 libImath-2_2.so.12 => ../maya/2018/atoms/3.0.1/lib/libImath-2_2.so.12

miniduck commented 5 years ago

Got a special atomscore build toolchefs built against gaffer 0.54 dependencies - that solved it