Altera_Forum
Honored Contributor
19 years agoC compiles, C++ doesn't
I'm running the Nios II IDE in Windows. I can compile and run the supplied "Hello, world". If I change the file extension to .cpp or .cxx, I get:
*** no rule to make target `../hello_world.c', needed by `obj/hello_world.o' If I change the extension from .c to .c, I get a dialogue box with: no valid design files found. project hello_world_0 must contain design files and the "detailed" explanation reads: no valid design files found. project hello_world_0 must contain design files Any ideas? I don't need the compilation type to be automatic, so it's OK either to fix this fault or force it to compile for C++.