Hi!
I recently decided to learn GUI programming with codeblocks and wxWidgets. But encountered some problems.
Running code::blocks 8.02 under Fedora 11.
I tried starting a new project with the following settings:
Version: wxWidgets 2.8.x
GUI Builder: wxSmith
Application type: Frame based
Compiler: GNU GCC
After creating the project in the wizard i try to compile it before putting in any objects or code.
This gives me the message: ./wx_pch.h|14|error: wx/wxprec.h: No such file or directory|
The compiler cant find the include file <wx/wxprec.h>. Or any other include files that are automaticly put in the code.
I read in a forum that i need to set the path to wxWidgets in the variable wx, under GLOBAL VARIABLES.
The problem is that i cant find the correct path. I searched for some of the files that the compiler was looking for, but couldn't find them.
Do i need to install wxWidgets seperatley?
In that case witch package?
Is GNU GCC the compiler to use if i whant to create GUI applications that run under both windows and linux?
i searched for wxWidgets in yum and found that wxBase.i586 is installed.
Appreciate any help.
//John