Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-06-05 11:39:13


On Thursday 05 June 2008 18:53:31 Alex Hartog wrote:
> I am trying to use a library in my C++ file, which is used by boost.
>
> I use the following code in my C++ file:
>
> #include "FreeImage.h"
> #pragma comment(lib, "FreeImage.lib")
>
> ...
>
> printf("FreeImage version : %s", FreeImage_GetVersion());
> printf("\n");
> printf(FreeImage_GetCopyrightMessage());
> printf("\n");
>
>
> This works correctly when compiled in VC.

What does "works correctly mean"?

> 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"

There's not enough information here. What "running the python program" means,
what is that program, what is does, how your C++ file is related to Python?
If you have Python extension module that uses another DLL, is that DLL in PATH?

- Volodya


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