Re: [osg-users] osgEarth seg fault in libosg

2009-01-29 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Johan Nouvel wrote:
 Hello,
 
 I'm trying osgEarth but I've got trouble to run it.
 I compile without any trouble but when i do :
 
 osgviewer simple_cache.earth (or another .earth example)
 
 I've got seg fault. I'm in osg 2.6.1 but same thing appears in osg
 2.7.8, on Ubuntu 8.04 32 bits. And I'm up to date with osgEarth trunk.

Yes, I have seen the same thing. There seems to be some kind of breakage
on their trunk, the version from 26.1. was working fine.

Try the older revision using (all on one line):

svn co -r '{2009-01-26 12:35}' http://wush.net/svn/osgearth/trunk osgearth

That version works for me.

Regards,

Jan

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iD8DBQFJgZUan11XseNj94gRAi0tAJwI3umlSXZ7nfyO+v1EFt52HLz5vgCghLyg
Rkw2yWbx17vSoMqzN9ex8js=
=JNnl
-END PGP SIGNATURE-
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgEarth seg fault in libosg

2009-01-29 Thread Johan Nouvel

Hi Jan,
Thanks for your answer. Unfortunately, it doesn't work for me. I've got the 
same error

I will try to compile osg and osgEarth in debug mode in order to have more clues

Regards,
Johan

Jan Ciger a écrit :

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Try the older revision using (all on one line):

svn co -r '{2009-01-26 12:35}' http://wush.net/svn/osgearth/trunk osgearth

That version works for me.

Regards,

Jan


--
Johan Nouvel, RD Engineer
http://www.archivideo.com
tel : +33 (0)2 99 86 30 20
ARCHIVIDEO, 40 rue des Veyettes, 35000 RENNES, FRANCE
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgEarth seg fault in libosg

2009-01-29 Thread Jason Beverage
Hi Jan and Johan,

I just tried out the latest SVN branch in Ubuntu and did a sudo make install
and everything works fine for me.  I set my LD_LIBRARY_PATH to
/usr/local/lib where the osgearth_plugins are installed.

Can you try doing a clean build and delete any extraneous osgdb_osgearth*
libraries you might have laying about and let me know if that fixes the
issue?

Thanks!

Jason

On Thu, Jan 29, 2009 at 8:32 AM, Johan Nouvel openscenegr...@archivideo.com
 wrote:

 Hi Jan,
 Thanks for your answer. Unfortunately, it doesn't work for me. I've got the
 same error

 I will try to compile osg and osgEarth in debug mode in order to have more
 clues

 Regards,
 Johan

 Jan Ciger a écrit :

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


  Try the older revision using (all on one line):

 svn co -r '{2009-01-26 12:35}' http://wush.net/svn/osgearth/trunkosgearth

 That version works for me.

 Regards,

 Jan

  --
 Johan Nouvel, RD Engineer
 http://www.archivideo.com
 tel : +33 (0)2 99 86 30 20
 ARCHIVIDEO, 40 rue des Veyettes, 35000 RENNES, FRANCE
 ___
 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] osgEarth seg fault in libosg

2009-01-29 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jason Beverage wrote:
 Hi Jan and Johan,
 
 I just tried out the latest SVN branch in Ubuntu and did a sudo make
 install and everything works fine for me.  I set my LD_LIBRARY_PATH to
 /usr/local/lib where the osgearth_plugins are installed.

Hmm, Jason, for the sake of consistency, would it be possible to install
the plugins into the osgPlugins-x.y.z directory instead? It will be
consistent with the rest.

 Can you try doing a clean build and delete any extraneous
 osgdb_osgearth* libraries you might have laying about and let me know if
 that fixes the issue?

I can give it a shot once I am home later today.

Jan

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iD8DBQFJgb5Qn11XseNj94gRAsquAJ9Z/hS9iu8xYDpdXurAP8PvAN9BvACgsTpx
PxvKlbHQ6mdDIYZZpR3CHW0=
=8Lbz
-END PGP SIGNATURE-
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgEarth seg fault in libosg

2009-01-29 Thread Glenn Waldron
On Thu, Jan 29, 2009 at 9:33 AM, Jan Ciger jan.ci...@gmail.com wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Jason Beverage wrote:
  Hi Jan and Johan,
 
  I just tried out the latest SVN branch in Ubuntu and did a sudo make
  install and everything works fine for me.  I set my LD_LIBRARY_PATH to
  /usr/local/lib where the osgearth_plugins are installed.

 Hmm, Jason, for the sake of consistency, would it be possible to install
 the plugins into the osgPlugins-x.y.z directory instead? It will be
 consistent with the rest.


Look for a CMake option called INSTALL_TO_OSG_DIR




  Can you try doing a clean build and delete any extraneous
  osgdb_osgearth* libraries you might have laying about and let me know if
  that fixes the issue?

 I can give it a shot once I am home later today.

 Jan

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

 iD8DBQFJgb5Qn11XseNj94gRAsquAJ9Z/hS9iu8xYDpdXurAP8PvAN9BvACgsTpx
 PxvKlbHQ6mdDIYZZpR3CHW0=
 =8Lbz
 -END PGP SIGNATURE-
 ___
 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] osgEarth seg fault in libosg

2009-01-29 Thread Johan Nouvel

Hi Jason,

A run with gdb and osg in debug mode and I've found the trouble : bad 
characters in xml .earth file.
A call to osgEarth::XmlElement::getAttr ends with a seg fault

I have made a mess when I have downloaded example files :(

All run fine now, and with the latest svn version too.

Thanks to you and Jan,

Johan.

Jason Beverage a écrit :

Hi Jan and Johan,

I just tried out the latest SVN branch in Ubuntu and did a sudo make 
install and everything works fine for me.  I set my LD_LIBRARY_PATH to 
/usr/local/lib where the osgearth_plugins are installed.


Can you try doing a clean build and delete any extraneous 
osgdb_osgearth* libraries you might have laying about and let me know if 
that fixes the issue?


Thanks!

Jason



--
Johan Nouvel, RD Engineer
http://www.archivideo.com
tel : +33 (0)2 99 86 30 20
ARCHIVIDEO, 40 rue des Veyettes, 35000 RENNES, FRANCE
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgEarth seg fault in libosg

2009-01-29 Thread Jason Beverage
Hi Johan,

Glad to hear its working for you!

Jason

On Thu, Jan 29, 2009 at 10:03 AM, Johan Nouvel 
openscenegr...@archivideo.com wrote:

 Hi Jason,

 A run with gdb and osg in debug mode and I've found the trouble : bad
 characters in xml .earth file.
 A call to osgEarth::XmlElement::getAttr ends with a seg fault

 I have made a mess when I have downloaded example files :(

 All run fine now, and with the latest svn version too.

 Thanks to you and Jan,

 Johan.

 Jason Beverage a écrit :

 Hi Jan and Johan,

 I just tried out the latest SVN branch in Ubuntu and did a sudo make
 install and everything works fine for me.  I set my LD_LIBRARY_PATH to
 /usr/local/lib where the osgearth_plugins are installed.

 Can you try doing a clean build and delete any extraneous osgdb_osgearth*
 libraries you might have laying about and let me know if that fixes the
 issue?

 Thanks!

 Jason


 --
 Johan Nouvel, RD Engineer
 http://www.archivideo.com
 tel : +33 (0)2 99 86 30 20
 ARCHIVIDEO, 40 rue des Veyettes, 35000 RENNES, FRANCE
 ___
 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