Author Topic: Help needed for installing wxWidgets  (Read 3005 times)

Offline hkBattousai

  • Single posting newcomer
  • *
  • Posts: 5
Help needed for installing wxWidgets
« on: August 03, 2009, 09:37:30 pm »
I installed Code::Blocks 8.02.

While creating a new wxWidgets application, the new project wizard asked for directory of wxWidgets. So, I googled and found download page of wxWidgets. From that page, I downloaded wxAll.

Finally I created my first wxWidgets application. Without doing ANY modification on the code generated by Code::Blocks, I hit the F9 key (Compile & Run), to see tons of build error messages. All of them except for the first error message says the a constant is not defined. And the first one says that "wx/setup.h" is not found. I opened the "wx" directory on the disk to see that the mentioned file it indeed does not exist ("setup_inc.h" and "setup_redirect.h" exists though).

Before Code::Blockes I was using wxDev-C++, so I didn't even once bothered to install wxWidgets manually.
In which step I'm doing my mistake, have any idea?
Any help will be appreciated.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Help needed for installing wxWidgets
« Reply #1 on: August 03, 2009, 10:10:44 pm »
You need to compile wxWidgets or use wxPack.
See this wiki-page: http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef