From: Jurko GospodnetiÄ (jurko.gospodnetic_at_[hidden])
Date: 2008-06-05 11:40:23
> This works correctly when compiled in VC.
> If I run bjam it still works correctly, but when running the python program,
> it does not work. It says:
> "ImportError: DLL load failed: Could not find module"
Use the -d2 option when using bjam to build the project and note the
exact compiler and linker command lines used. Then compare them to those
used when building from your Visual Studio environment and let us know
what you find... most likely some extra path information is being set in
the Visual Studio build and/or Visual Studio is copying some DLL
somewhere which you have not told your Boost Build based build to do.
> Is it possible at all to use .dll's in your C++ code and if so how can I fix
> this problem?
Hmm... not sure what you're asking here... as obviously you can use
DLLs... every Windows application uses them...
Hope this helps.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk