Altera_Forum
Honored Contributor
17 years agoNIOS II IDE Error 2 on Hello World
I seem to be having a weird error with the NIOS II IDE 9.0. When I try to build/run the hello world example, I get this:
**** Build of configuration Debug for project hello_world_0 ****
make -s all includes
make: *** Error 2
Build completed in 11.295 secondsAnd get the following in the log: !ENTRY com.altera.nj.launch 4 104 2009-11-21 16:37:25.627
!MESSAGE The Nios II ELF executable does not exist. Please verify that the project hello_world_0 built successfully.
!STACK 0
java.io.FileNotFoundException: D:/Documents/School/ece332/Final_Project/hello_world_0/Debug/hello_world_0.elf not found.
at com.altera.nj.launch.internal.Nios2LaunchConfigurationDelegate.getProgramFile(Nios2LaunchConfigurationDelegate.java:1424)
at org.eclipse.cdt.launch.AbstractCLaunchDelegate.verifyProgramFile(AbstractCLaunchDelegate.java:378)
at com.altera.nj.launch.internal.Nios2LaunchConfigurationDelegate.syncLaunch(Nios2LaunchConfigurationDelegate.java:377)
at com.altera.nj.launch.internal.Nios2LaunchConfigurationDelegate.launch(Nios2LaunchConfigurationDelegate.java:342)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:639)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:565)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:754)
at org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:944)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
!SUBENTRY 1 com.altera.nj.launch 4 104 2009-11-21 16:37:25.636
!MESSAGE D:/Documents/School/ece332/Final_Project/hello_world_0/Debug/hello_world_0.elf not found.
!STACK 0
java.io.FileNotFoundException: D:/Documents/School/ece332/Final_Project/hello_world_0/Debug/hello_world_0.elf not found.
at com.altera.nj.launch.internal.Nios2LaunchConfigurationDelegate.getProgramFile(Nios2LaunchConfigurationDelegate.java:1424)
at org.eclipse.cdt.launch.AbstractCLaunchDelegate.verifyProgramFile(AbstractCLaunchDelegate.java:378)
at com.altera.nj.launch.internal.Nios2LaunchConfigurationDelegate.syncLaunch(Nios2LaunchConfigurationDelegate.java:377)
at com.altera.nj.launch.internal.Nios2LaunchConfigurationDelegate.launch(Nios2LaunchConfigurationDelegate.java:342)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:639)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:565)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:754)
at org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:944)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
I'm not sure why it's not generating an ELF file. There are no errors in the example that I can see, and it's linked properly to a syslib project generated by the correct PTF file. I'm really at a lose as to why this isn't working.