Re: [osg-users] Getting Started with OpenSceneGraph on Ubuntu
Hi, To install osg, type: sudo apt-get install libopenscenegraph-dev openscenegraph You can use the IDE that you prefer, you'd better try all you can and get the one that is more suited to you. As for the behaviour, there isn't any big differences from MSVC: just make a project and specify the OSG libraries you want to use (osg, osgViewer and so on...) You have OSG's API reference at: http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/namespaces.html You should also read the examples provided by OSG to learn how to use it. They are located at /usr/share/openscenegraph/examples/. HTH, Alberto El Miércoles 04 Febrero 2009ES 07:41:23 Trịnh Thành Trung GMail escribió: Hi, I am just new in Linux, and I don't know where to start. Currently I am using Ubuntu 8.10, and install osg through Synaptic package manager, and using Code::Block as a C++ IDE. Writing program in Linux is so different with in Windows, and stilll I can't have the osg HelloWorld runable. I have googled for a while but no hope. Can somebody help me with this newbie stuff, please. You may provide me how to install osg, or what IDE I should use, and how I will configure that, with detail step by step. You may give me some useful links, any help is muck appreciate. I am completely lost. Thanks in advance ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Getting Started with OpenSceneGraph on Ubuntu
Thank you very much, I was able to compile the simple osg tutorial. I have googled everywhere but none pointed me to that libopenscenegraph-dev openscenegraph. :D -- TnTonly Corporation === Home: http://www.tntonly.co.cc Mail: http://mail.tntonly.co.cc Forum: http://www.tntonly.co.cc/forum Blog: http://www.tntonly.co.cc/blog OS: http://www.tntonly.co.cc/os (Limited Service) === ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Getting Started with OpenSceneGraph on Ubuntu
Hi Trinh? (Could sign with the name you wish to be addressed as please, to prevent others form making mistakes ;-) I develop under Kubuntu 8.10, and don't personally use an IDE, I used to, but... this was back in last century! These days I just open up a win-term and use nedit for editing, and an occasionally use gdb for examining stack traces when looking at crashes. What I have found is this combination suits the way I work, and makes me most productive. Prior to going without IDE's I used to use Visual Studio and the SGI Case Vision tools. I say this to present one extreme - it's possible to me perfectly productive without IDE's, others of course prefer by IDE's and couldn't imagine being productive without them. In your case you are stuck learning a new operating system, a new scene graph library, and new compiler set, a new packaging system and a new IDE, so perhaps looking at learning a couple of these at time, rather all at once. Personally I'd recommend getting used to a winterm for navigating around the OpenSceneGraph directory structure, learn how to use agp-get (it's the packaging tool that is underneath Synatic), and learn how to use a simple editor to look at file, learn a few unix commands like cd, ls, make, grep. There are lots of tutorials on these on the web. It will seem like a huge learning curve at the start, but within a day or two you'll be much more comfortable, then a few weeks you might well grow to love the what you can do with a modern unix style operating system. For me the most magical thing about Ubuntu/Kubuntu is the debian based repositories that apt-get/Synatic make easily accessible to you. No more running off onto the web for 3rd party dependencies, spending days trying to configure, build and install them. A single agp-get line can get your everything you need. This makes it possible to install the Ubuntu/Kubuntu on a compeletely new machine and pull down everything you need for development, cmake, gcc, subversion, OpenGL, all the dependencies required for the OSG and get building within minutes of getting the OS installed. Below is the an extract of a script file that I use as a template for getting the OSG installed and built from source on a fresh machine. It's written long winded to enable me to add the commentary about what is being installed to do what. You can put all the packages on to a single apt-get line. The only line you might need to vary is nvidia packages - as these only apply to Nvidia cards with the proprietary drivers. Robert. -- # compile, build and version control sudo apt-get install cmake subversion g++ # OpenGL/X11 sudo apt-get install libx11-dev sudo apt-get install nvidia-glx-177-dev libglu-dev # image libs sudo apt-get install libpng-dev libjpeg-dev libtiff-dev # get true type font support sudo apt-get install libfreetype6-dev # geospatial imaging sudo apt-get install libgdal-dev # video sudo apt-get install libxine-dev # dicom loader sudo apt-get install dcmtk libdcmtk1-dev # gecko plugin sudo apt-get install libgtk2.0-dev sudo apt-get install libxul-dev # pdf plugin sudo apt-get install libpoppler-glib-dev # vnc plugin sudo apt-get install libvncserver-dev # svg plugin sudo apt-get install librsvg2-dev # check out OSG svn co http://www.openscenegraph.org/svn/osg/OpenSceneGraph/trunk OpenSceneGraph # compile the OSG cd OpenSceneGraph ./configure make -j 8 Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Getting Started with OpenSceneGraph on Ubuntu
Wow! I thank you so much for your detailed support. I was able to compile my OSG program with OpenSceneGraph 2.4 with kind help of Alberto Luaces. I will try your instruction soon to get the newest version of OpenSceneGraph, well, as soon as OSG 2.8 becomes available. Uhm, one thing I don't understand is, as you said, Could sign with the name you wish to be addressed as please, to prevent others form making mistakes. Actually I've just had to subscribe to osg-users, again, to be able to post in the group, although I still have recieved osg disgest mails for months. Does it has anything to do with what you said? :-S -- TnTonly Corporation === Home: http://www.tntonly.co.cc Mail: http://mail.tntonly.co.cc Forum: http://www.tntonly.co.cc/forum Blog: http://www.tntonly.co.cc/blog OS: http://www.tntonly.co.cc/os (Limited Service) === ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Getting Started with OpenSceneGraph on Ubuntu
Hi ? On Wed, Feb 4, 2009 at 12:13 PM, Trịnh Thành Trung GMail trinhthanhtr...@gmail.com wrote: Uhm, one thing I don't understand is, as you said, Could sign with the name you wish to be addressed as please, to prevent others form making mistakes. When I mean sign your posts I mean, just sign your first name or a pseudonym at the bottom of each post so that we keep track of who's who - this might seem a little formal, but it makes for a much pleasanter online exchanges. Mailing lists such as this one are fundamentally a social activity, it's just a community of like minded individuals trying to scramble through their daily tasks, helping and receiving help. Small little things like being a bit more personal can help this along. Actually I've just had to subscribe to osg-users, again, to be able to post in the group, although I still have recieved osg disgest mails for months. Does it has anything to do with what you said? :-S You can post from a digest enabled mail subscription, it's only the mail dispatch that is different. Contributing to threads using non digest form is much easier though, as you can reply directly to posts, without having to jump through hoops to get the subject line to do some sensible. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Getting Started with OpenSceneGraph on Ubuntu
Ok, thanks for your suggestion. -- Kind regards. Trung. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Getting Started with OpenSceneGraph on Ubuntu
Hi, I am just new in Linux, and I don't know where to start. Currently I am using Ubuntu 8.10, and install osg through Synaptic package manager, and using Code::Block as a C++ IDE. Writing program in Linux is so different with in Windows, and stilll I can't have the osg HelloWorld runable. I have googled for a while but no hope. Can somebody help me with this newbie stuff, please. You may provide me how to install osg, or what IDE I should use, and how I will configure that, with detail step by step. You may give me some useful links, any help is muck appreciate. I am completely lost. Thanks in advance -- TnTonly Corporation === Home: http://www.tntonly.co.cc Mail: http://mail.tntonly.co.cc Forum: http://www.tntonly.co.cc/forum Blog: http://www.tntonly.co.cc/blog OS: http://www.tntonly.co.cc/os (Limited Service) === ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org