View topic - Error compiling scons C++ libraries Half NO??

Error compiling scons C++ libraries Half NO??

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

Error compiling scons C++ libraries Half NO??

Post Thu Oct 29, 2009 6:44 pm

Hey everyone using fedora 10 and compiling i get this error i have the latest scons swig C++ libraries gcc libraries and every extra i could install plus all of the required dependencies and i am compiling as root any ideas??

[root@localhost yafaray]# scons
scons: Reading SConscript files ...
using configuration from config/linux2-config.py
user-config.py not available, doing no user overrides

scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.
File "/home/steven/Download/yafaray/tools/buildtools.py", line 112, in check_config
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... yes
Checking for C library freetype... yes
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
[root@localhost yafaray]#
willissteve0
 
Posts: 3
Joined: Thu Oct 29, 2009 6:38 pm

Re: Error compiling scons C++ libraries Half NO??

Post Thu Oct 29, 2009 6:49 pm

this may help my linux2-config.py


PREFIX = '/usr/local'
CCFLAGS = '-Wall'
REL_CCFLAGS = '-O3 -ffast-math'
DEBUG_CCFLAGS = '-ggdb'
YF_LIBOUT = '${PREFIX}/lib'
YF_PLUGINPATH = '${PREFIX}/lib/yafaray'
YF_BINPATH = '${PREFIX}/bin'
YF_BINDINGS = '${PREFIX}/share/yafaray/blender'

BASE_LPATH = '/usr/lib'
BASE_IPATH = '/usr/include'

### pthreads
YF_PTHREAD_LIB = 'pthread'

### OpenEXR
YF_EXR_INC = '${BASE_IPATH}/OpenEXR'
YF_EXR_LIB = 'Half Iex Imath IlmImf'
YF_EXR_LIBPATH = '${BASE_LPATH}'

### libXML
YF_XML_INC = '${BASE_IPATH}/libxml2'
YF_XML_LIB = 'xml2'

### JPEG
YF_JPEG_INC = ''
YF_JPEG_LIB = 'jpeg'

### PNG
WITH_YF_PNG = 'true'
YF_PNG_INC = ''
YF_PNG_LIB = 'png'

### zlib
WITH_YF_ZLIB = 'true'
YF_ZLIB_INC = ''
YF_ZLIB_LIB = 'z'

### Freetype 2
WITH_YF_FREETYPE = 'true'
YF_FREETYPE_INC = '${BASE_IPATH}/freetype2'
YF_FREETYPE_LIB = 'freetype'

### Miscellaneous
YF_MISC_LIB = 'dl'

WITH_YF_QT='true'
willissteve0
 
Posts: 3
Joined: Thu Oct 29, 2009 6:38 pm

Re: Error compiling scons C++ libraries Half NO??

Post Thu Oct 29, 2009 7:23 pm

Sorry Guys found the soloution you need to install the openEXR development files as well through the fedora repo's :S
willissteve0
 
Posts: 3
Joined: Thu Oct 29, 2009 6:38 pm


Return to Testing Builds



Who is online

Users browsing this forum: No registered users and 3 guests

cron