FLTK logo

STR #2814

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | SVN ⇄ GIT ]

STR #2814

Application:FLTK Library
Status:2 - Closed w/o Resolution
Priority:2 - Low, e.g. a documentation error or undocumented side-effect
Scope:3 - Applies to all machines and operating systems
Subsystem:Core Library
Summary:Status of fltk-1.3 compatability (as at r9297)
Version:3.0
Created By:ianmacarthur
Assigned To:ianmacarthur
Fix Version:3.0-feature
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 ianmacarthur
06:40 Mar 23, 2012
build.log
38k
 
 
#2 ianmacarthur
06:56 Mar 29, 2012
build-log
36k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#1 ianmacarthur
06:40 Mar 23, 2012
Attached is a build log showing the things that are not currently building in the fltk-1.3 compatability mode.
Obtained from building in the "test1" folder.

At this point, 50 out of 70 executables build.

Of the 20 that fail, 11 do so because fluid is almost, but not quite, generating the correct output when fed a fltk-1 fluid file.

The others fail due to issues with Fl_Bitmap, Fl_Image, Fl_Pixmap etc., for the most part, though there are a few other issues too.

See build.log (attached) for details.
 
 
#2 ianmacarthur
06:42 Mar 23, 2012
Note: log gathered on a Msys/mingw build on WinXP, for reference. I imagine that the results will be broadly similar on other hosts, but have not (yet) checked.  
 
#3 manolo
09:24 Mar 28, 2012
I believe r.9310 will fix the problems with class Fl_Bitmap.  
 
#4 ianmacarthur
06:55 Mar 29, 2012
Helps a bit - at least on WInXP i'm now building 54 targets.

We're getting there!

Log of the current errors attached, in case anyone has time to take a peak!
Cheers...
 
 
#5 manolo
10:50 Apr 01, 2012
I believe r.9314 should allow some more demos to compile & run.  
 
#6 manolo
02:02 Apr 02, 2012
All fluid-associated errors disappear if the fluid
program from the fluid1 directory (that is, FLTK 1.3 fluid compiled
using 1.3 compatibility) is used to compile keyboard, mandelbrot,
CubeView. Shouldn't this fluid version be used to test 1.3
compatibility? Does it make sense to use the 3.0 fluid for this purpose?
 
 
#7 ianmacarthur
07:01 Apr 02, 2012
Yup, probably...

If we use the "wrong" fluid (i.e. the fltk3 fluid) then, with the current build (r9315) we get 58 out of 70 exe's built.

Almost all the failures (11 out of 12 I think, counting by hand) are fluid-related, so if we use a "working" fluid we will be almost home and dry... at least so far as building the code goes.

Though, that said, there are actually a few "funnies" at runtime, where things are not quite right - but we can fix that once the builds are working.
Switching to a "good" fluid would be a big help in that case.
 
 
#8 ianmacarthur
07:24 Apr 02, 2012
Switching to using a "knwn good" fluid (the one from my fltk-1.3 build in this case) I now build 68 out of 70 exe's.

The hold-out (i.e. still broken) are:

- table.cxx

Compiling table.cxx...
In file included from ../include/FL/Fl_Table.H:46,
                 from ../include/FL/Fl_Table_Row.H:36,
                 from table.cxx:18:
../include/FL/Fl_Scroll.H: In member function `Fl_Scrollbar* Fl_Scroll::vertical_scrollbar()':
../include/FL/Fl_Scroll.H:101: error: expected primary-expression before '*' token
../include/FL/Fl_Scroll.H:104: error: expected primary-expression before '*' token
../include/FL/Fl_Scroll.H:104: error: base operand of `->' is not a pointer
../include/FL/Fl_Scroll.H:106: error: non-lvalue in assignment
../include/FL/Fl_Scroll.H:107: error: base operand of `->' is not a pointer
../include/FL/Fl_Scroll.H:108: error: base operand of `->' is not a pointer
../include/FL/Fl_Scroll.H:110: error: invalid conversion from `int' to `Fl_Scrollbar*'
../include/FL/Fl_Scroll.H: In member function `Fl_Scrollbar* Fl_Scroll::horizontal_scrollbar()':
../include/FL/Fl_Scroll.H:114: error: expected primary-expression before '*' token
../include/FL/Fl_Scroll.H:117: error: expected primary-expression before '*' token
../include/FL/Fl_Scroll.H:117: error: base operand of `->' is not a pointer
../include/FL/Fl_Scroll.H:119: error: non-lvalue in assignment
../include/FL/Fl_Scroll.H:120: error: base operand of `->' is not a pointer
../include/FL/Fl_Scroll.H:121: error: base operand of `->' is not a pointer
../include/FL/Fl_Scroll.H:123: error: invalid conversion from `int' to `Fl_Scrollbar*'
make: *** [table.o] Error 1


And

- shapedwindow (which is never going to work under fltk1 so is "missing" from the test1 folder anyway.)

So, if we can sort out what's wrong with table.cxx we are nearly there.
 
 
#9 ianmacarthur
02:45 Sep 05, 2014
Closed due to the passage of time and the fltk3 hiatus.  
     

Return to Bugs & Features ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.