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 

How to add hello world/additional project to existing compiled OSG


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
tipking
Newbie


Joined: 12 Jun 2017
Posts: 2
Location: Bangalore

PostPosted: Mon Jun 12, 2017 10:25 am    Post subject:
How to add hello world/additional project to existing compiled OSG
Reply with quote

Hi
I managed to compile the source Openscenegraph-3.4 using cmake-2.8 and visual studio-2013. Now I need to add a helloworld project or additional project to the existing compiled version. I am able to run example projects but not aware how to add additional project files. Is setting environmental variable must.
Can anyone help me regarding it
Thank you
Muniraj
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 11237

PostPosted: Mon Jun 12, 2017 3:52 pm    Post subject:
How to add hello world/additional project to existing compiled OSG
Reply with quote

Hi Miniraj,

Users don't normally extend the OSG build with their own work, the
ideal is that it's a 3rd party library that you include the headers to
and then link against the libraries like you would any other 3rd party
library.

You can use what ever build environment and compile tools you want for
your own application.

Robert.

On 12 June 2017 at 11:26, Muniraj Sunderavel <> wrote:
Quote:
Hi
I managed to compile the source Openscenegraph-3.4 using cmake-2.8 and visual studio-2013. Now I need to add a helloworld project or additional project to the existing compiled version. I am able to run example projects but not aware how to add additional project files. Is setting environmental variable must.
Can anyone help me regarding it
Thank you
Muniraj

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








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





PostPosted: Tue Jun 13, 2017 3:59 am    Post subject:
How to add hello world/additional project to existing compiled OSG
Reply with quote

Hi!
I think the problem you encountered is to set up a developing environment to facilitate your application development. There are many referring material you can get to finish this job. I recommend you to read OpenSceneGraph 3.0 Beginner's Guide or OpenSceneGraph Quick Start Guide to guide you to do it.
If you want combine you OSG with visual sudio you should take 3 steps:
(1) Compile the OSG (you have finished it)
(2) deploy OSG to your computer system, including OSG/bin, OSG/lib and OSG/include all files be copied to a disk file fold you selected, then you should modify the environment variables (you should have done this)
(3) add your project with OSG include path, OSG lib path and the libs that your project need
The details you can find in both books above.
Jinrui Sang









Quote:
At 2017-06-12 18:26:07, "Muniraj Sunderavel" <> wrote:
Quote:
Hi
I managed to compile the source Openscenegraph-3.4 using cmake-2.8 and visual studio-2013. Now I need to add a helloworld project or additional project to the existing compiled version. I am able to run example projects but not aware how to add additional project files. Is setting environmental variable must.
Can anyone help me regarding it
Thank you
Muniraj

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








------------------
Post generated by Mail2Forum
Back to top
tipking
Newbie


Joined: 12 Jun 2017
Posts: 2
Location: Bangalore

PostPosted: Tue Jun 13, 2017 10:13 am    Post subject:
Reply with quote

Thanx for the reply Robert and Jinrui Sang
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 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 Convert from screen space to world sp... NavyBas General 3 Thu Jun 22, 2017 6:14 pm View latest post
No new posts My cow.osg just become different in a... Jiechang Guo General 2 Mon Apr 24, 2017 12:02 pm View latest post
No new posts How to use frame buffer object in exi... saedrna1 General 2 Sat Feb 18, 2017 3:54 am View latest post
No new posts Geometry in world coordinates but wit... Roko General 11 Wed Jan 18, 2017 8:43 am View latest post
No new posts Use OSG with an existing renderer in ... Valtiel General 5 Fri Nov 18, 2016 10:44 am 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