Git Product home page Git Product logo

Comments (7)

charlesangus avatar charlesangus commented on May 30, 2024 1

Basically, it seems like you're compiling with one version of libstdc++ but nuke isn't finding that version, so locate could help us track down where the different ones are, so you can either compile with the one nuke is using, or get nuke to use the one you compiled with.

from deepc.

charlesangus avatar charlesangus commented on May 30, 2024 1

That would seem to be the case, that's a C++ 11 function, so it's possible you're using a compiler which is too old.

Which version of GCC and devtoolset are you using?

from deepc.

charlesangus avatar charlesangus commented on May 30, 2024

Do you have devtoolset installed and sourced when you build? That's my first guess.

It's also possible there are multiple versions of libstdc++, try running:

locate libstdc++

from deepc.

vvzen avatar vvzen commented on May 30, 2024

Thanks for the prompt reply.
I wish I had more CMake knowledge, but let's say that I've managed to run nuke with the "same" environment that I'm using to compile the plugins. So now some node works!

But others crash with a SIGILL:

#0  0x00007fbb40211949 in FastNoise::SetSeed(int) () at /my/path/to/DeepCPNoise.so

I wonder if it's caused by this line in the FastNoise.cpp : std::mt19937_64 gen(seed); ?

from deepc.

charlesangus avatar charlesangus commented on May 30, 2024

Just checked, looks like last time I compiled this I used devtoolset-6 and gcc-6.3.1 - is it possible for you to try with devtoolset-6 installed and enabled? (Also looks like I need to update the readme if devtoolset-3 doesn't work anymore).

from deepc.

vvzen avatar vvzen commented on May 30, 2024

I'm on gcc 5.5.0, cmake version 3.5.2. Not sure how to check the version of the toolset since I can't run any sudo yum commands on that specific workstation.

I also added a add_definitions(-D_GLIBCXX_USE_CXX11_ABI=0) to the CMakeLists.txt file after stumbling upon TheFoundryVisionmongers/nuke-ML-server#15 since I was running into the same error (undefined symbol: _ZNK2DD5Image2Op15input_longlabelB5cxx11Ei) and that flag seemed to have sorted it. Do you think it's related?

from deepc.

charlesangus avatar charlesangus commented on May 30, 2024

Yeah, I think your problems are probably related to not having devtoolset installed and enabled and/or the wrong devtoolset installed/enabled.

Run:

yum list installed | grep devtoolset

And see if it's installed, and if so, which version. If it is, try running:

source /opt/rh/devtoolset-6/enable

And then trying to build. (I can confirm devtoolset-6 works, others may as well, if you have a different one, just change the number and try it). This will enable the devtoolset tools which you need to build successfully on CentOS/RH.

from deepc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.