Author Topic: Doesn't detect changes that should cause build.  (Read 3745 times)

Offline dfatcb

  • Multiple posting newcomer
  • *
  • Posts: 56
Doesn't detect changes that should cause build.
« on: May 31, 2012, 08:43:19 pm »
A lot of times if I just update the master library (the .lib files change date) the code::blocks says nothing to do, but it should at least link.  Are there options to have it look a little deeper?

Online stahta01

  • Lives here!
  • ****
  • Posts: 6640
    • My Best Post
Re: Doesn't detect changes that should cause build.
« Reply #1 on: May 31, 2012, 09:26:56 pm »
CB Version is what?

The nightlys has improved external dependency that might fix your issue.

Tim S. 
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline dfatcb

  • Multiple posting newcomer
  • *
  • Posts: 56
Re: Doesn't detect changes that should cause build.
« Reply #2 on: June 02, 2012, 07:57:09 am »
Version 10.05.

Is there a newer official/stable release?

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5226
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Doesn't detect changes that should cause build.
« Reply #3 on: June 02, 2012, 08:50:47 am »
Version 10.05.

Is there a newer official/stable release?
Try a nightly build version of Codeblocks. see: Nightly builds
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline dfatcb

  • Multiple posting newcomer
  • *
  • Posts: 56
Re: Doesn't detect changes that should cause build.
« Reply #4 on: June 06, 2012, 08:44:52 pm »
ok, thanks, but can't you just take the nightly files and put them in the folder where code::blocks is already installed and be done with it, basically upgrading to the latest version?  they should just create an innosetup installer for the nightly updates and then it be easy/clear.

zabzonk

  • Guest
Re: Doesn't detect changes that should cause build.
« Reply #5 on: June 06, 2012, 08:50:59 pm »
Quote
but can't you just take the nightly files and put them in the folder where code::blocks is already installed and be done with it

Yes you can - this is basically what I do. Just unzip the nightly over the top of your existing installation (after backing it up), saying "yes" to "replace existing files". This may not be the most kosher way of installing a nightly, but it's convenient and has always worked for me.

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: Doesn't detect changes that should cause build.
« Reply #6 on: June 07, 2012, 02:00:09 am »
they should just create an innosetup installer for the nightly updates and then it be easy/clear.
(Assuming you are on Windows) you could use the unofficial installer.

Offline Radek

  • Multiple posting newcomer
  • *
  • Posts: 104
Re: Doesn't detect changes that should cause build.
« Reply #7 on: June 07, 2012, 06:12:55 am »
I have made the same experience. The project is a (static) library. Along with the library, I have a project with a small testing program which tests new changes made in the library. If the library changes, the test program must be rebuilt, remaking the test program results in "nothing to do". I am using SVN builds of Code Blocks (Debian, Gnome).

Well, does not matter too much, the testing program is small, rebuilding is as quick as remaking, but ...

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9496
Re: Doesn't detect changes that should cause build.
« Reply #8 on: June 07, 2012, 06:25:03 am »
but it's convenient and has always worked for me.
Be careful: Sooner or later it won't. Its best to delete all files except the own ones before.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

zabzonk

  • Guest
Re: Doesn't detect changes that should cause build.
« Reply #9 on: June 08, 2012, 10:58:26 pm »
Quote
Be careful: Sooner or later it won't.

Care to outline a scenario where it wouldn't work?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12006
    • Travis build status
Re: Doesn't detect changes that should cause build.
« Reply #10 on: June 08, 2012, 11:43:54 pm »
Removed plugin for example or some left xrc file...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]