News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Code Blocks Search Directories only show up after a build?

Started by jiapei100, January 07, 2010, 02:58:49 PM

Previous topic - Next topic

jiapei100


Hi,

Whenever I clicked project's name and then
build options->Compiler->Search directories

Nothing displayed.

I've got to "build" this project once again,
even thought nothing is actually "built" in this round,
(Namely:  In build log, it will show

Target is up to date.
Nothing to be done. )


I don't know whether this is a bug of Code Blocks.
But, in my personal opinion, it's better to show up Search directories
whenever I clicked on the project build options.
Building it once again to show up "search directories" is not the right way out.


Best Regards
JIA



Welcome to Vision Open
[url="http://www.visionopen.com"]http://www.visionopen.com[/url]

Jenna

It's the first time I heard of such an issue.

Can you provide a simple test-project where this happens ?

Which version of C::B and which OS (version) and wxWidgets (version) do you use ?

ollydbg

It woks fine here when I right click on the "codeblocks.cbp" context menu.
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.

jiapei100


I'm using
Ubuntu 9.10 + C::B 8.0.2 + wxWidgets 2.8.10.1-0ubuntu1






Quote from: jens on January 07, 2010, 03:04:02 PM
It's the first time I heard of such an issue.

Can you provide a simple test-project where this happens ?

Which version of C::B and which OS (version) and wxWidgets (version) do you use ?
Welcome to Vision Open
[url="http://www.visionopen.com"]http://www.visionopen.com[/url]

stahta01

Is this just the normal operation of "Build Options" not working while the user is building the project?

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

jiapei100


I've got no idea what you are referring to.
But, I uploaded a video in .ogv format at
http://www.visionopen.com/rec.ogv

please find suitable codec to broadcast it.

Then, you will see what's happening in my C::B ...


Cheers
JIA Pei


Quote from: stahta01 on January 07, 2010, 07:41:25 PM
Is this just the normal operation of "Build Options" not working while the user is building the project?

Tim S.
Welcome to Vision Open
[url="http://www.visionopen.com"]http://www.visionopen.com[/url]

Jenna

You can have build options for the whole project and for the targets.

If you open the build options the first time, the project is selected, which has no seacrh-directories set.
After first building the actual target is selected, which has search directories.

EDIT:
What I forgot to write:

The cause for that behaviour is, that the project is not active at the moment you open the build options the first time, so the projects build options are selected.
After a build the project is selected and you get the active targets build options shown as default (the same would happen if you activate the project before).

jiapei100



Thanks, Jens:

That's the reason. Thanks very much.
Problem solved.

Cheers
JIA
Welcome to Vision Open
[url="http://www.visionopen.com"]http://www.visionopen.com[/url]