Re: [osg-users] [build] Building a Simple Viewer

2009-08-03 Thread David Goering
Hey, thanks for the answers so far, sry it took me a while to answer: Firstly, I just want to be clear that I didn't mean to be condescending I didnt take it in that way at all, and am thankful for any help. do you mean it didn't fix the error with Config or the C4541: 'dynamic_cast'

Re: [osg-users] [build] Building a Simple Viewer

2009-08-03 Thread David Goering
Okay here is something interesting: I deleted all of my includes to start linking to the includes from scratch and just continue until he finds all the files (that was my hope |-) ) anyway, I added in: C:\Praktikum\OpenSceneGraph\OSG\build\include\OpenThreads because he said he couldn't find

Re: [osg-users] [build] Building a Simple Viewer

2009-08-03 Thread Simon Hammett
Set you include directories list to: C:\Praktikum\OpenSceneGraph\OSG\include\ C:\Praktikum\OpenSceneGraph\OSG\build\include\ Then it should work. You're going too far down in the directory hierarchy. 2009/8/3 David Goering dgoer...@gmail.com: Okay here is something interesting: I deleted all

Re: [osg-users] [build] Building a Simple Viewer

2009-08-03 Thread David Goering
Hey, Thanks for your answers. That was really on of the problems, but there were quite a few more for some reason. A friend of mine helped me and added in missing libs and include files in VS, and got the Viewer working now. Now I will try and add the video feed to the Viewer based on the OSGART

Re: [osg-users] [build] Building a Simple Viewer

2009-08-03 Thread stefan nortd
Hi, I am pretty experienced with C++ but ran into the Config header file problem a while back as well. When you build OSG yourself it is created by the install phase not the build phase. So you run into this problem if you do one of the following: - forget to run the install phase - use the

Re: [osg-users] [build] Building a Simple Viewer

2009-07-30 Thread David Goering
Okay, I set up my OpenSceneGraph following this tutorial (which I found in these forums): http://www.skew-matrix.com/bb/viewtopic.php?f=8t=3 I now solved the problem turning off precompiled headers. Now I get this Error: C:\Praktikum\OpenSceneGraph\OSG\include\OpenThreads\Exports(17): fatal

Re: [osg-users] [build] Building a Simple Viewer

2009-07-30 Thread John B. Turpish
I know very little about OSG, which is why I'm a lurker - I'm learning. But I have fixed C++ compiler errors before. For the first one I would add C:\Praktikum\OpenSceneGraph\OSG\include to your include path. It's just a list of directories the compiler will try, in order, each time it looks

Re: [osg-users] [build] Building a Simple Viewer

2009-07-30 Thread David Goering
Hey, Thanks for the quick answer... C:\Praktikum\OpenSceneGraph\OSG\include is already in the include Path which is why I dont understand why it doesnt find it... [Question] I now deleted the config file I had copied, and added the file to the include Path so now

Re: [osg-users] [build] Building a Simple Viewer

2009-07-30 Thread J.P. Delport
Hi, did you build and install OpenSceneGraph? AFAIK the Config file is generated somewhere in the build process. jp David Goering wrote: Hey, Thanks for the quick answer... C:\Praktikum\OpenSceneGraph\OSG\include is already in the include Path which is why I dont understand why it doesnt

Re: [osg-users] [build] Building a Simple Viewer

2009-07-30 Thread David Goering
Hey, Yes I built and Installed OpenSceneGraph. When I enter in osgversion in a Command Prompt it shows: OpenSceneGraph Library 2.9.6 as I said I am pretty sure I followed the Install Instructions from the skewed Matrix Forum to set up your system to build OpenSceneGraph applications thuroughly.

Re: [osg-users] [build] Building a Simple Viewer

2009-07-30 Thread John B. Turpish
Firstly, I just want to be clear that I didn't mean to be condescending by explaining the include path. I just noticed you said you were fairly new to C++ and in my experience the build chain is one of the last things explained. When you say the RTTI didn't help the error, do you mean it didn't

Re: [osg-users] [build] Building a Simple Viewer

2009-07-30 Thread Pierre Bourdin (gmail)
Hi David, Le jeudi 30 juillet 2009 à 13:03 +, David Goering a écrit : Hey, Yes I built and Installed OpenSceneGraph. When I enter in osgversion in a Command Prompt it shows: OpenSceneGraph Library 2.9.6 as I said I am pretty sure I followed the Install Instructions from the skewed

Re: [osg-users] [build] Building a Simple Viewer

2009-07-30 Thread Don Leich
Hi David, It looks like you did an out of source build, where your cmake, object, and other files are put in a directory seperate from the source code. Since the OpenThreads/Config file created by cmake it is written to the build directory. I've defined my include path for my development work

[osg-users] [build] Building a Simple Viewer

2009-07-28 Thread David Goering
Hey, I am following the OSGART tutorial and am trying to write my first OSG / OSGART app. it says this is the Code for a simple empty Viewer Window: Code: #include osgViewer/Viewer #include osgViewer/ViewerEventHandlers int main(int argc, char* argv[]) { // Create a viewer osgViewer::Viewer

Re: [osg-users] [build] Building a Simple Viewer

2009-07-28 Thread Tomlinson, Gordon
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of David Goering Sent: Tuesday, July 28, 2009 8:35 AM To: osg-users@lists.openscenegraph.org Subject: [osg-users] [build] Building a Simple Viewer Hey, I am following the OSGART tutorial and am trying to write my first OSG / OSGART app. it says