Re: [osg-users] Development Environment

2010-05-19 Thread Torben Dannhauer
Hi,

because you have it in your project's linker dependency, VS tries to open it 
and fails.

Are you sure the library has this name? My Library is called osgGA.lib or 
osgGAd.lib. Maybe the second 'a' of osgGAad.lib is only a typo. Try to adapt 
the lib dependency entry in your project settings to your filename.



Cheers,
Torben

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Development Environment

2010-05-19 Thread Frank Henard
That was it.  It built with no errors.  Thanks!

I clicked the  button to start debugging, and when I do that I get an error 
The application failed to initialize properly (0xc0150002).  Click OK to 
terminate the application.

I'm trying to run the code from 
http://www.openscenegraph.org/projects/osg/attachment/wiki/Support/Tutorials/BasicGeometry/BasicGeometry.cpp

Any ideas what this error is?

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Development Environment

2010-05-19 Thread Frank Henard
Ok.  I figured it out.  Maybe it will be helpful to others...

http://dwightdesign.com/2009/05/installing-openscenegraph-280/ says to download 
the binaries from 
http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-2.8/binaries/Windows/VisualStudio8/.
  I am using Visual C++ Express 2008 which is actually version 9.  I downloaded 
the binaries from 
http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-2.8.2/binaries/Windows/VisualStudio9/
 and that solved my problem.

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Development Environment

2010-05-18 Thread Frank Henard
Hey Guys,

I'm trying to follow this tutorial.  It seems very straightforward, but maybe a 
little old.  http://dwightdesign.com/2009/05/installing-openscenegraph-280/

I'm getting this error when VS builds:
1LINK : fatal error LNK1104: cannot open file 'osgGAad.lib'

I have osgGAad.lib in Project properties - Configuration Properties - Linker 
- Input - Additional Dependencies

Any ideas?

Frank

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Development Environment

2010-05-17 Thread Wojciech Lewandowski

Hi Guys,

FYI: Yesterday I tried to build OSG with 2010. Last stable CMake 2.8.1 is 
generating some cryptic errors so I checked most recent CMake 2.9.x from 
nightly builds. That version seems to work, so if you want to work with OSG 
under VS 2010 try nightly builds CMake version.


Cheers,
Wojtek

- Original Message - 
From: Torben Dannhauer z...@saguaro-fight-club.de

To: osg-users@lists.openscenegraph.org
Sent: Sunday, May 16, 2010 10:24 AM
Subject: Re: [osg-users] Development Environment



Hi J-S,

oops, you are right, I marked it as optional. I always integrate it, so I 
forgot that it is optional :)



Thank you!

Cheers,
Torben

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org 


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Development Environment

2010-05-17 Thread Jean-Sébastien Guay

Hi Wojtek,


FYI: Yesterday I tried to build OSG with 2010. Last stable CMake 2.8.1
is generating some cryptic errors so I checked most recent CMake 2.9.x
from nightly builds. That version seems to work, so if you want to work
with OSG under VS 2010 try nightly builds CMake version.


Are you going to submit a basic set of 3rd party dependencies compiled 
for VS 2010? :-)


J-S
--
__
Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com
   http://www.cm-labs.com/
http://whitestar02.webhop.org/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Development Environment

2010-05-17 Thread Wojciech Lewandowski
Nope ;-) With VS2010 Express Beta  I was using dependencies for 2008 + 2008 
runtime.  I intend to do the same before 3rd pary libs appear for VS 2010.


WL

- Original Message - 
From: Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com

To: OpenSceneGraph Users osg-users@lists.openscenegraph.org
Sent: Monday, May 17, 2010 4:05 PM
Subject: Re: [osg-users] Development Environment



Hi Wojtek,


FYI: Yesterday I tried to build OSG with 2010. Last stable CMake 2.8.1
is generating some cryptic errors so I checked most recent CMake 2.9.x
from nightly builds. That version seems to work, so if you want to work
with OSG under VS 2010 try nightly builds CMake version.


Are you going to submit a basic set of 3rd party dependencies compiled for 
VS 2010? :-)


J-S
--
__
Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com
   http://www.cm-labs.com/
http://whitestar02.webhop.org/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org 


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Development Environment

2010-05-15 Thread Frank Henard
Hi Torben,

That is extremely kind of you.  I just downloaded Visual C++ Express 2010 last 
night.  I will see if I can get VS 2008, and follow the instructions for that.  
Hopefully I won't need too much help.  Thanks!

Frank

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Development Environment

2010-05-15 Thread Torben Dannhauer
Hi,

i noted down my own setup in my don't forget wiki.
It is in german, but maybe it can help you: 
https://www.dannhauer.info/horde/index.php

in short:
- install MS Visual Studio with sp1,
- install CMAKE newest version
- checkout OSG in your folder.
- download precompiled 3rd Party binaries for 32 bit from osg website: 
http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-2.8/binaries/Windows/VisualStudio9/3rdParty_Win32Binaries_vc90sp1.zip
- download precompiled GDAL binary from 
http://www.dannhauer.info/gdal-1.6.3_VC90sp1_x86.zip
- configure osg with cmake: set install prefix directory to you source 
directory (in-source build), set all include dirs and library pathes in cmake 
for all available 3rdParty libraries.
- press generate to let CMAKe generate the native visual studio solution
- compile this solution in VS as debug and as release.

