[Cmake] LNK 2001 error
Adolfo González Uzábal
fito at unizar.es
Thu, 19 Feb 2004 17:24:22 +0100
Hello everybody there.
I'm trying to compile an application that uses a .dll I've just compiled with
Cmake.
I'm using __declspec(dllexport) and __declspec(dllimport) in my functions
depending on the CMake generated "my_Library_name"_EXPORTS variable.
I can compile the .dll but when I try to use it, I got this kind of error:
[...]error LNK2001: unresolved external symbol "__declspec(dllimport) [...]
I know from the forums that this is a common error but I've not found the way
for solving it.
What have I missed?
Thanks in advance. Best Wishes.
Adolfo G.U.