Re: [osg-users] osgWidget 0.1.8 (pre-merge)

2008-05-23 Thread Валерий Быков
Hi, Jeremy. I've tried to compile your code on my Gentoo just for now, and I have linker errors while building examples: Linking CXX executable osgwidgetlabel /var/tmp/portage/media-libs/osgwidget-/work/osgwidget-/build/libosgWidget.so: undefined reference to `forkpty'

Re: [osg-users] osgWidget 0.1.8 (pre-merge)

2008-05-14 Thread Thibault Genessay
Hi Jeremy Window* parent = wl-back()-getParent(); // wl is declared as 'const WidgetList* wl' Was this the only line you needed to change? Were there others? :) If it had only been as easy as modifying 1 line, I would have sent you a patch rather than complaining :) I could not get the

Re: [osg-users] osgWidget 0.1.8 (pre-merge)

2008-05-14 Thread Jeremy Moles
On Wed, 2008-05-14 at 08:57 +0200, Thibault Genessay wrote: Hi Jeremy Window* parent = wl-back()-getParent(); // wl is declared as 'const WidgetList* wl' Was this the only line you needed to change? Were there others? :) If it had only been as easy as modifying 1 line, I would

Re: [osg-users] osgWidget 0.1.8 (pre-merge)

2008-05-14 Thread Thibault Genessay
Jeremy, Just to keep you informed: the code compiles well for the 0.1.7 tag on both machines, but fails for both on the trunk. The prototype for ref_ptr::get looks like this: T* get() const { return _ptr; } After reviewing the 0.1.7 code, this makes perfect sense. It is legal to get

Re: [osg-users] osgWidget 0.1.8 (pre-merge)

2008-05-14 Thread Robert Osfield
Hi Thibault, On Wed, May 14, 2008 at 4:02 PM, Thibault Genessay [EMAIL PROTECTED] wrote: I really don't know why it is this way - I had actually never noticed that ref_ptr had this feature. It makes more sense to me how the observer_ptr is implemented because ref_ptr and observer_ptr are just

Re: [osg-users] osgWidget 0.1.8 (pre-merge)

2008-05-14 Thread Thibault Genessay
Hi Robert, Jeremy Okay I have spotted the alien and the FBI. I was using 2.3.4 and updated to 2.4 - how I could forget that the version of the OSG I was using was something to investigate is beyond me. The observer_ptr is now defined correctly and all my errors automagically went away. I am sorry

Re: [osg-users] osgWidget 0.1.8 (pre-merge)

2008-05-13 Thread Mario Valle
Thanks Jeremy for your work! Trying osgwidgetinput I receive the following warnings on Linux with latest SVN. At least one of them could be stopped if you could provide the missing font Calibri1.ttf . Is it possible? Ciao! mario isone

Re: [osg-users] osgWidget 0.1.8 (pre-merge)

2008-05-13 Thread Jeremy Moles
On Tue, 2008-05-13 at 17:26 +0200, Mario Valle wrote: Thanks Jeremy for your work! Trying osgwidgetinput I receive the following warnings on Linux with latest SVN. At least one of them could be stopped if you could provide the missing font Calibri1.ttf . Is it possible? Ciao!

Re: [osg-users] osgWidget 0.1.8 (pre-merge)

2008-05-13 Thread Thibault Genessay
Hi Jeremy I've just tried to compile your code using Visual Studio 9.0 and got lots of errors that are almost all related to 'const' usage. I am sometime suspicious about Redmond compilers so I also tried to compile the code on Debian 4.0, and the errors are (hopefully) similar. Here is the

Re: [osg-users] osgWidget 0.1.8 (pre-merge)

2008-05-13 Thread Jeremy Moles
On Tue, 2008-05-13 at 17:49 +0200, Thibault Genessay wrote: Hi Jeremy I've just tried to compile your code using Visual Studio 9.0 and got lots of errors that are almost all related to 'const' usage. I am sometime suspicious about Redmond compilers so I also tried to compile the code on

Re: [osg-users] osgWidget 0.1.8 (pre-merge)

2008-05-13 Thread Thibault Genessay
Hi Jeremy On Tue, May 13, 2008 at 6:16 PM, Jeremy Moles [EMAIL PROTECTED] wrote: On Tue, 2008-05-13 at 17:49 +0200, Thibault Genessay wrote: Hi Jeremy I've just tried to compile your code using Visual Studio 9.0 and got lots of errors that are almost all related to 'const' usage.

Re: [osg-users] osgWidget 0.1.8 (pre-merge)

2008-05-13 Thread Mike Weiblen
hi, fwiw, there are at least two high-quality fonts intended as freely-distributable replacements for common MS burdened fonts. Give them a shot, see how they work for you: http://en.wikipedia.org/wiki/Liberation_fonts http://en.wikipedia.org/wiki/Bitstream_Vera seems these might be a great

Re: [osg-users] osgWidget 0.1.8 (pre-merge)

2008-05-13 Thread Jean-Sébastien Guay
Hello Jeremy, I'd be real interested to know what version of GCC is complaining about this. I don't see this error on Fedora 8/GCC4.1, and I've never had an e-mail about it or antyhing. The code, as far as I can tell, is perfectly valid C++. Perhaps I can come up with a workaround for this, as

Re: [osg-users] osgWidget 0.1.8 (pre-merge)

2008-05-13 Thread Art Tevs
Hi Jeremy, I wanted to try out your lib, but I have problems regarding to the cmake build system. First problem is, if you have osg installed not under standard directory. I have then manually to specify the cmake_include and cmake_lib paths. maybe you could take a look into CMake build system

Re: [osg-users] osgWidget 0.1.8 (pre-merge)

2008-05-13 Thread Jeremy Moles
On Tue, 2008-05-13 at 20:28 +0200, Art Tevs wrote: Hi Jeremy, I wanted to try out your lib, but I have problems regarding to the cmake build system. First problem is, if you have osg installed not under standard directory. I have then manually to specify the cmake_include and cmake_lib

Re: [osg-users] osgWidget 0.1.8 (pre-merge)

2008-05-13 Thread Jeremy Moles
On Tue, 2008-05-13 at 18:44 +0200, Thibault Genessay wrote: Hi Jeremy On Tue, May 13, 2008 at 6:16 PM, Jeremy Moles [EMAIL PROTECTED] wrote: On Tue, 2008-05-13 at 17:49 +0200, Thibault Genessay wrote: Hi Jeremy I've just tried to compile your code using Visual Studio 9.0