Re: [osg-users] Compiling examples using osg.

2007-09-12 Thread James Dickson
SVN update fixed the problem. :)

On 9/12/07, Robert Osfield <[EMAIL PROTECTED]> wrote:
>
> Hi James,
>
> If you are using the SVN version of the OSG could you please do an svn
> update and report back.
>
> On 9/12/07, James Dickson <[EMAIL PROTECTED]> wrote:
> > I have been trying to compile the examples and found that under vs2005 I
> get
> > the following error when I just include osgViewer:
> >
> > e:\openscenegraph\include\osg\math(199) : error C2668:
> > 'log' : ambiguous call to overloaded function
> > c:\program files\microsoft visual studio
> 8\vc\include\math.h(567):
> > could be 'long double log(long double)'
> > c:\program files\microsoft visual studio
> 8\vc\include\math.h(519):
> > or 'float log(float)'
> > c:\program files\microsoft visual studio
> 8\vc\include\math.h(121):
> > or 'double log(double)'
> > while trying to match the argument list '(int)'
> >
> > --
> > James Dickson
> > ___
> > 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
>



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


Re: [osg-users] Compiling examples using osg.

2007-09-12 Thread Paul Martz
If you're using the current SVN head, then please see the thread: "Please
test SVN version of OpenSceneGraph". Issues such as these are being
discussed there.
   -Paul
 


  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of James
Dickson
Sent: Wednesday, September 12, 2007 11:00 AM
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] Compiling examples using osg.


I have been trying to compile the examples and found that under vs2005 I get
the following error when I just include osgViewer:

e:\openscenegraph\include\osg\math(199) : error C2668: 'log' : ambiguous
call to overloaded function 
c:\program files\microsoft visual studio 8\vc\include\math.h(567):
could be 'long double log(long double)'
c:\program files\microsoft visual studio 8\vc\include\math.h(519):
or 'float log(float)' 
c:\program files\microsoft visual studio 8\vc\include\math.h(121):
or 'double log(double)'
while trying to match the argument list '(int)'

-- 
James Dickson 

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


Re: [osg-users] Compiling examples using osg.

2007-09-12 Thread Robert Osfield
Hi James,

If you are using the SVN version of the OSG could you please do an svn
update and report back.

On 9/12/07, James Dickson <[EMAIL PROTECTED]> wrote:
> I have been trying to compile the examples and found that under vs2005 I get
> the following error when I just include osgViewer:
>
> e:\openscenegraph\include\osg\math(199) : error C2668:
> 'log' : ambiguous call to overloaded function
> c:\program files\microsoft visual studio 8\vc\include\math.h(567):
> could be 'long double log(long double)'
> c:\program files\microsoft visual studio 8\vc\include\math.h(519):
> or 'float log(float)'
> c:\program files\microsoft visual studio 8\vc\include\math.h(121):
> or 'double log(double)'
> while trying to match the argument list '(int)'
>
> --
> James Dickson
> ___
> 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] compiling examples

2007-08-03 Thread Peter Gebauer
Ok, it's odd. Must be IceWM that is not behaving correctly. Thanks for 
testing!

/Peter


On 2007-08-03 (Fri) 17:24, Robert Osfield wrote:
> Hi Peter,
> 
> On 8/3/07, Peter Gebauer <[EMAIL PROTECTED]> wrote:
> > Yes, I know it's a focus problem, just can't figure out what. There's no
> > problem when using FLTK, GLUT or SDL.
> 
> I have just tried osgviewer in various ways and focus always returns
> to the console that I fired up osgviewer from, doesn't matter if I
> open up full screen, or toggle back to window, or run across two
> separate screens.
> 
> Robert.
> ___
> 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] compiling examples

2007-08-03 Thread Robert Osfield
Hi Peter,

On 8/3/07, Peter Gebauer <[EMAIL PROTECTED]> wrote:
> Yes, I know it's a focus problem, just can't figure out what. There's no
> problem when using FLTK, GLUT or SDL.

I have just tried osgviewer in various ways and focus always returns
to the console that I fired up osgviewer from, doesn't matter if I
open up full screen, or toggle back to window, or run across two
separate screens.

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


Re: [osg-users] compiling examples

