Boost logo

Boost-Build :

From: Alex Hartog (dobbelsteen56_at_[hidden])
Date: 2008-06-09 07:17:17


Jurko Gospodnetić <jurko.gospodnetic <at> docte.hr> writes:

>
> Hi Alex.
>
> > 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.
>
> Best regards,
> Jurko Gospodnetić
>
> _______________________________________________
> Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost-build
>

I know I don't exactly know how it all works yet and that caused my post to be
a bit unclear. I solved the problem already though. I just had to copy
the .dll to my python folder and then it works just fine.

Thanks for your help, I have been working on these problems for weeks and now
I can finally continue working :)


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