NI Linux Real-Time Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble with Eclipse building project with file paths with spaces

I take that back. It built once... ran into that issue and then went to get coffee, came back, cleaned and built again and this happened.Later Issues Part 2.PNG

 

0 Kudos
Message 11 of 18
(1,288 Views)

My guess on the deployment error is that your debug configuration is set to Local instead of the myRIO connection that would have been configured in the Installing an FPGA Bitfile on the myRIO Target section of the document. 
2019-06-07 15_40_43-ni_NI-ELVIS-III-C-Examples_ NI ELVIS III C examples.png

The unresolved symbols you're seeing the source file are expected (Eclipse isn't always the best at tracking down supporting files to be honest, and it's likely that some of the header include paths are missing). The bigger concern would be that first error (the "cannot open output file..."). Typically I recommend looking at the console rather than the Problems tab as Eclipse tends to be over zealous with the Problems it reports. Are you seeing build errors in the console when building? 

Charlie J.
National Instruments
0 Kudos
Message 12 of 18
(1,277 Views)

Good catch on the connection error, I did not change the connection away from the default of local.

 

Build seems to somewhat be working, the console tab doesn't show any errors and completes the build. However the problem tab has 50 errors:50 errors.PNG

Regardless of these errors I attempted to deploy the project on the myRIO and after the debug step I got this result:Deploying Console Issues.PNG

 

0 Kudos
Message 13 of 18
(1,265 Views)

What you're seeing in the bottom screenshot is (I believe) the debugger output. It looks like the only things there are warnings which likely won't affect program execution. They appear related to debugging external libraries that you likely won't have the symbols to debug, but the application should run without further issue. 

 

Try continuing execution of the application and confirming that it runs. 

Charlie J.
National Instruments
0 Kudos
Message 14 of 18
(1,259 Views)

Its not runningNot Running.PNG

 

0 Kudos
Message 15 of 18
(1,253 Views)

Can you share the Debug Configuration Settings? I think the issue is the Remote Absolute File Path in that configuration. Try setting it to include the binary application name. E.g.:

/home/admin/myRIO Example - PWM
Charlie J.
National Instruments
0 Kudos
Message 16 of 18
(1,242 Views)

Remote Abolute File Path.PNG

I also changed the project name to PWM Attempt 1... that shouldn't change anything right?

0 Kudos
Message 17 of 18
(1,238 Views)

It does actually change things, as it would change the built binary name from Eclipse's tracking perspective. So in your case that Remote Absolute Path should be: "/home/admin/PWM Attempt 1"

Charlie J.
National Instruments
0 Kudos
Message 18 of 18
(1,236 Views)