Ok, to begin with, this is Not the first place I came. I searched Google again and again, this forum, and I searched the wxWindows website as well.
The first problem was figuring out that I had to find "/usr/lib/wx/include/gtk-2.4/wx/setup.h" and copy it to "/usr/include/wx/setup.h". Now that I've done that, I can't seem to get any further. I've searched the wxWindows website to no avail.
Keep in mind, I'm a mid-grade Java programmer learning C++. My program wxTest.cpp
Code:
#include <iostream>
#include <wx/wx.h>
int main()
{
return 0;
}
And where the errors start.
Code:
In file included from /usr/include/wx/wx.h:15,
from wxTest.cpp:2:
/usr/include/wx/defs.h:32:2: #error "No Target! You should use wx-config program for compilation flags!"
In file included from /usr/include/wx/intl.h:24,
from /usr/include/wx/wx.h:21,
from wxTest.cpp:2:
/usr/include/wx/fontenc.h:131:6: #error "Unsupported toolkit"
In file included from /usr/include/wx/gdicmn.h:29,
from /usr/include/wx/event.h:24,
from /usr/include/wx/wx.h:23,
from wxTest.cpp:2:
/usr/include/wx/font.h:82: error: parse error before `{' token
/usr/include/wx/font.h:104: error: non-member function `bool Ok()' cannot have
`const' method qualifier
...
If I need to give anymore information, please tell me! Step by step instructions would be greatly appreciated.
P.S.
I've attached the full error list if anyone cares to read it.