2007-08-03 Thread Peter Gebauer
Hi again, Robert!

Yes, I know it's a focus problem, just can't figure out what. There's no 
problem when using FLTK, GLUT or SDL.

/Peter


On 2007-08-03 (Fri) 13:59, Robert Osfield wrote:
> Hi Peter,
> 
> On 8/3/07, Peter Gebauer <[EMAIL PROTECTED]> wrote:
> > The mouse is working, the keyboard does not. To make the keyboard work again
> > I have to click on the border of a window.
> 
> This is just a focus issue, its not that keyboard isn't working.
> 
> > Might be the WM, although, only OSG apps hit this problem.
> 
> 
> Have you tried examples like osgviewerFLTK, osgviewerQT to see if they
> have the same problem.
> 
> Robert.
> ___
> 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] compiling examples

2007-08-03 Thread Robert Osfield
Hi Peter,

On 8/3/07, Peter Gebauer <[EMAIL PROTECTED]> wrote:
> The mouse is working, the keyboard does not. To make the keyboard work again
> I have to click on the border of a window.

This is just a focus issue, its not that keyboard isn't working.

> Might be the WM, although, only OSG apps hit this problem.


Have you tried examples like osgviewerFLTK, osgviewerQT to see if they
have the same problem.

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


Re: [osg-users] compiling examples

2007-08-03 Thread Peter Gebauer
Hello.

The mouse is working, the keyboard does not. To make the keyboard work again 
I have to click on the border of a window.

Might be the WM, although, only OSG apps hit this problem.

I'm currently using Debian testing, xorg 7.1.0-13 IceWM 1.2.28 and the 
nvidia driver 100.14.11.

/Peter


On 2007-08-03 (Fri) 11:51, Robert Osfield wrote:
> Hi Peter,
> 
> On 8/2/07, Peter Gebauer <[EMAIL PROTECTED]> wrote:
> > I have a similar problem where it seems that the OSG apps refuse to give
> > back keyboard control to the window manager, could you be experiencing
> > something simlar? Does mouse control still work after quiting?
> 
> osgViewer's GraphicsWindowX11 doesn't take control from the window
> manager, all it does is set the keyboard focus to the window that it
> creates.  If things like the mouse isn't working after quitting then
> it sounds very much like your window manager is broken.
> 
> What OS/Window Manager/OpenGL driver version are you using?
> 
> Robert.
> ___
> 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] compiling examples

2007-08-03 Thread Robert Osfield
Hi Peter,

On 8/2/07, Peter Gebauer <[EMAIL PROTECTED]> wrote:
> I have a similar problem where it seems that the OSG apps refuse to give
> back keyboard control to the window manager, could you be experiencing
> something simlar? Does mouse control still work after quiting?

osgViewer's GraphicsWindowX11 doesn't take control from the window
manager, all it does is set the keyboard focus to the window that it
creates.  If things like the mouse isn't working after quitting then
it sounds very much like your window manager is broken.

What OS/Window Manager/OpenGL driver version are you using?

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


Re: [osg-users] compiling examples

2007-08-02 Thread Dave Pugmire
It would give back keyboard, provided that I didn't run in full screen 
mode, and could ^C it at the xterm to kill it. In full screen, I had to 
give it the vulcan death grip to kill the X server.

However, I just installed the latest NVIDIA driver, and all works now.

Thanks all for your help. I hope that as I learn, I can contribute back. 
So far, OSG seems very nice.

-dave


