Boost logo

Boost-Build :

From: Alex Hartog (dobbelsteen56_at_[hidden])
Date: 2008-06-05 10:53:31


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

Is it possible at all to use .dll's in your C++ code and if so how can I fix
this problem?


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