linking error with libforge or libfontconfig, first installation on mac os x 10.10.5

102 views
Skip to first unread message

Raphael Attie

unread,
Jan 16, 2016, 7:13:33 AM1/16/16
to ArrayFire Users
Hi, 

I am a new user of ArrayFire. I have a macbook pro retina 13" with Iris graphics, Yosemite 10.10.5. I've installed ArrayFire using recommended installer, Homebrew was already installed and up-to-date before running the installer. 
I followed the steps for testing ArrayFire first installation in XCode, using openCL implementation, at http://www.arrayfire.com/docs/using_on_osx.htm
It compiles but at runtime, I get this error: 

dyld: Library not loaded: /usr/local/lib/libfontconfig.1.dylib

  Referenced from: /usr/local/lib/libforge.dylib

  Reason: image not found


Any idea what I'm missing?

Here I tried with Xcode, but ultimately I will use ArrayFire in Qt 5 for my image processing project at https://github.com/raphaelattie/QtFits.git



Thanks


Raphael

Raphael Attie

unread,
Jan 16, 2016, 9:51:46 AM1/16/16
to ArrayFire Users
Compiling myself with the instructions there , github source, and installing dependencies with homebrew, compile with cmake worked around this. In the process, homebrew revealed a problem with an unlinked Glew install. Fixed it by changing ownership in /usr/local back to default (with my username). Maybe that was what caused an issue with the default installer.  

yassine benabbas

unread,
Mar 5, 2016, 6:11:07 AM3/5/16
to ArrayFire Users
Hi,
I am having the same problem as you ^^. I installed Array file 3.1.3 package.


Le samedi 16 janvier 2016 13:13:33 UTC+1, Raphael Attie a écrit :
Reply all
Reply to author
Forward
0 new messages