Altera_Forum
Honored Contributor
16 years agoNios II - mixed C and C++ project problem
Hi everybody,
I'm a newbie with Nios II IDE (Version: 9.0 Build: 132) and have following problem when building project with both C and C++ (.cpp) files. - project with source files (all .cpp) is built and can be run on HW (Cyclone II DSP development board) without problems - another project with all sources as .c files can be built and runs on HW Problem: when I want to add .cpp source file to project with .c files, all files are compiled, but linker can't find functions from .cpp file and I get "undefined reference to ..." error. So my question is, how do I setup IDE or where is the setting/flag in the project properties? Dusan