[Dev-C++] problem using dll from visual studio
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Axel B. <new...@th...> - 2004-04-20 18:10:13
|
Hi Folks, I'm new to the list because I couldn't find a solution to this little problem. I am trying to use the sleepycat berkeley db 4.2, compiled under visual studio 6, with dev-c++. but this won't work - when linking I always get the following error: [Linker error] undefined reference to `Db::Db(DbEnv*, unsigned)' this bugs me. I tried to include the .lib-file by -l switch, directly, I set the include/library paths, I tried to include the .a file, etc. nothing works. AND I checked with nm that the lib indeed HAS the functions included - the cxx_*.obj-files are present in the lib. so - I'm clueless :-/ can anyone please help me, its kind of important ... :-) thanks in advance & greetings, axel. |