Oh, well I hope I haven't spoke too soon,  I think I have done it...
The includes did not like to be separated by colons...
 
So the working cmd:
 
g++ OSGFTGL*.cpp `pkg-config 
 
OSGSystem --libs --cflags` -I/usr/include/OpenSG -I/usr/include/freetype2 
-I/usr/include/FTGL -shared -fPIC -o 
libOSGFTGL.so
 
Thanks for everyones help!

Andrew Dunk
[EMAIL PROTECTED]

On Wednesday 05 November 2008 10:34:01 Andrew Dunk wrote:
> Hi David
>
> Thanks for the reply
>
> I'm trying to follow your blog, but I cant get FTGLText to compile, the
> first error that comes up is:
> OSGFTGLFontBase.cpp:59:23: error: OSGConfig.h: No such file or directory
>
> here is what I am calling...
>
> g++
> OSGFTGL*.cpp -I/usr/include/OpenSG:/usr/include/freetype2:/usr/include/FTGL
> `pkg-config OSGSystem --libs --cflags` -shared -fPIC -o libOSGFTGL.so
>
>
> Andrew Dunk
> [EMAIL PROTECTED]
>
> On Wednesday 05 November 2008 08:53:10 [EMAIL PROTECTED] wrote:
> > Carsten Neumann wrote:
> > >   Hello Andrew,
> > >
> > > Andrew Dunk wrote:
> > >> Hi All,
> > >>
> > >> I thought I would give the deb repository of OpenSG a go and it works
> > >> lovely, but I have also been using some of the contributed bits of
> > >> OpenSG as well, most importantly the 3D text, which doesn't appear to
> > >> be part of the version in the repository.
> > >> Is it possible to just compile the contributed parts of OpenSG from
> > >> source and use repository for the rest?
> > >
> > > maybe, but I don't think anyone has tried that and I would be surprised
> > > if it was easy do to. My guess would be that you are much better off
> > > just compiling all of OpenSG - that way you also would not have to
> > > worry about possible incompatibilities between the sources used to
> > > build the packages and what you use to build the contrib libs.
> > >
> > >> If so could I be pointed in the right direction to do this?  Some
> > >> parts of linux still seem to allude me.
> > >
> > > There are some (very brief) build instructions on the website
> > > (<http://opensg.vrsource.org/trac/wiki/Building>); to see all the
> > > options use:
> > >
> > > ./configure --help (when using the configure/make build)
> > > ./scons -h         (when using the scons build)
> > >
> > >   Hope it helps,
> > >           Carsten
> >
> > It's actually really easy to build the contrib stuff and additional
> > libraries. The reason I've not included the contrib bits within the
> > Ubuntu packages is because of the licensing restrictions.
> >
> > Have a look at my blog post for enabling ply support, doing the other
> > bits is done the same way
> > http://davemorris.wordpress.com/2008/07/04/enabling-ply-support-for-opens
> >g- on-ubuntu-hardy/
> >
> > It's much nicer than building from source since that takes hours and can
> > still go wrong :)  It also makes it easier for you to distribute your
> > addon libraries this way.
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge Build the coolest Linux based applications with Moblin SDK & win
> great prizes Grand prize is a trip for two to an Open Source event anywhere
> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to