FLTK logo

Re: [fltk.general] abi-version.h missing when not using "make install"

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 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: abi-version.h missing when not using "make install" Albrecht Schlosser Mar 07, 2021  
 
On 3/7/21 7:20 PM ken williams wrote:
Thank you Albrecht!
welcome.

FLTK 1.4 from Git  on Manjaro Linux with GCC 10.2.0

OK.

After reading the Readme files you mentioned here's what I tried:

cmake -D OPTION_ABI_VERSION:STRING=10401 -D 'CMAKE_BUILD_TYPE=Debug' ../..                      (as I have the tree like this: fltk-1.4/build/manjaro)

Since (a) FLTK 1.4 has not yet been released and (b) the first release will be 1.4.0 there's no need to specify an ABI version for FLTK 1.4 (yet). If at all it should be '10400' (but it doesn't matter).

make

And the result is:
- the FL folder from the fltk-1.4 folder still doesn't have abi-version.h file but has all the other .h files
- the FL folder from fltk-1.4/build/manjaro/ has only the abi-version.h file

Yep, that's correct.

As I wrote before you need to add the build folder to your compiler's "-I ..." switches (and the source folder as well, of course). So if you don't install you need to add two -I switches, but if you use the installed files there's only one -I (or none if you installed in the system standard directories).

I was expecting all the .h files to be in fltk-1.4/build/manjaro/FL or I'm getting this completely wrong?

Your expectation was wrong (why would we copy all these files around? There's no need to do that). There are the original header files in the FLTK source folder (fltk-1.4) and the generated abi-version.h in fltk-1.4/build/manjaro/FL, and that's it. Works fine.

Thanks again for your patience!

No problem.

But please don't top post here, we like context and reply intermixed as I did here (and trim irrelevant context). Thanks.

--
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/cfd86055-b19a-b571-47f7-ad39aba94082%40online.de.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

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'.