I've been digging around forums for the last week and still cannot find a solution:
intro:
using g++ / eclipse ide / ubuntu 7.10 / all the stuff needed for wx installed
need:
want to start using wxwidgets as a base for my gui operations
wanted solution:
so the hello world app will compile
My app includes only wx/wx.h. I've added directories of the wx headers, then added all the built binaries to the project, afterwards added 'wx-config --libs' 'wx-config --cxxflags' to the linker commands. I have wxWidgets 2.6, 2.8 , 2.8.7 installed on my machine, I am using the latter in my development. Is installed in a specific folder, compiled without errors, SHOULD work without a glimpse.
Does not - I recieve 226 errors while I'm trying to build my application, a simple hello world, all of them lookin similair to this:
Code:
Severity and Description Path Resource Location Creation Time Id
/home/piotro/Desktop/ P1.Installs/wxWidgets/include/wx/chkconf.h #error "wxMessageBox is always needed" Wx line 1765 1203097962170 5731
and
Code:
Severity and Description Path Resource Location Creation Time Id
/home/piotro/Desktop/ P1.Installs/wxWidgets/include/wx/app.h ‘wxApp’ has not been declared Wx line 630 1203097962174 5747
Full source code of my hello world with wx:
Code:
#include<wx_pb.h>
#include<wx/wx.h>
int main(){
}
I'm helpless right here.
Will keep on digging until I've succesfully compiled my program, but this may prove useful as long as someone will answer please.
Bookmarks