Hi Stacho asked:
Another point - we have to be sure, that the problem is in loch. Could you please try to compile and run default wxWidgets OpenGL samples? (e.g. samples/opengl/cube). If it will work, the problem is in loch, if not, the problem is in wxWidgets OpenGL canvas.
Good point. cube$ ls Makefile cube.cpp cube.h cube$ make g++ -c `wx-config --cxxflags` -o cube.o cube.cpp cube.h:49: error: default argument for parameter of type 'const wxString&' has type 'const char [13]' cube.h:53: error: default argument for parameter of type 'const wxString&' has type 'const char [13]' cube.cpp: In constructor 'ScanCodeCtrl::ScanCodeCtrl(wxWindow*, wxWindowID, int, const wxPoint&, const wxSize&)': cube.cpp:68: error: conversion from 'const char [1]' to 'const wxString' is ambiguous /usr/include/wx-2.6/wx/string.h:643: note: candidates are: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.6/wx/string.h:633: note: wxString::wxString(int) <near match> so it looks like there are lots of things wrong. It could be that I just dont have something else for development that I need installed maybe ? Mike Lake
Don't compile wxWidgets with unicode support. Then the code should work. On Sunday 11 February 2007 2:07 am, Michael Lake wrote:
Hi
Stacho asked:
Another point - we have to be sure, that the problem is in loch. Could you please try to compile and run default wxWidgets OpenGL samples? (e.g. samples/opengl/cube). If it will work, the problem is in loch, if not, the problem is in wxWidgets OpenGL canvas.
Good point.
cube$ ls Makefile cube.cpp cube.h cube$ make g++ -c `wx-config --cxxflags` -o cube.o cube.cpp cube.h:49: error: default argument for parameter of type 'const wxString&' has type 'const char [13]' cube.h:53: error: default argument for parameter of type 'const wxString&' has type 'const char [13]' cube.cpp: In constructor 'ScanCodeCtrl::ScanCodeCtrl(wxWindow*, wxWindowID, int, const wxPoint&, const wxSize&)': cube.cpp:68: error: conversion from 'const char [1]' to 'const wxString' is ambiguous /usr/include/wx-2.6/wx/string.h:643: note: candidates are: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.6/wx/string.h:633: note: wxString::wxString(int) <near match>
so it looks like there are lots of things wrong. It could be that I just dont have something else for development that I need installed maybe ?
Mike Lake
_______________________________________________ Therion mailing list Therion@speleo.sk http://www.speleo.sk/mailman/listinfo/therion
participants (2)
-
Michael Lake -
Philip Schuchardt