[osg-users] [forum] compile osgQt by osg3.6.3 fail

Shen Xin sxddup at gmail.com
Tue Aug 27 22:55:35 PDT 2019


Hi,
i use osg3.6.3+visual 2017+ Qt5.10.1 complie osgQt,but fail.
error msg like:

1. Error	C4430	missing type specifier - int assumed. Note: C++ does not support default-int	osgQOpenGL	D:\code\cpp\osg\osg3.6.3\build0727\include\osg\GL

2.Error	C2146	syntax error: missing '>' before identifier 'GLfloat'	osgQOpenGL	D:\code\cpp\osg\osg3.6.3\build0727\include\osg\GL

3.Error	C2065	'GLenum': undeclared identifier	osgQOpenGL	C:\Qt\Qt5.10.1\5.10.1\msvc2017_64\include\QtGui\qopenglext.h

4.Error	C2653	'osgQOpenGLWindow': is not a class or namespace name	osgQOpenGL	D:\code\cpp\osg\osg3.6.3\osgQt-master\buildosgQt\src\osgQOpenGL\__\__\include\osgQOpenGL\moc_osgQOpenGLWindow.cpp

and so on...

that confused me a long time,if you know why ,pls tell me,thanks a lot!!!


Cheers,
shenxin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=76522#76522







More information about the osg-users mailing list