your directory structure could be:
D:\OpenSceneGraph  - root-dir of the  OSG frameworks   -
D:\OpenSceneGraph\gdal-1.6.2- contains gdal 1.6.2  
D:\OpenSceneGraph\3rdParty - contains the 3rdparty files.
D:\OpenSceneGraph\Data - example models and data, downloadable fromOSG 
website
D:\OpenSceneGraph\OpenSceneGraph-2.9.8 - Directory wich contains the checkout 
of the osg repository trunk  

your env variables for win:
OSG - 
D:\OpenSceneGraph\OpenSceneGraph-2.9.8\bin;D:\OpenSceneGraph\3rdParty\bin;D:\OpenSceneGraph\gdal-1.6.2\bin
OSG_FILE_PATH - D:\OpenSceneGraph\Data;D:\OpenSceneGraph\Data\Images
 PATH - add  ;%OSG%
OSG_NOTIFY_LEVEL - WARN
OSG_ROOT - D:\OpenSceneGraph\OpenSceneGraph-2.9.8




Thank you!

Cheers,
Torben

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Development Environment

2010-05-15 Thread Jean-Sébastien Guay

Just a few notes:

1. Torben's instructions are for Visual Studio 9 (2008). I don't think 
there's a precompiled 3rdparty package for Visual Studio 10 yet.


2. You don't really need GDAL unless you need to read georeferenced DEM 
files, it's an optional dependency. It's required if you're going to be 
using VPB though, so it depends on what you want to do...


J-S


On 5/15/2010 2:27 PM, Torben Dannhauer wrote:

Hi,

i noted down my own setup in my don't forget wiki.
It is in german, but maybe it can help you: 
https://www.dannhauer.info/horde/index.php

in short:
- install MS Visual Studio with sp1,
- install CMAKE newest version
- checkout OSG in your folder.
- download precompiled 3rd Party binaries for 32 bit from osg website: 
http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-2.8/binaries/Windows/VisualStudio9/3rdParty_Win32Binaries_vc90sp1.zip
- download precompiled GDAL binary from 
http://www.dannhauer.info/gdal-1.6.3_VC90sp1_x86.zip
- configure osg with cmake: set install prefix directory to you source 
directory (in-source build), set all include dirs and library pathes in cmake 
for all available 3rdParty libraries.
- press generate to let CMAKe generate the native visual studio solution
- compile this solution in VS as debug and as release.

your directory structure could be:
D:\OpenSceneGraph  -  root-dir of the  OSG frameworks   -
D:\OpenSceneGraph\gdal-1.6.2-  contains gdal 1.6.2  
D:\OpenSceneGraph\3rdParty -  contains the 3rdparty files.
D:\OpenSceneGraph\Data -  example models and data, downloadable from
OSG website
D:\OpenSceneGraph\OpenSceneGraph-2.9.8 -  Directory wich contains the checkout 
of the osg repository trunk  

your env variables for win:
OSG -  
D:\OpenSceneGraph\OpenSceneGraph-2.9.8\bin;D:\OpenSceneGraph\3rdParty\bin;D:\OpenSceneGraph\gdal-1.6.2\bin
OSG_FILE_PATH -  D:\OpenSceneGraph\Data;D:\OpenSceneGraph\Data\Images
  PATH -  add  ;%OSG%
OSG_NOTIFY_LEVEL -  WARN
OSG_ROOT -  D:\OpenSceneGraph\OpenSceneGraph-2.9.8




Thank you!

Cheers,
Torben

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




--
__
Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com
   http://www.cm-labs.com/
http://whitestar02.webhop.org/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Development Environment

2010-05-15 Thread Frank Henard
I uninstalled Visual C++ 2010 Express, and installed Visual C++ 2008 Express.  
I will try that out.  Thanks!

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Development Environment

2010-05-14 Thread Frank Henard
Hello,

I am new to osg, and it has been a while since I have done C++.  I have an 
interest in 3d programming, and was hoping to work through the osg tutorials.  
My day job is as a Java developer, and I work mainly on the Eclipse IDE at 
work.  I saw a tutorial on setting up osg to work in eclipse, so I thought that 
eclipse would be a good choice for me in order to minimize the learning curve 
of working with osg.

However, setting up an eclipse osg development environment has been very 
difficult.  I went through the tutorial on osg's site, and after spending a 
very frustrating Friday night going through it, I realized that there is a more 
up-to-date version on someone's blog.  I followed that very closely, but am 
getting errors, and the blog owner is not responding to my questions.  I am 
ready to hand in the towel on eclipse with osg, and here are my questions for 
the experts.

What is the most ideal environment with osg?

If you think I should give up on Eclipse, should I attempt Visual Studio, or 
Linux?  I have Ubuntu on my machine.

Am I skipping over some important foundational knowledge?  If so, is there a 
book or tutorial that I should use to get up-to-speed in order to be able to 
work the osg tutorials?

Thank you!
Frank

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org