Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   compiling in windriver (http://www.chiefdelphi.com/forums/showthread.php?t=71251)

koreabell 05-01-2009 03:46

compiling in windriver
 
i searched but i couldn't find answer to it yet, if there are some threads regarding my question already, please let me know

my question is that is there any way to find out an error in the code without downloading the code to cRio or using debugging tool(which requires connection with cRio)?

i tried to build with intentional error( missing semicolon and missing headerfile) and it worked, so i guess it's not compiling the code or detecting errors.

so i'm wondering if windriver workbench can detect code errors without connection with cRio, like other IDEs did before(command IDE to compile, if there are some errors, compile failure, if not, compile to download).

Kingofl337 05-01-2009 12:49

Re: compiling in windriver
 
I had this problem and it was caused by me moving the workspace from the default. You need to make sure you used the default locations.

Program - C:\windriver
Workspace - C:\windriver\workspace

BradAMiller 05-01-2009 14:36

Re: compiling in windriver
 
You can find syntax errors in the program by compiling it. You don't need a cRIO to do that. Just right-click on the project in the "Project Explorer" window and select, "Build Project". You should see any errors in the "Problems" or "Build Console" tabs at the bottom of the screen.

koreabell 05-01-2009 15:26

Re: compiling in windriver
 
Quote:

Originally Posted by BradAMiller (Post 792545)
You can find syntax errors in the program by compiling it. You don't need a cRIO to do that. Just right-click on the project in the "Project Explorer" window and select, "Build Project". You should see any errors in the "Problems" or "Build Console" tabs at the bottom of the screen.


well, i did that bunch of times with intentional errors in the code but it'll still build/rebuild the project successfully with no errors.

i don't see any errors or warnings on "Problems" or "Build Console" tab

does anyone not get any errors or warnings other than me?

jtdowney 05-01-2009 15:32

Re: compiling in windriver
 
Quote:

Originally Posted by koreabell (Post 792594)
well, i did that bunch of times with intentional errors in the code but it'll still build/rebuild the project successfully with no errors.

i don't see any errors or warnings on "Problems" or "Build Console" tab

does anyone not get any errors or warnings other than me?

I could see that happening if you had multiple projects open and didn't know which was the active project. I would analyze the output window closely and make sure you are compiling the project you think you are. All else fails just right click on your project and choose close unrelated projects.


All times are GMT -5. The time now is 13:21.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi