Re: [osg-users] Help compiling example program

2012-03-06 Thread James Morgan
Hi,

I see. I guess I just assumed the libraries and headers were installed with 
'apt-get install openscenegraaph' because I wasn't sure what else 
openscenegraph might comprise...

Anyway, I have another problem now. Trying to compile the example program 
(using g++) gives me lots of undefined reference errors, however I see that my 
headers have been installed to /usr/include/ and my libraries to /usr/lib. ?

Thank you!

Cheers,
James

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





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


[osg-users] Help compiling example program

2012-03-02 Thread James Morgan
Hi,


Code:
# g++ BasicGeometry.cpp




Code:
BasicGeometry.cpp:1:20: error: osg/Node: No such file or directory
BasicGeometry.cpp:2:21: error: osg/Group: No such file or directory
BasicGeometry.cpp:3:21: error: osg/Geode: No such file or directory
BasicGeometry.cpp:4:24: error: osg/Geometry: No such file or directory
BasicGeometry.cpp:5:25: error: osg/Texture2D: No such file or directory
BasicGeometry.cpp:6:27: error: osgDB/ReadFile: No such file or directory
BasicGeometry.cpp:7:28: error: osgViewer/Viewer: No such file or directory
BasicGeometry.cpp:8:41: error: osg/PositionAttitudeTransform: No such file or 
directory
BasicGeometry.cpp:9:38: error: osgGA/TrackballManipulator: No such file or 
directory
BasicGeometry.cpp: In function ‘int main()’:
BasicGeometry.cpp:12: error: ‘osgViewer’ has not been declared
BasicGeometry.cpp:12: error: expected ‘;’ before ‘viewer’
BasicGeometry.cpp:13: error: ‘osg’ has not been declared

. . .



I figure I need to set up some environment variable, but I can find nothing on 
the documentation page about how to do this. Help please, thanks.

Cheers,
James

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





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


Re: [osg-users] Help compiling example program

2012-03-02 Thread James Morgan
Hi,

Sorry guys, I know you're probably explaining things perfectly clearly and it's 
just me. But this is all jargon to me.

Martin Naylor: That link is a guide to building what under Unices? OSG, or 
applications that use it? I installed using apt; this means I can skip the part 
about dependencies right? This link doesn't say what each of these steps is 
doing and why one would need it. I'm sure it's obvious you most of you, but my 
mind wasn't wired for this kind of stuff. Also, this guide is about make, not 
g++.

I ran


Code:
# dpkg -L openscenegraph



and my output was a bunch of stuff in the /usr/bin/ directory, a bunch of stuff 
in the /usr/share/man/man1 directory, and some stuff in the 
/usr/share/openscenegraph/ directory. Doing


Code:
ls /usr/lib | grep osg



or


Code:
ls /usr/lib64 | grep osg



or


Code:
ls /usr/include/ | grep osg



yields nothing. Again, I installed OSG from using apt-get. Please help. I don't 
know exactly what I'm asking for because I don't know exacctly what I need at 
this point. Thanks for your patience.

Thank you!

Cheers,
James

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





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


Re: [osg-users] help running examples

2011-10-22 Thread James Morgan
Thank you!

Cheers,
James

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





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


[osg-users] help running examples

2011-10-12 Thread James Morgan
Hi. Noob here. I'm not sure if this is intended to be a help forum, but I can't 
find one so I'm posting here. I just installed the OSG binaries from the Debian 
repository, and I'm trying to follow the instructions for running the examples, 
but


 Unix, bash: export OSG_FILE_PATH=/home/myaccount/MyData/OpenSceneGraph-Data


...this directory doesn't exist. I also don't understand what exactly this step 
does. If someone could give me a bit more explanation, I'd greatly appreciate 
it.

Cheers,
James

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





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