FLTK logo

Re: [fltk.coredev] Restore CMake build w/ OPTION_USE_PANGO on macOS

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.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Restore CMake build w/ OPTION_USE_PANGO on macOS Albrecht Schlosser Feb 19, 2021  
 
On 2/19/21 10:02 AM Manolo wrote:

Under macOS, CMake-based build with OPTION_USE_PANGO (and
OPTION_APPLE_X11) turned on fails because variables such as
HAVE_LIB_PANGO and HAVE_LIB_PANGOCAIRO remain undefined.
That results from recent changes in CMake-related files.

Can you tell me which exact changes? Commits (hashes)?

I propose the attached small patch to fix that. It adds more paths
where to search for pango libs, necessary under macOS, but that shouldn't do harm on other backgrounds.

Albrecht: can you validate this proposal, please?

I'll take a look into it but I need a little help from you so I can test this myself.

That's not strictly necessary but I'd really like to be able to build with X11 on my own new MacBook (M1).

Can you tell me what I need to install to build with X11 and Pango on macOS? Note that I'm a complete noob on macOS.

So far I installed:

(1) the "Xcode (?) command line tools". When I entered 'git' I got a popup that I needed to install the command line tools and I answered "yes" / confirmed.

Update: later I installed a system update (Big Sur 11.2.1) and the command line tools were "gone". I had to reinstall. Is this normal?

(2) CMake: I downloaded the .dmg file from CMake and "installed" it into the Applications folder.

With this config I could build FLTK and all the demos (default: ARM). Then I changed the CMake option to build universal apps and built again: bingo, universal apps created.

I did not yet install Xcode, homebrew, or any other tools. I'd like to have a complete build environment for FLTK so I can test my modifications, particularly CMake but also configure / autoconf (missing now), X11 etc.

Should I install homebrew? (How?)

How do I install autoconf?

What else should I install and how do I do this, what do you recommend?

All help would be very much appreciated. TIA.

--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/f731d5c9-b772-b199-4899-242ab73031dc%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'.