View topic - scons to find openexr, ilbpng and freetype on mac os x

scons to find openexr, ilbpng and freetype on mac os x

Users-contributed CVS development builds. Post here your questions about compiling the source code.

scons to find openexr, ilbpng and freetype on mac os x

Post Sun Nov 29, 2009 11:59 am

Scons won't find libs installed with 'fink' or 'port' on mac os x. Do I need to define an environment variable?

Any help appreciated :)

--

xagmac:yafaray xag$ scons install
scons: Reading SConscript files ...
using configuration from config/darwin-config.py
user-config.py not available, doing no user overrides
Checking for C library pthread... yes
Checking for C library z... yes
Checking for C++ library Half... no
Checking for C library xml2... yes
Checking for C library jpeg... yes
Checking for C library png... no
Checking for C library freetype... no
Error: not all enabled libraries are available!
if they are installed, make sure the paths are setup correctly
if you don't have them, try disabling with the appropriate WITH_YF_* option

xagmac:yafaray xag$ locate openexr
/sw/fink/10.4/stable/main/finkinfo/graphics/openexr.info
/sw/fink/10.4/stable/main/finkinfo/graphics/openexr.patch

xagmac:yafaray xag$ locate libpng | grep "/lib/"
/Applications/Darwine/Wine.bundle/Contents/lib/libpng.3.dylib
/Applications/Darwine/Wine.bundle/Contents/lib/libpng.a
/Applications/Darwine/Wine.bundle/Contents/lib/libpng.dylib
/Applications/Darwine/Wine.bundle/Contents/lib/libpng.la
/Applications/Darwine/Wine.bundle/Contents/lib/libpng12.0.dylib
/Applications/Darwine/Wine.bundle/Contents/lib/libpng12.a
/Applications/Darwine/Wine.bundle/Contents/lib/libpng12.dylib
/Applications/Darwine/Wine.bundle/Contents/lib/libpng12.la
/Applications/Darwine/Wine.bundle/Contents/lib/pkgconfig/libpng.pc
/Applications/Darwine/Wine.bundle/Contents/lib/pkgconfig/libpng12.pc
/Applications/Inkscape.app/Contents/Resources/lib/libpng12.0.dylib
/Applications/VLC.app/Contents/MacOS/lib/libpng12.0.dylib
/Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libpng.3.26.0.dylib
/Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libpng.3.dylib
/Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libpng.dylib
/Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libpng12.0.26.0.dylib
/Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libpng12.0.dylib
/Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libpng12.dylib
/sw/lib/libpng.3.dylib
/sw/lib/libpng12.0.dylib
/sw/var/lib/dpkg/info/libpng3-shlibs.list
/sw/var/lib/dpkg/info/libpng3-shlibs.shlibs
/usr/X11/lib/libpng.3.26.0.dylib
/usr/X11/lib/libpng.3.35.0.dylib
/usr/X11/lib/libpng.3.dylib
/usr/X11/lib/libpng.dylib
/usr/X11/lib/libpng12.0.26.0.dylib
/usr/X11/lib/libpng12.0.35.0.dylib
/usr/X11/lib/libpng12.0.dylib
/usr/X11/lib/libpng12.dylib
/usr/X11/lib/pkgconfig/libpng.pc
/usr/X11/lib/pkgconfig/libpng12.pc

xagmac:yafaray xag$ locate freetype | grep "/lib/"
/Applications/Darwine/Wine.bundle/Contents/lib/libfreetype.6.dylib
/Applications/Darwine/Wine.bundle/Contents/lib/libfreetype.a
/Applications/Darwine/Wine.bundle/Contents/lib/libfreetype.dylib
/Applications/Darwine/Wine.bundle/Contents/lib/libfreetype.la
/Applications/Darwine/Wine.bundle/Contents/lib/pkgconfig/freetype2.pc
/Applications/Inkscape.app/Contents/Resources/lib/libfreetype.6.dylib
/Applications/VLC.app/Contents/MacOS/lib/libfreetype.6.dylib
/Developer/SDKs/MacOSX10.3.9.sdk/usr/X11R6/lib/libfreetype.6.3.dylib
/Developer/SDKs/MacOSX10.3.9.sdk/usr/X11R6/lib/libfreetype.6.dylib
/Developer/SDKs/MacOSX10.3.9.sdk/usr/X11R6/lib/libfreetype.a
/Developer/SDKs/MacOSX10.3.9.sdk/usr/X11R6/lib/libfreetype.dylib
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libfreetype.6.3.dylib
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libfreetype.6.dylib
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libfreetype.a
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libfreetype.dylib
/Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libfreetype.6.3.16.dylib
/Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libfreetype.6.dylib
/Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libfreetype.dylib
/sw/lib/freetype219
/sw/lib/freetype219/lib
/sw/lib/freetype219/lib/libfreetype.6.3.10.dylib
/sw/lib/freetype219/lib/libfreetype.6.dylib
/sw/var/lib/dpkg/info/freetype219-shlibs.list
/sw/var/lib/dpkg/info/freetype219-shlibs.shlibs
/usr/X11/lib/libfreetype.6.dylib
/usr/X11/lib/libfreetype.dylib
/usr/X11/lib/pkgconfig/freetype2.pc
xagmac:yafaray xag$
xag
 
Posts: 1
Joined: Sun Nov 29, 2009 11:38 am

Re: scons to find openexr, ilbpng and freetype on mac os x

Post Tue Dec 01, 2009 7:29 pm

I was able to build Yafaray via Scons installed with MacPorts.

Install the necessary libraries into your opt/local/ directory via $ port:

$ sudo port install libpng
$ sudo port install freetype
$ sudo port install openexr

Then do $ scons build; $ scons install from your yafaray/ source code directory. I haven't been able to install the Qt bindings, however.
Felix Lorsignol
http://ro.boti.ca
User avatar
florsignol
 
Posts: 17
Joined: Sun Oct 18, 2009 5:49 am


Return to Testing Builds



Who is online

Users browsing this forum: No registered users and 3 guests