Forum Discussion
Altera_Forum
Honored Contributor
16 years agormatsick (or anyone else),
I was able to use this dll under cygwin without issue. I've been trying to get this work under windows as well, and have run into a few problems. The code compiles except for calls to jtagatlantic_get error(). I get a link error: 1>LINK : C:\Documents and Settings\ayresj\My Documents\Visual Studio 2005\Projects\jtagTest\Debug\jtagTest.exe not found or not built by the last incremental link; performing full link 1>jtagTest.obj : error LNK2019: unresolved external symbol "int __cdecl jtagatlantic_get_error(char const * *)" (?jtagatlantic_get_error@@YAHPAPBD@Z) referenced in function _wmain 1>C:\Documents and Settings\ayresj\My Documents\Visual Studio 2005\Projects\jtagTest\Debug\jtagTest.exe : fatal error LNK1120: 1 unresolved externals If I comment out all references to jtagatlantic_get_error() and compile, the link goes fine, but then I try to run the program and I get the following windows error: application failed to initialize correctly. click ok to terminate program. so, I guess I have two questions: 1.) why does everything link except for jtagatlantic_get_error()? 2.) why does the application fail to initialize? I'm new to windows programming. I usually work in vxWorks or small embedded systems, so I think it might be something silly, I just don't know what that could be. Any help would be appreciated....