Peter Gebauer wrote:
> Hello there!
> 
> I have a similar problem where it seems that the OSG apps refuse to give 
> back keyboard control to the window manager, could you be experiencing 
> something simlar? Does mouse control still work after quiting?
> 
> /Peter
> 
> 
> On 2007-08-02 (Thu) 09:51, Dave Pugmire wrote:
>> Thanks.
>> That did it.
>>
>> Having an odd problem now. When I press  to kill the app, it locks 
>> my computer. Is there some other setting I missed?
>> As a work around I have OSG_WINDOW set so that it doesn't run in full 
>> screen mode so I can kill it from the xterm.
>>
>> Thanks,
>> -dave
>>
>>
>> Robert Osfield wrote:
>>> Hi Dave,
>>>
>>> The examples aren't build by default  - there are nearly a hundred of
>>> them so its good to keep build time down for those who don't need
>>> them.
>>>
>>> The examples can be built by running:
>>>cd OpenSceneGraph
>>>ccmake .
>>>
>>> And then in console GUI presented toggling on the BUILD_OSG_EXAMPLES
>>> to ON, the press 'c' to configure, then 'g' to generate the final
>>> build system.
>>>
>>> Then just run make as sual.
>>>
>>> Robert.
>>>
>>> On 8/1/07, Dave Pugmire <[EMAIL PROTECTED]> wrote:
 Hi,
 Newbie here.
 Just installed the 2.0 on linux, did a make:

 ./configure
 make

 But it didn't make the examples.
 cd examples

 cmake .

 gave me a 'Unknown Cmake command "SETUP_EXAMPLE"'

 I'm not finding anything in particular about building the examples.
 Should it happen automatically when building the OSG source?
 Not seeing anything in the make files either

 Thanks for your help-
 -dave

 ___
 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
>> ___
>> 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

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


Re: [osg-users] compiling examples

2007-08-02 Thread Peter Gebauer
Hello there!

I have a similar problem where it seems that the OSG apps refuse to give 
back keyboard control to the window manager, could you be experiencing 
something simlar? Does mouse control still work after quiting?

/Peter


On 2007-08-02 (Thu) 09:51, Dave Pugmire wrote:
> Thanks.
> That did it.
> 
> Having an odd problem now. When I press  to kill the app, it locks 
> my computer. Is there some other setting I missed?
> As a work around I have OSG_WINDOW set so that it doesn't run in full 
> screen mode so I can kill it from the xterm.
> 
> Thanks,
> -dave
> 
> 
> Robert Osfield wrote:
> > Hi Dave,
> > 
> > The examples aren't build by default  - there are nearly a hundred of
> > them so its good to keep build time down for those who don't need
> > them.
> > 
> > The examples can be built by running:
> >cd OpenSceneGraph
> >ccmake .
> > 
> > And then in console GUI presented toggling on the BUILD_OSG_EXAMPLES
> > to ON, the press 'c' to configure, then 'g' to generate the final
> > build system.
> > 
> > Then just run make as sual.
> > 
> > Robert.
> > 
> > On 8/1/07, Dave Pugmire <[EMAIL PROTECTED]> wrote:
> >> Hi,
> >> Newbie here.
> >> Just installed the 2.0 on linux, did a make:
> >>
> >> ./configure
> >> make
> >>
> >> But it didn't make the examples.
> >> cd examples
> >>
> >> cmake .
> >>
> >> gave me a 'Unknown Cmake command "SETUP_EXAMPLE"'
> >>
> >> I'm not finding anything in particular about building the examples.
> >> Should it happen automatically when building the OSG source?
> >> Not seeing anything in the make files either
> >>
> >> Thanks for your help-
> >> -dave
> >>
> >> ___
> >> 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
> 
> ___
> 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] compiling examples

2007-08-02 Thread Robert Osfield
Hi Dave,

On 8/2/07, Dave Pugmire <[EMAIL PROTECTED]> wrote:
> I have redhat, linux 2.6.9-55.ELsmp, AMD 64Opteron, Nv Quadro Fx 4500,
> driver version 1.0-9755. I'll see if there is a newer driver.

I have "OpenGL version string: 2.1.1 NVIDIA 100.14.09" installed.

> I did a rebuild and noticed that osgviewerGLUT didn't build, undefined
> XmuLookupStandardColormap

The osgviewerGLUT example doesn't reference anything other than GLUT
so the above error suggests a link issue with glut itself.  What glut
version do you have?

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


Re: [osg-users] compiling examples

2007-08-02 Thread Dave Pugmire
I have redhat, linux 2.6.9-55.ELsmp, AMD 64Opteron, Nv Quadro Fx 4500, 
driver version 1.0-9755. I'll see if there is a newer driver.

I did a rebuild and noticed that osgviewerGLUT didn't build, undefined 
XmuLookupStandardColormap

