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

Solved: C::B Warning: "At least one global..."

Started by RKCole, March 22, 2006, 02:41:48 AM

Previous topic - Next topic

RKCole

Hello, everyone.

Sorry for the bother with this, but I was unable to find anything on this while searching the forums.

I just installed the latest nightly build (March 21, 2006), and when I try to create a new wxWidgets appliation I receive the warning: "At least one global variable is in use but not yet defined..."  I have the nightly build installed in its own directory ("C:\Codeblocks"), and I still have RC2 installed at ("C:\Program Files\Codeblocks").  Could the RC2 installation be a source to this problem or am I on the wrong track here?

Once again, I am sorry for the bother with this.  I had not seen this problem previously except when I (being the newbie that I was...) tried to install the nightly over RC2.

Thanks greatly in advance for any suggestions.

Take care.

TDragon

This is not actually a problem so much as a helpful hint from Code::Blocks. The wxWidgets C::B template relies on the global variable WX, which should be set to the base directory of your wxWidgets installation (e.g. C:\wxWidgets-2.6.2). The Global Variables dialog is reached from the Settings menu.
[url="https://jmeubank.github.io/tdm-gcc/"]https://jmeubank.github.io/tdm-gcc/[/url] - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

RKCole

Wow...wish I would have thought of that.  Quick and easy!  Thanks for the help on that, TDragon.  I'll remember that the next time this happens (if it happens).

Thanks again.  Problem solved.

Take care.