User forums > Help
[SOLVED] Build and Run not working?
Drakon:
Every time I want to check if my program is updating after I change something, however I click Build and Run, and it just runs the old version, I have to keep telling it to rebuild the project from scratch. This is pretty annoying, I don't remember changing any of the settings that could affect this, but if there are any settings that could do this I would love it if someone could help me with anything to get this sorted.
The headers weren't being linked for.
ToApolytoXaos:
Drakon, it would be really helpful if you had provided more information please.
IDE version, compiler you use, operating system you are under while this issue happens.
Cheers.
P.S.: I had a similar issue in the past, but under Debian. I'm currently compiling code myself (both Windows and GNU / Linux) and such issue does not exist anymore.
Drakon:
Sorry, it would be version 12.11. O.S. Windows XP. And the compiler just tells me it is upto date no matter how many changes I make to the file so it just runs the old version of my program, I can even put giberish non-C++ stuff and it will not detect it, I have to rebuild the project and only then it will see the changes and syntax errors.
Edit: It only seems to be this project, but when I include the files to a new project the error carries accross I can get used to it, but I would like to see if there is a fix.
ToApolytoXaos:
--- Quote from: Drakon on November 27, 2013, 08:45:54 am ---...the compiler just tells me it is upto date no matter how many changes I make to the file so it just runs the old version of my program...
--- End quote ---
This is the right behavior if you just run Build. Are you using hot keys or you do it manually using your mouse to click the proper option?
F9 is for Build and run and Ctrl-F9 for Build.
Drakon:
Yeah I'm using build and run, but it is acting as if it is just run. Like i said, I can rebuild the project THEN click run and it will run the updated code, however if I click build and run it will run what ever is in there even if it has syntax errors since it doesn't check for updated code, it just sees it as the same code and all upto date.
Navigation
[0] Message Index
[#] Next page
Go to full version