[Therion] loch crash.
Michael Lake
mikel at speleonics.com.au
Sun Feb 11 08:07:49 CET 2007
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
More information about the Therion
mailing list