Code::Blocks Forums

User forums => Help => Topic started by: DjogaRo on February 11, 2021, 03:46:37 pm

Title: How to explicitly clear CodeBlocks' build instruction cache?
Post by: DjogaRo on February 11, 2021, 03:46:37 pm
Hello there,

does anyone know, how to clear CB's build instruction cache explicitly?

I'm not new to programming, but new to getting that involved in the build process. I intend to make an application in CB that employs wxWidgets. For over a week I'm trying to configure the latter to be the way I want to use it and get CB to build it successfully.
Today I tried wxW 3.0.5 instead of 3.1.4. First I learned, that the older one defaults to gtk2, not 3, when I configure it with just --gtk. Then after reconfiguring with --gtk=3, I saw CB trying to use the gtk2-variant, which cannot be, since the wxW build is to be asked for compiler and linker parameters. ***************************************************. Sry, I'm in a bad place rigth now. I'd thought, I was getting dumber by the day - not being able to make sence of how my configurations of CB and wxW builds are (not) working together, while every now and then my collegues asked what's the hold-up.

I hope someone tells me, how to make sure, that CB reevaluates options like "`/mnt/int/data/micha/Documents/3rdParty/wxWidgets-3.0.5/buildgtk/wx-config --static --cflags`".

But for now, I need to fight the urge to destroy things.

Regards,
  Djoga'Ro
Title: Re: How to explicitly clear CodeBlocks' build instruction cache?
Post by: oBFusCATed on February 11, 2021, 04:48:31 pm
Restart C::B. This is the only way. :(
Title: Re: How to explicitly clear CodeBlocks' build instruction cache?
Post by: DjogaRo on February 11, 2021, 05:57:08 pm
Invaluable information. Thank you very much.
Title: Re: How to explicitly clear CodeBlocks' build instruction cache?
Post by: BlueHazzard on February 12, 2021, 07:41:39 pm
We should introduce a script command to clear the cache....
Title: Re: How to explicitly clear CodeBlocks' build instruction cache?
Post by: oBFusCATed on February 13, 2021, 01:04:27 am
Nope. We should clear the cache at the start of the build or switch to ninja...