Jump to content
OMRON Forums

Unable to navigate to error


Geoff
 Share

Recommended Posts

In trying to get a clean compile of cplc programs bgcplc01 and bgcplc02, I have added a dummy function call to remove the IntelliSense warning "Syntax Error - EOF" which it throws at the end of a header file. I am left with several "already defined" warnings for pp_proj.h functions such as "void SetEnumGlobalVar(enum globalP var, double data);". As well, the Navigation Error "Unable to navigate to error" appears for bgcplc02.o: In function 'user_plcc'. Please see the attachment. How should I go about debugging this problem? I don't see any issues in the files in the project Log directory.

 

Regards,

Geoff.

87496354_Unabletonavigate2.thumb.PNG.b647f5e157e10150378138cf89a2540b.PNG

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Hi Eric,

Here is the Error list with the Syntax "warning". Note the ~ on the line after the #endif directive.

The error/warning/~ disappears if I uncomment the dummy function shown just above it. Please see attached PNG.

I am working on the program to see what I can do to get rid of the "Unable to navigate to error"

1242633310_Syntaxerror-EOF.thumb.PNG.9f3801c4cd6826ea66bc381c8561f765.PNG

Link to comment
Share on other sites

Here is a simple compile of a background program that tests the setup of a cam table. The "syntax error, unexpected EOF" is from the file ECATMap.h with pp_proj.h the only other include file. Note that the other Intellisense warnings come from the pp_proj.h file as shown in the attached snapshot. There are no warnings in the build or just when in the scope of the Current Project.

The pp_proj.h file can be modified with every build depending on global definition changes and possibly other things. After clicking on a warning that opens the pp_proj.h in the editor, is it possible that it can be corrupted if it is left open during a build and does not get updated properly?

1113450668_Syntaxerror-EOF2.thumb.PNG.6687d2fc28022ebd6e4fb1cb76936a9f.PNG

Link to comment
Share on other sites

For the original error, please right click the bgcplc tab associated with the download error and select "Open Containing Folder". The files "err.log" and "msg.log" should have some information about the cause of the error.

 

As far as the end of file warnings go, adding a dummy function is the best way to prevent those errors for now.

bgcplcerror.png.f6309287244e87c40d05d89b3eedc624.png

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share


×
×
  • Create New...