gthompsonjr

Linker Errors (Visual Studio 2012): LNK2001

Discussion created by gthompsonjr on Sep 13, 2013
Latest reply on Feb 21, 2014 by jonhcw

I've included all of the libraries included with my copy of the C SDK.  Any ideas on how to set up my environment if I'm using Visual Studio 2008 and/or 2012?

 

Here are the build errors.  Mind you, the code example generated by the Code Wizard compiles without error; it's the build that poses a problem:

 

1>------ Build started: Project: fun, Configuration: Release Win32 ------
1>main.obj : error LNK2001: unresolved external symbol _pdsGet_PCH
1>main.obj : error LNK2001: unresolved external symbol _nimEnd
1>main.obj : error LNK2001: unresolved external symbol _nimNamedRequest
1>main.obj : error LNK2001: unresolved external symbol _nimInit
1>main.obj : error LNK2001: unresolved external symbol _nimError2Txt
1>main.obj : error LNK2001: unresolved external symbol _pdsDelete
1>main.obj : error LNK2001: unresolved external symbol _getopt
1>main.obj : error LNK2001: unresolved external symbol _pdsGetTable
1>C:\Users\nano\Documents\Visual Studio 2012\Projects\fun\Release\fun.exe : fatal error LNK1120: 8 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Outcomes