Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 87561

Having trouble linking dll file

$
0
0

Hey guys,

I'm having trouble linking a third part dll file in visual studio 2013.

I'm using a third part library called "tinyXml2" to parse xml file in my plugin. Here's my folder structure"Adobe After Effects CS6 Win SDK\Examples\AEGP\ServerRender\Win\tinyXml",

my project file is in the "Win" folder.

In my "tinyXml" folder I have 3 files "tinyxml2.dll", "tinyxml2.h" and "tinyxml2.lib".

I use "#pragma comment(lib,"tinyXml\tinyxml2.lib")" to link the lib file

but it doesn't work, I still get "error LNK2019" and "error LNK2001" errors says the compiler can't find the methods I'm using.

I have set the "Project Properties --> C/C++ --> Code Generation-->Runtime Library" to "/MT" too

 

Do you ever running into such problem before?  Please help me !!!


Viewing all articles
Browse latest Browse all 87561

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>