Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Project always rebuilds whenever I run it
Project always rebuilds whenever I run it [message #737618] Sat, 15 October 2011 04:01 Go to next message
Eclipse UserFriend
I have 2 C projects, one is a static library and the other an executable.
Whenever I try to run the executable it insists on rebuilding both the
library and the executable every time even though I have not touched the
code.

Why is this happening and how do I get it to run without rebuilding every
time?

I am using Eclipse 3.7.1 on Windows 7 x64 with MinGW.

--
Regards,

Jarrick
Re: Project always rebuilds whenever I run it [message #737879 is a reply to message #737618] Sat, 15 October 2011 11:22 Go to previous messageGo to next message
Eclipse UserFriend
Jarrick,

Just a stab in the dark, but if your projects use include files whose timestamps are in the future, you might see this.

For example, if your clock is off and says it's 2009 and you are #including string.h with a timestamp in 2011, perhaps you will see this behavior.

Chris
Re: Project always rebuilds whenever I run it [message #738269 is a reply to message #737879] Sat, 15 October 2011 22:44 Go to previous messageGo to next message
Eclipse UserFriend
"Chris Stankevitz" wrote in message news:j7c7of$60g$1@news.eclipse.org...

> Jarrick,
>
> Just a stab in the dark, but if your projects use include files whose
> timestamps are in the future, you
> might see this.
>
> For example, if your clock is off and says it's 2009 and you are
> #including string.h with a timestamp in
> 2011, perhaps you will see this behavior.

Thanks but I don't think that's the cause in this case.

--
Regards,

Jarrick
Re: Project always rebuilds whenever I run it [message #739216 is a reply to message #737618] Mon, 17 October 2011 04:14 Go to previous messageGo to next message
Eclipse UserFriend
Eclipse User wrote on Sat, 15 October 2011 10:01
I have 2 C projects, one is a static library and the other an executable.
Whenever I try to run the executable it insists on rebuilding both the
library and the executable every time even though I have not touched the
code.

Why is this happening and how do I get it to run without rebuilding every
time?

I am using Eclipse 3.7.1 on Windows 7 x64 with MinGW.

--
Regards,

Jarrick

Turn off "Build before launching" in Preferences->Run/Debug/Launching
Re: Project always rebuilds whenever I run it [message #740524 is a reply to message #739216] Tue, 18 October 2011 11:47 Go to previous message
Eclipse UserFriend
"Axel Mueller" wrote in message news:j7gnd9$dr5$1@news.eclipse.org...

> Turn off "Build before launching" in Preferences->Run/Debug/Launching

That option is actually "Build (if required) before launching". In my case
the build is not required so I am not sure why I would need to turn this
off. Any thoughts?

--
Regards,

Jarrick
Previous Topic:Scanf is jamming my console
Next Topic:Debug mixed projects in eclipse
Goto Forum:
  


Current Time: Sun Jul 13 19:01:42 EDT 2025

Powered by FUDForum. Page generated in 0.36436 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top