Re: [osg-users] FLTK2 port of osgviewerFLTK

2009-03-27 Thread Robert Osfield
Hi Michael,

Does the code still work under FLTK1.x?

Has FLTK2 finally been officially release yet?

Robert.

2009/3/27 Michael Bosse' metis...@gmail.com

 As part of something I am working on in school, I needed to use an
 osgViwer::Viewer inside of an fltk2 GlWindow. I modified / updated the
 existing example osgviewerFLTK.cpp to work with the most recent svn
 version of fltk2. The code is included with this email, hopefully all
 that you should have to do is change the library dependencies in your
 build process and it should build without error.

 For the record, here is the string I needed to make it build:
  g++ osgviewerFLTK.cpp -losg -losgViewer -losgDB -losgGA -lfltk2
 -lfltk2_gl -lX11 -lXi -lXinerama -lXft -lpthread -lm -lXext
 -I/usr/local/include -o osgviewerFLTK

 If you want the changes, feel free to use them, they built okay on my
 machine with the latest svn version of fltk2.

 Michael  A Bosse'

 -
 The desire for safety stands against every great and noble
 enterprise. - Tacitus

 Those who would give up essential liberty to purchase a little
 temporary safety deserve neither liberty nor safety. - Benjamin
 Franklin

 ___
 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] FLTK2 port of osgviewerFLTK

2009-03-27 Thread Eric Sokolowsky
Robert Osfield wrote:
 Hi Michael,
 
 Does the code still work under FLTK1.x?
 
 Has FLTK2 finally been officially release yet?
 
 Robert.
 

FLTK 2 has not been officially released. It has been under development
for at least 4 years, with no end in sight. Version 1.1.x is stable and
the recommended version to use. The FLTK developers are working more on
their 1.3.x branch, which adds UTF8 and (at least until recently) a tree
browser widget. I would love to have the browser widget for my
application because I'm using an unsupported one from a third party at
present, so eventually I may move to 1.3.x, but even that is not yet API
-stable.

Originally I was also using FLTK 2 because of the built-in tree browser
widget and the fltk namespace, but it did not ever work well with my
application on the Mac, so I started over with FLTK 1.1.x. I do not
recommend having any dependency on FLTK 2.x because it is not stable.

For a school project FLTK2 is probably fine.

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


Re: [osg-users] FLTK2 port of osgviewerFLTK

2009-03-27 Thread Michael Bosse'
I submitted it mostly in case there was anyone out there who wanted to
use that example with fltk2, not really my intent to replace the
existing example. FLTK2 is (and probably will be for a long time) in
flux. For my purposes fltk2 is working correctly, but I wouldn't
recommend it for production purposes.

On Fri, Mar 27, 2009 at 8:26 AM, Eric Sokolowsky esok@gmail.com wrote:
 Robert Osfield wrote:
 Hi Michael,

 Does the code still work under FLTK1.x?

 Has FLTK2 finally been officially release yet?

 Robert.


 FLTK 2 has not been officially released. It has been under development
 for at least 4 years, with no end in sight. Version 1.1.x is stable and
 the recommended version to use. The FLTK developers are working more on
 their 1.3.x branch, which adds UTF8 and (at least until recently) a tree
 browser widget. I would love to have the browser widget for my
 application because I'm using an unsupported one from a third party at
 present, so eventually I may move to 1.3.x, but even that is not yet API
 -stable.

 Originally I was also using FLTK 2 because of the built-in tree browser
 widget and the fltk namespace, but it did not ever work well with my
 application on the Mac, so I started over with FLTK 1.1.x. I do not
 recommend having any dependency on FLTK 2.x because it is not stable.

 For a school project FLTK2 is probably fine.

 -Eric
 ___
 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


[osg-users] FLTK2 port of osgviewerFLTK

2009-03-26 Thread Michael Bosse'
As part of something I am working on in school, I needed to use an
osgViwer::Viewer inside of an fltk2 GlWindow. I modified / updated the
existing example osgviewerFLTK.cpp to work with the most recent svn
version of fltk2. The code is included with this email, hopefully all
that you should have to do is change the library dependencies in your
build process and it should build without error.

For the record, here is the string I needed to make it build:
 g++ osgviewerFLTK.cpp -losg -losgViewer -losgDB -losgGA -lfltk2 -lfltk2_gl 
 -lX11 -lXi -lXinerama -lXft -lpthread -lm -lXext -I/usr/local/include -o 
 osgviewerFLTK

If you want the changes, feel free to use them, they built okay on my
machine with the latest svn version of fltk2.

Michael  A Bosse'

-
The desire for safety stands against every great and noble
enterprise. - Tacitus

Those who would give up essential liberty to purchase a little
temporary safety deserve neither liberty nor safety. - Benjamin
Franklin


osgviewerFLTK.cpp.gz
Description: GNU Zip compressed data
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org