Code::Blocks Forums
User forums => Help => Topic started by: hkBattousai 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 (http://www.wxwidgets.org/downloads/). From that page, I downloaded wxAll (http://sourceforge.net/projects/wxwindows/files/wxAll/2.8.10/wxWidgets-2.8.10.tar.gz/download).
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.
-
You need to compile wxWidgets or use wxPack.
See this wiki-page: http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef (http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef)