Author Topic: Absolute Newby. Please Help  (Read 3886 times)

Offline Petrus Vorster

  • Single posting newcomer
  • *
  • Posts: 1
Absolute Newby. Please Help
« on: June 24, 2026, 04:52:53 pm »
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

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1871
Re: Absolute Newby. Please Help
« Reply #1 on: June 24, 2026, 05:30:36 pm »
Attach or post your compilation log in code tags (the # in the post creation window).

Use this instructions to generate it.

Offline Михаил Агарков

  • Single posting newcomer
  • *
  • Posts: 9
  • Highly sensitive programmer.
    • Codeberg
Re: Absolute Newby. Please Help
« Reply #2 on: Today at 04:34:29 pm »
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.