Author Topic: Problem when building.  (Read 4003 times)

Offline Daazku

  • Single posting newcomer
  • *
  • Posts: 5
Problem when building.
« on: January 22, 2009, 04:39:20 am »
I have a small problem since I passed from XP to Vista.

When I build my project a second time with NO CHANGE in ANY file near the whole project rebuild and I don't know why..

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Problem when building.
« Reply #1 on: January 22, 2009, 07:27:45 am »
When I build my project a second time with NO CHANGE in ANY file near the whole project rebuild and I don't know why..
This might be an issue with the time stamps of your files (at least is has been for other users). Check your clock and compare the time with the one of your files. E.g. if all your files are from year 2010 they will always be compiled. Such things happen if the system clock is/was broken.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Daazku

  • Single posting newcomer
  • *
  • Posts: 5
Re: Problem when building.
« Reply #2 on: January 22, 2009, 07:10:26 pm »
Tanks! that was the problem... all timestamps was fucked.. I needed to open manually all files and edit them with notepad ++ to solve the problem...

Do you know a better way to do that? Because it was long.... and with a larger project it will be fucking long..

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Problem when building.
« Reply #3 on: January 22, 2009, 08:18:08 pm »
Do you know a better way to do that?
under Linux there is "touch". Under Windows the GnuWin32 tools deliver a "touch" tool, too... IIRC...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