View topic - Windows x64 - compiling problems.

Windows x64 - compiling problems.

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

Windows x64 - compiling problems.

Post Tue Dec 08, 2009 5:51 pm

First, I am not a coder and I've never used scons to build or compile anything!

So, I want to build yafaray win64 version. So far I've managed to obtain/build ( I hope I have! ) every necessary libraries as a x64.
When I run scons, it does find every library, but the whole process ends after a minute with these linker errors
bunch of
Code: Select all
error LNK2005: x already defined in y

example
Code: Select all
MSVCRT.lib(MSVCR90.dll) : error LNK2005: _snprintf already defined in LIBCMT.lib(snprintf.obj)


and also bunch of
Code: Select all
error LNK2019: unresolved external symbol x referenced in function y

example
Code: Select all
libxml2_a.lib(encoding.obj) : error LNK2019: unresolved external symbol libiconv referenced in function xmlIconvWrapper


I've managed to fix a lot of errors with google but now I'm really stuck and hope someone here can help me to finish this build. Here is my win64-vc-config.py

Code: Select all

PREFIX = '#win64pak'
CCFLAGS = '/DWIN32 /D_WIN32 /D_USE_MATH_DEFINES /EHsc /MT /nologo'
REL_CCFLAGS = ' /O2'
DEBUG_CCFLAGS = ' /Zi /GS /RTC1 /Fd'
YF_LIBOUT = '${PREFIX}'
YF_PLUGINPATH = '${PREFIX}/plugins'
YF_BINPATH = '${PREFIX}'
YF_CORELIB = 'yafraycore'

BASE_LPATH = '#../libs/msvcX64'
BASE_IPATH = '#../libs/msvcX64'

### pthreads
YF_PTHREAD_INC = '${BASE_IPATH}/pthreads/include'
YF_PTHREAD_LIBPATH = '${BASE_LPATH}/pthreads/lib'
YF_PTHREAD_LIB = 'pthreadVC2'

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

### libXML
YF_XML_INC = '${BASE_IPATH}/libxml_vc8/include'
YF_XML_LIBPATH = '${BASE_LPATH}/libxml_vc8/lib'
YF_XML_LIB = 'libxml2_a'
YF_XM_DEF = 'LIBXML_STATIC'

### JPEG
YF_JPEG_INC = '${BASE_IPATH}/jpeg/include'
YF_JPEG_LIBPATH = '${BASE_LPATH}/jpeg/lib'
YF_JPEG_LIB = 'libjpeg'

### PNG
WITH_YF_PNG = 'true'
YF_PNG_INC = '${BASE_IPATH}/png/include'
YF_PNG_LIBPATH = '${BASE_LPATH}/png/lib'
YF_PNG_LIB = 'libpng'

### zlib
WITH_YF_ZLIB = 'true'
YF_ZLIB_INC = '${BASE_IPATH}/zlib/include'
YF_ZLIB_LIBPATH = '${BASE_LPATH}/zlib/lib'
YF_ZLIB_LIB = 'zlib'

### Freetype 2
WITH_YF_FREETYPE = 'true'
YF_FREETYPE_INC = '${BASE_IPATH}/freetype/include'
YF_FREETYPE_LIBPATH = '${BASE_LPATH}/freetype/lib'
YF_FREETYPE_LIB = 'freetype2ST'

### Miscellaneous
YF_MISC_LIB = 'Advapi32'

### Python
YF_PYTHON_LIBPATH = 'C:\Python26_x64\libs'

WITH_YF_QT='true'
YF_QTDIR = 'C:/Qt/4.6.0_x64'
YF_QT4_LIB = 'QtGui4 QtCore4'

Lord Zurra
 
Posts: 2
Joined: Tue Dec 08, 2009 5:20 pm

Re: Windows x64 - compiling problems.

Post Wed Dec 09, 2009 2:08 pm

There is a person trying to compile for Win 64 here:
http://www.yafaray.org/community/forum/ ... 07&start=0

Maybe you should create a workgroup.
Also you can contact Darktide in the IRC channel, he's doing the Win 32 builds.
User avatar
Samo
 
