Using IUP on Mac OS X

3.1k Views Asked by At

Are you guys suffered from this question when using IUP on MacOS?

Gizak-Pro:iup-3.6_MacOS107_bin Gizak$ ./iupview 
dyld: Library not loaded: /sw/lib/fontconfig2/lib/libfontconfig.1.dylib
  Referenced from: /Users/Gizak/Downloads/iup-3.6_MacOS107_bin/./iupview
  Reason: image not found
Trace/BPT trap: 5

So..How to make it work? That would be very helpful!

OS:Mac OS X 10.7.5 install lua5.1 by port IUP version:3.6

2

There are 2 best solutions below

0
On

The binary you're using is linking to a path provided by Fink, check the README.md in the download directory of IUP sf project. You could either:

  • install Fink and fullfill the dependencies

  • rewrite the dependency using install_name_tool

  • set DYLD_FALLBACK_LIBRARY_PATH to match dependencies installed by another source

0
On

That application depends on some libraries that are not installed on your system.

In the IUP documentation you will be able to find a guide how to run IUP on MacOSX. The relevant section is in IUP / System / Drivers / GTK.