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?
 
Joined
Mar 5, 2009
Messages
2
Reaction score
0
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top