Posts: 3108
Joined: Tue Dec 20, 2005 10:39 am
Location: Spain

Re: Windows x64 - compiling problems.

Post Wed Dec 09, 2009 3:44 pm

Thanks for your reply!

I sent pm to that other win 64 compiler. Maybe we manage to build this together :-]
Lord Zurra
 
Posts: 2
Joined: Tue Dec 08, 2009 5:20 pm

Re: Windows x64 - compiling problems.

Post Sat Dec 19, 2009 1:34 am

I'd be happy to help out, we really need a x64 Windows version of YafaRay as the x86 memory limit of 4gb is becoming rather small for rendering.

Edit: Do the YafaRay devs even care about Windows x64?
User avatar
dobz116
 
Posts: 3
Joined: Sat Dec 19, 2009 1:28 am

Re: Windows x64 - compiling problems.

Post Tue Aug 10, 2010 6:42 am

dobz116 wrote:I'd be happy to help out, we really need a x64 Windows version of YafaRay as the x86 memory limit of 4gb is becoming rather small for rendering.

Edit: Do the YafaRay devs even care about Windows x64?



Probably this topic is dead but as if I could say ... in fact MANY USERS cares about x64 version! And about x86 memory limit - its 1.5GB for a program, NOT 4GB - try to BAKE a scene using Blender (for example a fluid with HiRes), if the program shows a memory needed about 1.2GB for bakeing the whole system crashes (some RAM is also used by Blender it-self, scene, textures and other stuff).


JayM
User avatar
janmatys
 
Posts: 68
Joined: Wed May 06, 2009 11:50 pm

Re: Windows x64 - compiling problems.

Post Tue Aug 10, 2010 4:46 pm

QUOTE!
32 bit has too many limits for professional standards today.
kawallo
 
Posts: 4
Joined: Sun Nov 12, 2006 8:34 pm

Re: Windows x64 - compiling problems.

Post Wed Aug 11, 2010 12:43 am

Testing ...
yafaray for windows 64bit.png
yafaray for windows 64bit
exvion
 
Posts: 105
Joined: Sun Jan 10, 2010 6:40 pm
Location: Russia

Re: Windows x64 - compiling problems.

Post Wed Aug 11, 2010 2:42 pm

Testing was successful.
Run the compilation of Qt for windows 64 bit ...
exvion
 
Posts: 105
Joined: Sun Jan 10, 2010 6:40 pm
Location: Russia

Re: Windows x64 - compiling problems.

Post Wed Aug 11, 2010 8:55 pm

exvion wrote:Testing was successful.
Run the compilation of Qt for windows 64 bit ...


Ok, so what will be the next step?


JayM
User avatar
janmatys
 
Posts: 68
Joined: Wed May 06, 2009 11:50 pm

Re: Windows x64 - compiling problems.

Post Thu Aug 12, 2010 10:51 am

It is not work on Blender 2.49 win64, but runs on blender 2.53 win64.
blender 2.53 and yafaray qt 64bit.png
blender 2.53 and yafaray qt 64 bit
exvion
 
Posts: 105
Joined: Sun Jan 10, 2010 6:40 pm
Location: Russia

Re: Windows x64 - compiling problems.

Post Thu Aug 12, 2010 6:33 pm

exvion wrote:It is not work on Blender 2.49 win64, but runs on blender 2.53 win64.

This is not a problem. Blender 2.49 is the past. We look at the future :)
kawallo
 
Posts: 4
Joined: Sun Nov 12, 2006 8:34 pm

Re: Windows x64 - compiling problems.

Post Mon Aug 16, 2010 9:44 pm

kawallo wrote:
exvion wrote:It is not work on Blender 2.49 win64, but runs on blender 2.53 win64.

This is not a problem. Blender 2.49 is the past. We look at the future :)


EXACTLY!!! :lol:
User avatar
janmatys
 
Posts: 68
Joined: Wed May 06, 2009 11:50 pm


Return to Testing Builds



Who is online

Users browsing this forum: No registered users and 3 guests

cron