View topic - [solved]compile yafaray286 on win32 fail

[solved]compile yafaray286 on win32 fail

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

[solved]compile yafaray286 on win32 fail

Post Sun Nov 02, 2008 5:59 am

i get the following codes and tools before compile yafaray:
1. yafray 286 from svn,
2. blender 2.47 ,
3. scons 1.1.0,
4. python 2.5.2.

My yafaray directory is:
Code: Select all
......|---(other dirs and files)
......|---(other dirs and files)

i followed the steps in, and creat like this:
Code: Select all
WITH_BF_OPENAL = 'false'
WITH_BF_ODE = 'true'
WITH_BF_FTGL = 'true'
WITH_BF_FMOD = 'false'
WITH_BF_SDL = 'true'
WITH_BF_FFMPEG = 'false'

Change YF_PYTHON_LIBPATH in\yafray\config\config\ to:
Code: Select all
YF_PYTHON_LIBPATH = 'D:\Program_Files\Python\2.5.2\libs'

Then, i try to compile yafaray, but fail.
Code: Select all
>cd ROOT\yafray
scons: Reading SConscript files ...
using configuration from config/
Using config file:
Checking for C library pthreadVC2... no
Checking for C library zlib... no
Checking for C++ library Half... no
Checking for C library libxml2_a... no
Checking for C library libjpeg... no
Checking for C library libpng... 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

i open config\, and try to find the reason.
There are following lines in this file:
Code: Select all
BASE_LPATH = '#../libs/msvc'
BASE_IPATH = '#../libs/msvc'
### pthreads
YF_PTHREAD_INC = '${BASE_IPATH}/pthreads/include'
YF_PTHREAD_LIB = 'pthreadVC2'

But i think BASE_LPATH and BASE_IPATH are right as for my yafaray directories.

I am confuised, and don't know what to do next.
Can anyone help me ?
Last edited by yaoyansi on Sun Nov 02, 2008 8:06 am, edited 1 time in total.
Posts: 3
Joined: Sun Nov 02, 2008 5:20 am

Post Sun Nov 02, 2008 8:05 am

It is solved.
The reason is I forgot to set enviroment vars of vc++.

Now, this is my step:
>cd Root\yafaray
>"D:\Program Files\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat"

that's all.
Posts: 3
Joined: Sun Nov 02, 2008 5:20 am

Return to Testing Builds

Who is online

Users browsing this forum: No registered users and 3 guests