User forums > Using Code::Blocks

Absolute Newby. Please Help

(1/1)

Petrus Vorster:
Greetings all
Never touched C++. Always on Powerbasic and Lazarus  Pascal.

Downloaded the codeblocks-25.03mingw-setup.exe and installed.
I assume this question has been posted a million times, but here goes.

I cant make nothing work. Installed WX widgets. That is about it.
I recon my links to resources and compilers etc is all wrong. (I did not see a default for dummies).

Nothing works. I can create a simple Dialog form, add a few buttons etc, but nothing will run. Everything is something.h not found in directory.

Please, lets consider me as rock bottom.
On a new project with one simple dialog e.g. Form1 what need to point where? What setting doe i need to have for global, what need to be set to make a simple project that will compile?

Sorry, I assume this is for advanced users, I just need to get the basics right first. Will ask lots of questions.

Many Thanks.

-Peter

Miguel Gimenez:
Attach or post your compilation log in code tags (the # in the post creation window).

Use this instructions to generate it.

Михаил Агарков:
You need the wxWidgets SDK with the compiled binaries for your compiler.
I did it like this:

* Download the Windows installer from here.
* Compile it using these instructions with the compiler you're planning to use.
* After successful compilation, create the "wx" global variable where you specify the path to the wxWidgets folder (should contain folders like build, include, lib).
* Set the project configurations to be the same as what wxWidgets was compiled with (see screenshot)Should work after that.

Navigation

[0] Message Index

Go to full version