Skip to content Skip to sidebar Skip to footer

Import Error "undefined Symbol: _znk9fastnoise8getnoiseeff" When Calling C++ Extension In Python 3.6

I am currently trying to make some C++ extensions for a python script. In the C++ side of the story, it seems to be compiled just fine and it generates my .so shared library, but w

Solution 1:

Your shared object doesn't have access to every function you use. You probably have a file like FastNoise.cpp which implements your FastNoise object. Yet you only use main.cpp to compile your dynamic library (.so) file. So make sure all .cpp files are included in the build of your python c++ extension.

Another option might be to make to implement your FastNoise object entirely inside of the header.

Post a Comment for "Import Error "undefined Symbol: _znk9fastnoise8getnoiseeff" When Calling C++ Extension In Python 3.6"