Forum Discussion
Altera_Forum
Honored Contributor
17 years agoHow to create a simple program that behave like a Nios IDE?
Good Morning I have NIOS development board and I created a simple NIOS setup with memory and JTAG UART & LED. I already purchased the NIOS license so I have unlimited test time. I also use the...
Altera_Forum
Honored Contributor
13 years agoI am using Visual Studio 2013. I had a name-mangling issue with the functions in jtag_atlantic.dll. C and C++ mangle the names in DLLs in different ways. To get this to work, I had to open my project settings and on the C/C++ Advanced tab, set the Compile As option to "Compile as C++ Code (/TP)".
I expect that's the same as adding the /TP compiler option to the command line for the compiler. Once I did that, and made sure that the return type of jtagatlantic_get_error in my header file was enum JATL_ERROR, everything compiled and linked correctly.