Re: [fltk.general] trying to emulate tab_nav(1)

GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: trying to emulate tab_nav(1) Ian MacArthur 12:57 May 05 top right image
 
On 5 May 2021, at 20:50, Dave Jordan wrote:
> 
> On Wed, May 5, 2021 at 1:26 PM Albrecht Schlosser <AlbrechtS.fltk@online.de> wrote:
> On 5/5/21 11:08 AM Dave Jordan wrote:
> 
> > notes->tab_nav(1);                                       // compiler 
> > error no such member (ABI version too old I think).
> 
> Others replied already to other details, hence I'm only picking the ABI 
> version issue.
> 
> Are you building FLTK yourself? If not, well, then probably yes, the 
> default ABI version is 10300 for FLTK 1.3.
> 
> However, if you build FLTK yourself you can use configure or CMake to 
> define another ABI version. tab_nav() needs 10304 at least.
> 
> See README.abi-version.txt and if you have questions, feel free to ask 
> here again.
> 
> I saw that #ifdef in the header -- thought, maybe I'll upgrade if that's the only answer.
> but i'd just as soon wait for 1.3.6 stable.


I think you may have missed the point of what Albrecht was saying; you need at least 1.3.4, but 1.3.4 or 1.3.5 (or the 1.3.6 rc) would work *if* you compile them with the enhanced ABI selected.

By default, all 1.3.x variants build with the baseline 1.3 ABI, so waiting for 1.3.6 will not change anything, it will still default to the 1.3 ABI.

If you want the extended ABI, you need to pull a recent variant, say 1.3.5, and then configure it with:

./configure --with-abiversion=10305

Then make as usual.

IIRC the equivalent cmake symbol is OPTION_ABI_VERSION=10306







-- 
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/330049BA-6F2E-406F-A008-E35B09A5C465%40gmail.com.
Direct Link to Message ]
 
bottom left image   bottom right image
Previous Message ]New Message | Reply ]Next Message ]
 
 

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