boost-python-examples
boost-python-examples copied to clipboard
Cant import hello
Hey
Losing my banans here... all I get is >
import hello
ImportError: DLL load failed while importing hello: The specified module could not be found.
I can see the dll file and all. But ???? I'm lost :- ( win10x64/msvc/clion/ amd64 compile
Everything compiled fine as far as I can tell. Any help ?
Well, I'm working on Linux and OSX, so there is not so much I can help here. Some more log output of compilation and run might help, also giving exact versions of boost, python and the compiler.
It's an old question, but this problem actually should be with your type of linking with boost. If it's dynamic linking you should also have your dll from boost(boost_python) in your srcipt run directory or add it to PATH.