Hello,

thank you for this tip !

I first tried to use FLTK 1.3 for the new editor, however, I got crashes in 
both Sol 10 and XP with the original editor.cxx file shipped.

FLTK 1.1.10 worked better, at least on Windows and Linux, but Solaris still 
restarts CDE when I try to enter text into the editor, and I have to login to 
CDE again by entering login and password.

I will try to use the compiler switches you mentioned on the Solaris edition 
this weekend, and will also try to upgrade from g++ 3.4.6 to 4.4.x.

Alex


>
> > I noticed that when compiling FLTK 1.1.10 in Solaris and Mac=20
> > OS X 10.5, the ./configure file issues THREADS=3DNO.
>
> Yes - this is a historical "feature" of the older fltk-1.1.x series,
> where the default was to assume the target did NOT support pthreads and
> font anti-aliasing and so on.
>
> I would *always* recommend that you do "./configure --enable-threads"
> with any fltk-1.1.x build on any recent host.
>
> Also, on the Solaris host, consider adding --enable-xft as well, to get
> better font support and text anti-aliasing.
>
> Note that for the fltk-1.3 series, the default is now to enable threads
> (and XFT where appropriate) on any platform that supports them.
>
> You could consider trying fltk-1.3 actually, it may have some features
> you find useful (utf8 text support for example, that sort of thing.)
>
>
> > I am curious whether this will have an impact on=20
> > reimplementing the editor.
>
> Well, that would depend - if you want to put any fltk elements directly
> in, or access them directly from, the subsidiary thread, then you need
> to build the fltk lib with thread support enabled.
>
> However, if the two thread communicate via some form of IPC that does
> not directly touch any fltk widgets (i.e. all the fltk interactions are
> contained fully within the main thread) then it actually does not matter
> so much, and the "stock" build without thread support will actually work
> OK.
>
>
>
> SELEX Galileo Ltd
> Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS=
> 14 3EL
> A company registered in England & Wales.  Company no. 02426132
> ********************************************************************
> This email and any attachments are confidential to the intended
> recipient and may also be privileged. If you are not the intended
> recipient please delete it from your system and notify the sender.
> You should not copy it or use it for any purpose nor disclose or
> distribute its contents to any other person.
> ********************************************************************
>

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to