Dear all,

I'm trying to build Java bindings using the Qt Jambi Generator (following the 
generator_example tutorial) for the QGLViewer library 
(http://www.libqglviewer.com/) which main class is derived from QGLWidget (and 
thus it is mostly based in Qt). The library not only relies on QGLWidget but 
also on OpenGL, e.g., 

const GLdouble* quaternion::inverseMatrix() const, 
void quaternion::getInverseMatrix(GLdouble m[4][4]) const.

However, after adding the types that depends on OpenGL (such quaternion) to 
the typesystem specification the generator segfaults:

WARNING(MetaJavaBuilder) :: skipping function 
'qglviewer::Quaternion::inverseMatrix', unmatched return type 'GLdouble 
const*'
Segmentation fault

I suppose I must make available the OpenGL data types to the generator, but I 
don't know how. Is there a way to do it?

Best regards,


Jean Pierre
-- 
Timing must be perfect now.  Two-timing must be better than perfect.
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to