- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 seconds
And 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.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How i see you didn't build your project. See on the first code example, you have two errors. In the NIOSII IDE click on "problems" tab(it's located above the message "Build completed in 11.295s"). When you click that tab you will se log errors. Send that if you can't solve your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
my self trying to build simple projects in nios 2 while building it is showing the fallowing warning message can u please give me the solution "**** Build of configuration Debug for project count_binary_1 **** make -s all includes make: *** No rule to make target `E:/ec8427vhdl', needed by `/cygdrive/e/ec8427vhdl/Debug/system_description/../obj/generated_app.mk-t'. Stop. Build completed in 267.302 seconds" when i tried to run on nios 2 hard ware it giving error"elf file does not exist make sure that ur project is build successfully thank you- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
my self trying to build simple projects in nios 2 while building it is showing the fallowing warning message can u please give me the solution "**** Build of configuration Debug for project count_binary_1 **** make -s all includes make: *** No rule to make target `E:/ec8427vhdl', needed by `/cygdrive/e/ec8427vhdl/Debug/system_description/../obj/generated_app.mk-t'. Stop. Build completed in 267.302 seconds" when i tried to run on nios 2 hard ware it giving error"elf file does not exist make sure that ur project is build successfully thank you
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page