Hi all,

I was a little bit to optimistic about that issue. There's a problem when 
mixing calls to getenv() and SetEnviromentVariable() on windows platforms.
I'm setting OSG_LOAD_LIBS at startup of my application but getenv() calls 
during osg::init() doesn't recognize the appropriate variables.
As I'm developing on Windows I have no access to setenv() function, which 
should work better. May be a solution would be to access environment variables 
on windows using GetEnvironmentVariable() function?! That may cause some code 
changes inside OpenSG1.8. Has anyone ever experienced similiar issues? Any 
alternative solutions?

Thanks & Best regards,
Michael 


-------- Original-Nachricht --------
> Datum: Fri, 10 Dec 2010 15:30:55 +0100
> Von: "Michael Raab" <michael-r...@gmx.de>
> An: opensg-users@lists.sourceforge.net
> Betreff: Re: [Opensg-users] OpenSG 1.8 - Add-on library types

> That worked.
> 
> Thanks,
> Michael
> 
> -------- Original-Nachricht --------
> > Datum: Fri, 10 Dec 2010 22:12:15 +0800
> > Von: "Gerrit Voß" <vo...@vossg.org>
> > An: "opensg-users@lists.sourceforge.net"
> <opensg-users@lists.sourceforge.net>
> > Betreff: Re: [Opensg-users] OpenSG 1.8 - Add-on library types
> 
> > 
> > Hi
> > 
> > On Dec 10, 2010, at 9:55 PM, "Michael Raab" <michael-r...@gmx.de> wrote:
> > 
> > > Hi,
> > > 
> > > I added "OSG_LOAD_LIBS" -> "OSGContrib.dll OSGExt.dll" as environment
> > variable. But my derived type is still unknown. Is the syntax above
> correct?
> > 
> > IIRC it should be OSGContrib;OSGExt without the dll suffix. The
> seperator
> > is the os dependent path seperator : for unix ; for windows.
> > 
> > kind regards 
> >    gerrit
> >
> ------------------------------------------------------------------------------
> > _______________________________________________
> > Opensg-users mailing list
> > Opensg-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/opensg-users
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Opensg-users mailing list
> Opensg-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensg-users

-- 
GRATIS! Movie-FLAT mit über 300 Videos. 
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome

------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to