Hi, I'm hoping you can help me out here. the emerge dies with this these errors:
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../libs -DPKGLIBDIR=\"/usr/lib64/darkradiant\" -DPKGDATADIR=\"/usr/share/darkradiant\" -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/FTGL -I/usr/include/freetype2 -DPOSIX -std=c++0x -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -DWXINTL_NO_GETTEXT_MACRO -fPIC -g -O2 -DNDEBUG -march=native -O2 -pipe -Wall -Wno-unused-variable -Werror=return-type -c KeyValueTable.cpp -fPIC -DPIC -o .libs/KeyValueTable.o
In file included from GLWidget.cpp:1:0:
GLWidget.h:18:1: error: expected class-name before '{' token
{
^
GLWidget.h:27:2: error: 'wxGLContext' does not name a type
wxGLContext* _privateContext;
^
GLWidget.h:30:23: error: expected ')' before '*' token
GLWidget(wxWindow *parent, const std::function<void()>& renderCallback, con
^
GLWidget.h:39:15: error: 'wxPaintEvent' has not been declared
void OnPaint(wxPaintEvent& event);
^
GLWidget.cpp:12:2: error: 'WX_GL_RGBA' was not declared in this scope
WX_GL_RGBA,
^
GLWidget.cpp:13:2: error: 'WX_GL_DOUBLEBUFFER' was not declared in this scope
WX_GL_DOUBLEBUFFER,
^
GLWidget.cpp:14:2: error: 'WX_GL_DEPTH_SIZE' was not declared in this scope
WX_GL_DEPTH_SIZE, 16
^
GLWidget.cpp:17:1: error: prototype for 'wxutil::GLWidget::GLWidget(wxWindow*, const std::function<void()>&, const string&)' does not match any in class 'wxutil::GLWidget'
GLWidget::GLWidget(wxWindow *parent, const std::function<void()>& renderCallbac
^
In file included from GLWidget.cpp:1:0:
GLWidget.h:16:7: error: candidates are: wxutil::GLWidget::GLWidget(const wxutil::GLWidget&)
class GLWidget :
^
GLWidget.h:16:7: error: wxutil::GLWidget::GLWidget()
GLWidget.cpp: In member function 'void wxutil::GLWidget::SetHasPrivateContext(bool)':
GLWidget.cpp:32:3: error: '_privateContext' was not declared in this scope
_privateContext = new wxGLContext(this);
^
GLWidget.cpp:32:41: error: invalid use of incomplete type 'class wxGLContext'
_privateContext = new wxGLContext(this);
^
In file included from GLWidget.cpp:3:0:
../../include/igl.h:11:7: error: forward declaration of 'class wxGLContext'
class wxGLContext;
^
GLWidget.cpp: In member function 'void wxutil::GLWidget::DestroyPrivateContext(':
GLWidget.cpp:42:6: error: '_privateContext' was not declared in this scope
if (_privateContext != NULL)
^
GLWidget.cpp: At global scope:
GLWidget.cpp:59:24: error: variable or field 'OnPaint' declared void
void GLWidget::OnPaint(wxPaintEvent& WXUNUSED(event))
^
GLWidget.cpp:59:24: error: 'wxPaintEvent' was not declared in this scope
GLWidget.cpp:59:53: error: expected primary-expression before ')' token
void GLWidget::OnPaint(wxPaintEvent& WXUNUSED(event))
^
GLWidget.cpp:95:1: error: expected '}' at end of input
} // namespace
^
Makefile:634: recipe for target 'GLWidget.lo' failed
This is over my head and I'm hoping you can tell me how to handle it.