OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

compile osgQt by osg3.6.3 fail


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General [forum]
View previous topic :: View next topic  
Author Message
sx341125 (Shen Xin)
Newbie


Joined: 28 Jul 2019
Posts: 2

PostPosted: Sun Jul 28, 2019 2:01 pm    Post subject:
compile osgQt by osg3.6.3 fail
Reply with quote

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
Back to top
View user's profile Send private message
sx341125 (Shen Xin)
Newbie


Joined: 28 Jul 2019
Posts: 2

PostPosted: Wed Aug 28, 2019 5:56 am    Post subject:
compile osgQt by osg3.6.3 fail
Reply with quote

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







------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
wroos
Newbie


Joined: 25 Feb 2010
Posts: 13

PostPosted: Mon Sep 09, 2019 10:49 am    Post subject:
Reply with quote

Hi,

I have encountered the same problem and created a pull request:
https://github.com/openscenegraph/osgQt/pull/28

Hope it helps, it compiles fine on my side now.

Wouter
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General [forum] All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Integrate Qt into OSG - not OSG into ... Trajce Nikolov NICK General 2 Wed Oct 02, 2019 1:25 pm View latest post
No new posts Render to Texture and osgQt (osgQOpenGL) wroos General 3 Mon Sep 16, 2019 5:47 pm View latest post
No new posts osgQt Material issue wroos General 1 Mon Sep 09, 2019 10:39 am View latest post
No new posts osgQt & osgEarth not working with... Db80 General 1 Thu May 16, 2019 2:15 pm View latest post
No new posts Question about method of building osgQt trexmsuee Build system [build] 1 Thu Apr 11, 2019 2:22 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP