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 

Virtual Planet Builder for Windows


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> VirtualPlanetBuilder [vpb]
View previous topic :: View next topic  
Author Message
Maia
User


Joined: 13 Oct 2011
Posts: 63

PostPosted: Tue Nov 19, 2013 10:59 pm    Post subject:
Virtual Planet Builder for Windows
Reply with quote

Hi,

I have the OSG 3 Cookbook of Rui Wang and I am trying to use Virtual Planet Builder as explained in the book.
I have OSG 3.0.1 pre-built binaries from Alphapixel (Windows 32 bits, Visual C++ 2008).
As explained in the book, VPB needs GDAL and I installed it from binaries as provided by the link, but the instruction in the book is for Ubuntu and Debian:
=====
pp. 280:
Before we build VPB from the source code and use it for terrain creation later, we should establish some prerequisites. One is to install OSG headers and libraries at a reachable location. Of course every reader of this book should be able to achieve this.The other requirement is that you must have the GDAL library installed, which will be used
heavily in VPB for reading and parsing original raster data. You may download the source code and build it from the source code too. But GDAL has already provided various downloadable
binaries for different platforms and versions. Linux, Mac OS X, and Windows users please see the download link for details:
http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries

And Debian and Ubuntu developers can also make use of the common apt-get command to obtain GDAL binaries and developer files:
# apt-get install gdal-bin
# apt-get install libgdal-dev

==========
I installed Gdal for Windows from the binaries and it is working as I can test some command-line functions like gdal_translate, etc...

Then I checked out VPB with svn and the Cmake file asks for GDAL_INCLUDE_DIR and GDAL_LIBRARY but I can't find them on my GDAL folder (C:\Program Files (x86)\GDAL). In the book (for Ubuntu), these are:
GDAL_INCLUDE_DIR = /usr/include/gdal
GDAL_LIBRARY = /usr/lib/libgdal1.7.0.so

Could someone explains how to build VPB for Windows and what libraries/paths/folders to set to make it work ?

Thank you!

Cheers,
Maia
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> VirtualPlanetBuilder [vpb] 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 Support for Windows Universal Platform tomhog General 4 Fri Apr 21, 2017 11:07 pm View latest post
No new posts Cross-platform guide for Linux, macOS... kornerr Announcement [ANN] 3 Mon Apr 03, 2017 5:05 pm View latest post
No new posts OSG on Universal Windows Platform Oneiros General 3 Thu Feb 16, 2017 9:59 am View latest post
No new posts Offline screen render without pbuffer... tnassour General 0 Wed Feb 15, 2017 7:29 am View latest post
No new posts Examples Not Responding; Windows 10 x64 S Senften General 0 Tue Feb 07, 2017 8:37 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