Wiki

Clone wiki

make_img_o_hdr / how2build_macosx

How to build on Mac OS X ?

You need to prepare these.

  • reference libraries from github.com
  • brew
  • Xcode

Reference libraries

places fl_imgtk and minIni

  • Let places fl_imgtk and minIni each same level of directory with make_img_o_hdr.
  • eg.
    projects\make_img_o_hdr
    projects\fl_imgtk
    projects\minIni
    

Configure & Make & Install fltk-1.3.4-5-ts

  • Make configure fltk-1.3.5-2-ts with ./configMac.sh.
  • configMac.sh may helps complete configure with Xcode llvm-gcc if you already installed HPC-gcc.
  • Then, just make.
  • When it completed, install fltk to your system with root privilege : sudo make install.

Make fl_imgtk.

  • Just move to cloned repository path to fl_imgtk.
  • And make it with llvm.

Move to make_img_o_hdr, then make it.

  • Just make with this : make -f Makefile.llvm
  • Done.

MacOS Big Sur

  • MacOS Big Sur and arm64 architecture may automatically enables universal binary architecture for these references:
    • fltk-1.3.5-2-ts
    • fl_imgtk
  • Please keep updates for these libraries for latest make_img_o_hdr.

Updated