Link errors in Release mode

Joined
Mar 5, 2009
Messages
2
Reaction score
0
Hi all,

I'l writting a project that use Camellia image library. They provide a camellia.dll, and 2 .lib files: cammelia.lib and camelliad.lib

in debug mode, I added camelliad.lib to Additional Dependencies and it compiles and runs nicely.

In release mode, I Added camellia.lib to Additional Dependencies, but compilation fails with this kind of messages:
file.obj: error LNK2001: unresolved external symbol "public: int __clrcall CamImage::dilate_circle7(void)" (?dilate_circle7@CamImage@@$$FQAMHXZ)

I edited camellia.lib, and found that:
?dilate_circle7@CamImage@@QAEHXZ

note that chars are not exactly the same.

Any idea what could be the problem?
 
additionally, if I enable /verbose when compiling, I see that:

looking for libraries
looking in c:\...\lib\camellia.lib:
[...]
looking for a transition ?dilate_circle7@CamImage@@$$FQAMHXZ->?dilate_circle7@CamImage@@QAMHXZ
 
Back
Top