Robert Osfield wrote:
> Hi Dave,
> 
> I develop almost exclusively under Linux and don't see any problems on
> exit.  I doubt you are missing any setting, but rather would suspect a
> problem with the OpenGL driver or GLX/X11/Window manager.
> 
> What Linux distribution/hardware/drivers are you using?
> 
> I'm currently using Suse 10.0, Dual core Althon 64, Dual 7800GT.
> 
> Robert.
> 
> On 8/2/07, Dave Pugmire <[EMAIL PROTECTED]> wrote:
>> Thanks.
>> That did it.
>>
>> Having an odd problem now. When I press  to kill the app, it locks
>> my computer. Is there some other setting I missed?
>> As a work around I have OSG_WINDOW set so that it doesn't run in full
>> screen mode so I can kill it from the xterm.
>>
>> Thanks,
>> -dave
>>
>>
>> Robert Osfield wrote:
>>> Hi Dave,
>>>
>>> The examples aren't build by default  - there are nearly a hundred of
>>> them so its good to keep build time down for those who don't need
>>> them.
>>>
>>> The examples can be built by running:
>>>cd OpenSceneGraph
>>>ccmake .
>>>
>>> And then in console GUI presented toggling on the BUILD_OSG_EXAMPLES
>>> to ON, the press 'c' to configure, then 'g' to generate the final
>>> build system.
>>>
>>> Then just run make as sual.
>>>
>>> Robert.
>>>
>>> On 8/1/07, Dave Pugmire <[EMAIL PROTECTED]> wrote:
 Hi,
 Newbie here.
 Just installed the 2.0 on linux, did a make:

 ./configure
 make

 But it didn't make the examples.
 cd examples

 cmake .

 gave me a 'Unknown Cmake command "SETUP_EXAMPLE"'

 I'm not finding anything in particular about building the examples.
 Should it happen automatically when building the OSG source?
 Not seeing anything in the make files either

 Thanks for your help-
 -dave

 ___
 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
>> ___
>> 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

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


Re: [osg-users] compiling examples

2007-08-02 Thread Robert Osfield
Hi Dave,

I develop almost exclusively under Linux and don't see any problems on
exit.  I doubt you are missing any setting, but rather would suspect a
problem with the OpenGL driver or GLX/X11/Window manager.

What Linux distribution/hardware/drivers are you using?

I'm currently using Suse 10.0, Dual core Althon 64, Dual 7800GT.

Robert.

On 8/2/07, Dave Pugmire <[EMAIL PROTECTED]> wrote:
> Thanks.
> That did it.
>
> Having an odd problem now. When I press  to kill the app, it locks
> my computer. Is there some other setting I missed?
> As a work around I have OSG_WINDOW set so that it doesn't run in full
> screen mode so I can kill it from the xterm.
>
> Thanks,
> -dave
>
>
> Robert Osfield wrote:
> > Hi Dave,
> >
> > The examples aren't build by default  - there are nearly a hundred of
> > them so its good to keep build time down for those who don't need
> > them.
> >
> > The examples can be built by running:
> >cd OpenSceneGraph
> >ccmake .
> >
> > And then in console GUI presented toggling on the BUILD_OSG_EXAMPLES
> > to ON, the press 'c' to configure, then 'g' to generate the final
> > build system.
> >
> > Then just run make as sual.
> >
> > Robert.
> >
> > On 8/1/07, Dave Pugmire <[EMAIL PROTECTED]> wrote:
> >> Hi,
> >> Newbie here.
> >> Just installed the 2.0 on linux, did a make:
> >>
> >> ./configure
> >> make
> >>
> >> But it didn't make the examples.
> >> cd examples
> >>
> >> cmake .
> >>
> >> gave me a 'Unknown Cmake command "SETUP_EXAMPLE"'
> >>
> >> I'm not finding anything in particular about building the examples.
> >> Should it happen automatically when building the OSG source?
> >> Not seeing anything in the make files either
> >>
> >> Thanks for your help-
> >> -dave
> >>
> >> ___
> >> 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
>
> ___
> 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] compiling examples

2007-08-02 Thread Dave Pugmire
Thanks.
That did it.

Having an odd problem now. When I press  to kill the app, it locks 
my computer. Is there some other setting I missed?
As a work around I have OSG_WINDOW set so that it doesn't run in full 
screen mode so I can kill it from the xterm.

Thanks,
-dave


