FLTK logo

Re: [fltk/fltk] Building FLTK 1.3.6 in Mac failed (#236)

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

Re: [fltk/fltk] Building FLTK 1.3.6 in Mac failed (#236) erco77 May 26, 2021  
 

Assuming you're now using ./configure --with-archflags="-arch x86_64 -arch arm64, be sure to do a make clean; make after.

If that's not it, I'm not sure what the problem is, as that runs to completion and results in generating "fat" dual architecture executables, e.g.

$ file test/tree.app/Contents/MacOS/tree 
test/tree.app/Contents/MacOS/tree: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64:Mach-O 64-bit executable arm64]
test/tree.app/Contents/MacOS/tree (for architecture x86_64):	Mach-O 64-bit executable x86_64
test/tree.app/Contents/MacOS/tree (for architecture arm64):	Mach-O 64-bit executable arm64


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

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