"LNK2019: unresolved external symbol ..." in the static library chain

aeon made me realize that I needed to reconsider my question.

I have a chain of C ++ static libraries that build just fine. For 3 libraries A, B, C ("->" means dependency): if A-> B and A-> C than with build A, then everything will be completed successfully.

I refer to A from the C ++ console application, and when I create this application, I get unresolved characters from the static library B. example: Error 195 LNK2019: unresolved external character "__declspec (dllimport) public: __cdecl ..."

I work with VS2010 and refer to static libraries, the new way means that I do not add libraries to the "Additional libraries", but I refer to them from the new "Links ..." option that they created on VS2010. here: http://qualapps.blogspot.com/2010/04/static-library-dependencies-in-visual.html (I tried to reference the use of "Additional dependencies", but got the same results).

Any idea how I can solve this problem ?!

+3
source share
2 answers

, - , . , , (), .

+7

- , , , . , , .

, , libs, ? Plz !

0

All Articles