Robert Osfield wrote:
> Hi Dave,
> 
> The examples aren't build by default  - there are nearly a hundred of
> them so its good to keep build time down for those who don't need
> them.
> 
> The examples can be built by running:
>cd OpenSceneGraph
>ccmake .
> 
> And then in console GUI presented toggling on the BUILD_OSG_EXAMPLES
> to ON, the press 'c' to configure, then 'g' to generate the final
> build system.
> 
> Then just run make as sual.
> 
> Robert.
> 
> On 8/1/07, Dave Pugmire <[EMAIL PROTECTED]> wrote:
>> Hi,
>> Newbie here.
>> Just installed the 2.0 on linux, did a make:
>>
>> ./configure
>> make
>>
>> But it didn't make the examples.
>> cd examples
>>
>> cmake .
>>
>> gave me a 'Unknown Cmake command "SETUP_EXAMPLE"'
>>
>> I'm not finding anything in particular about building the examples.
>> Should it happen automatically when building the OSG source?
>> Not seeing anything in the make files either
>>
>> Thanks for your help-
>> -dave
>>
>> ___
>> 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

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


Re: [osg-users] compiling examples

2007-08-02 Thread Robert Osfield
Hi Felix,

On 8/2/07, Felix Bwire <[EMAIL PROTECTED]> wrote:
> whenever I try to run an example or code, I get the warning that "could not
> find plugins to read objects from file." Then it also says "osgviewer: no
> data loaded." How do I go about it, it seems there is something I didn't do
> right.

You need install the OSG apps/libraries, or set your paths up to find them.

With the data you also need to download OpenSceneGaph-Data and point
the OSG_FILE_PATH env var at this directory.

This is explain in the docs on the website.

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


Re: [osg-users] compiling examples

2007-08-02 Thread Felix Bwire
Hi there,

whenever I try to run an example or code, I get the warning that "could not
find plugins to read objects from file." Then it also says "osgviewer: no
data loaded." How do I go about it, it seems there is something I didn't do
right.

Thanx,
Felix

On 8/2/07, Robert Osfield <[EMAIL PROTECTED]> wrote:
>
> Hi Dave,
>
> The examples aren't build by default  - there are nearly a hundred of
> them so its good to keep build time down for those who don't need
> them.
>
> The examples can be built by running:
>cd OpenSceneGraph
>ccmake .
>
> And then in console GUI presented toggling on the BUILD_OSG_EXAMPLES
> to ON, the press 'c' to configure, then 'g' to generate the final
> build system.
>
> Then just run make as sual.
>
> Robert.
>
> On 8/1/07, Dave Pugmire <[EMAIL PROTECTED]> wrote:
> > Hi,
> > Newbie here.
> > Just installed the 2.0 on linux, did a make:
> >
> > ./configure
> > make
> >
> > But it didn't make the examples.
> > cd examples
> >
> > cmake .
> >
> > gave me a 'Unknown Cmake command "SETUP_EXAMPLE"'
> >
> > I'm not finding anything in particular about building the examples.
> > Should it happen automatically when building the OSG source?
> > Not seeing anything in the make files either
> >
> > Thanks for your help-
> > -dave
> >
> > ___
> > 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
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] compiling examples

2007-08-02 Thread Robert Osfield
Hi Dave,

The examples aren't build by default  - there are nearly a hundred of
them so its good to keep build time down for those who don't need
them.

The examples can be built by running:
   cd OpenSceneGraph
   ccmake .

And then in console GUI presented toggling on the BUILD_OSG_EXAMPLES
to ON, the press 'c' to configure, then 'g' to generate the final
build system.

Then just run make as sual.

Robert.

On 8/1/07, Dave Pugmire <[EMAIL PROTECTED]> wrote:
> Hi,
> Newbie here.
> Just installed the 2.0 on linux, did a make:
>
> ./configure
> make
>
> But it didn't make the examples.
> cd examples
>
> cmake .
>
> gave me a 'Unknown Cmake command "SETUP_EXAMPLE"'
>
> I'm not finding anything in particular about building the examples.
> Should it happen automatically when building the OSG source?
> Not seeing anything in the make files either
>
> Thanks for your help-
> -dave
>
> ___
> 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