Project rebuilding every time

This is a discussion on Project rebuilding every time within the C++ Programming forums, part of the General Programming Boards category; Any ideas on this one? I am using the new codeblocks release 10.05, mingw gcc, My project rebuilds every time ...

  1. #1
    Registered User rogster001's Avatar
    Join Date
    Aug 2006
    Location
    Liverpool UK
    Posts
    1,438

    Project rebuilding every time

    Any ideas on this one? I am using the new codeblocks release 10.05, mingw gcc,
    My project rebuilds every time a build is requested, it does not see target as up to date in effect.
    i am
    The object files are in the default locations,
    All project settings are as my other projects which do not have this problem,
    as far as i can see anyway,
    is there anything obvious i might be missing here?

    The project was created using the version 8.05 and i just copied and pasted the project folder back into my codeblocks root directory.

    I am probably going to use a makefile now but i would like to get to the bottom of this.
    Thought for the day:
    "Are you sure your sanity chip is fully screwed in sir?" (Kryten)
    FLTK: "The most fun you can have with your clothes on."

    Stroustrup:
    "If I had thought of it and had some marketing sense every computer and just about any gadget would have had a little 'C++ Inside' sticker on it'"

  2. #2
    Just a pushpin. bernt's Avatar
    Join Date
    May 2009
    Posts
    426
    It's possible that the files had some wonky read/write permissions when they got copied, which is causing problems with the build system. That's all I can think of - maybe try deleting everything but the project and source files, then rebuilding.
    Consider this post signed

  3. #3
    Registered User
    Join Date
    May 2009
    Posts
    2,667
    Possible Causes

    1. Your System Clock is wrong
    2. Incorrect Date/Time stamps on source code files.
    3. permission issue on object files.

    Things to try in addition to above.

    Clean the project to delete the objects files.

    Tim S.

  4. #4
    Registered User rogster001's Avatar
    Join Date
    Aug 2006
    Location
    Liverpool UK
    Posts
    1,438

    time

    yep you got it, systen time not correct so it was seeing changes every...erm,. time. cheers
    Thought for the day:
    "Are you sure your sanity chip is fully screwed in sir?" (Kryten)
    FLTK: "The most fun you can have with your clothes on."

    Stroustrup:
    "If I had thought of it and had some marketing sense every computer and just about any gadget would have had a little 'C++ Inside' sticker on it'"

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Convert a local time to a timezone's bias
    By NightCode in forum Windows Programming
    Replies: 1
    Last Post: 03-09-2010, 10:45 AM
  2. C# class Time project
    By dropper166 in forum C# Programming
    Replies: 9
    Last Post: 03-04-2009, 08:31 AM
  3. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 01:30 PM
  4. Read and set\change system time
    By Hexxx in forum C++ Programming
    Replies: 9
    Last Post: 01-02-2006, 06:11 AM
  5. I apologize. Good bye.
    By doubleanti in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 05-03-2002, 06:51 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21