Hi,
while trying to compile OSG under Mingw I got errors about missing
members in Producer::KeyboardMouseCallback. These missing members are:
- ScrollLeft,
- ScrollRight,
- Scroll2D,
- TabletPointerType
and osgProducer::KeyboardMouseCallback::penProximity is not defined
static. Here ist the complete error message:
----8<----
make[3]: Entering directory
`/d/projects/dev/OSG-cvs/OpenSceneGraph/src/osgProducer/MINGW.Debug'
c++ -mthreads -g -DOSG_COMPILE_UNIT_TESTS -DWIN32 -Wall
-DOSGPRODUCER_LIBRARY -I../../../include
-I/d/projects/dev/OSG-cvs/OpenThreads/include
-I/d/projects/dev/OSG-cvs/Producer/include -c ../KeyboardMouseCallback.cpp
In file included from ../KeyboardMouseCallback.cpp:1:
../../../include/osgProducer/KeyboardMouseCallback:42: error: `class
Producer::KeyboardMouseCallback::TabletPointerType' has not been declared
../../../include/osgProducer/KeyboardMouseCallback:42: error: ISO C++
forbids declaration of `parameter' with no type
../KeyboardMouseCallback.cpp: In member function `virtual void
osgProducer::KeyboardMouseCallback::mouseScroll(Producer::KeyboardMouseCallback::ScrollingMotion)':
../KeyboardMouseCallback.cpp:28: error: `ScrollLeft' is not a member of
`Producer::KeyboardMouseCallback'
../KeyboardMouseCallback.cpp:29: error: `ScrollRight' is not a member of
`Producer::KeyboardMouseCallback'
../KeyboardMouseCallback.cpp:32: error: `Scroll2D' is not a member of
`Producer::KeyboardMouseCallback'
../KeyboardMouseCallback.cpp: At global scope:
../KeyboardMouseCallback.cpp:49: error: variable or field `penProximity'
declared void
../KeyboardMouseCallback.cpp:49: error: `int
osgProducer::KeyboardMouseCallback::penProximity' is not a static member
of `class osgProducer::KeyboardMouseCallback'
../KeyboardMouseCallback.cpp:49: error: `TabletPointerType' is not a
member of `Producer::KeyboardMouseCallback'
../KeyboardMouseCallback.cpp:49: error: expected primary-expression
before "bool"
../KeyboardMouseCallback.cpp:50: error: initializer expression list
treated as compound expression
../KeyboardMouseCallback.cpp:50: error: expected `,' or `;' before '{' token
make[3]: *** [KeyboardMouseCallback.o] Error 1
make[3]: Leaving directory
`/d/projects/dev/OSG-cvs/OpenSceneGraph/src/osgProducer/MINGW.Debug'
make[2]: *** [libosgProducer.dll.dbg] Error 2
make[2]: Leaving directory
`/d/projects/dev/OSG-cvs/OpenSceneGraph/src/osgProducer'
make[1]: *** [debug] Error 1
make[1]: Leaving directory `/d/projects/dev/OSG-cvs/OpenSceneGraph/src'
make: *** [debug] Error 1
----8<----
It looks like a new version of Producer::KeyboardMouse was not checked
in in CVS.
MAxx
--
Dipl.-Ing. Markus Trenkwalder
Software Architecture & Development
_________
(___ ____) www.s-p.cc
___) S&P Simmulationstechnik
Phone: +43 (0)512 393255
Fax: +43 (0)512 393255 33
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/