Hi Luigi, Robert

On 6/19/07, Robert Osfield <[EMAIL PROTECTED]> wrote:

Hi Luigi,


> 2)My WXwidgets installation does not define GetUnicodeKey method for
> wxKeyEvent, so , in order to compile, I have to  change
> -->#if 1<--    to -->#if 0<-- in lines  164 and 177   to make it
compile.
>


I just came across this issue and could solve it by adding missing
parameters. Some settings are missing there if we are using the Unicode
build of wxWidgets. First, the macro
_UNICODE
must be defined so that wxKeyEvents offers the GetUnicodeKey() method. And
second, the setting "Character Set" in the General tab of the project
properties need to be set to "Use Unicode character set" (instead of
Multi-byte character set" (the default).
After those changes are made, the sample compiles fine.

Thibault

Of course, those settings must be applied only if the Unicode build of
wxwidgets is used. I'm no CMake expert so I don't know how to implement this
in the CMake settings file.


This is probably related to how the wxwidget library has been configured.
> Are there requirements on which version and which wxwidgets
> configurations are supported?
> I searched the wiki page for optional components but there are hints
> only for some plugin dependencies.
> Would it be useful to have pages to collect feedback on which versions
> of dependencies were tested over the diferent architectures?

What version of WxWidgets are you using?  I have 2.6.1 installed under
Linux

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to