[Bf-committers] Build problem for X64

Anthony LAU lauliullt at yahoo.com
Thu Sep 23 01:49:55 CEST 2010


Hi Damir!

  Did such error(s) come when you compiled the project in Debug mode? I received similar libraries linking problems (with VC++2008) and tried to look for
the library files that caused the problem... it turned out its absence
from the library directory. (The one I had problem was Iex_d.lib from Openerx of Win64 library set)
lib\windows\openexr\lib_vs2008
lib\win64\openexr\lib_vs2008

  Once I switched to compile in Release mode, everything was resolved.
Even compiling with SCons was working fine, as long as it's in release
mode. (I also failed to compile Blender with SCons for Debug mode before.)

  I'm wondering if Blender 64-bit is intended to be compiled in Release mode only. (And I don't know how many other win64 libraries got the Debug mode components missing)

  Hope this may help.

Anthony


> ------------------------------
> 
> Message: 2
> Date: Wed, 22 Sep 2010 13:29:51 +0200
> From: Damir Prebeg <blend.factory at gmail.com>
> Subject: [Bf-committers]  Build problem for X64
> To: bf-blender developers <bf-committers at blender.org>
> Message-ID:
>     <AANLkTimsu6X_Gajwr+45jQiVsC-hPYBaHWXaBZV3aEFZ at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Hello all, sorry for bothering you with this but I need
> some help because
> I'm trying to compile 64bit Blender on my Win7 with
> VC++2008 and Scons and
> process fails when it starts to link makesdna.exe with
> error:
> 
> Linking program ==> 'makesdna.exe'
> bf_intern_guardedalloc.lib(mmap_win.obj) : error LNK2019:
> unresolved
> external symbol __imp_CloseHandle referenced in function
> mmap
> LIBCMT.lib(close.obj) : error LNK2001: unresolved external
> symbol
> __imp_CloseHandle
> LIBCMT.lib(open.obj) : error LNK2001: unresolved external
> symbol
> __imp_CloseHandle
> LIBCMT.lib(initcon.obj) : error LNK2001: unresolved
> external symbol
> __imp_CloseHandle
> ....
> D:\BlenderBuilds\build\blender25-win64-vc\makesdna.exe :
> fatal error
> LNK1120: 93 unresolved externals
> scons: ***
> [D:\BlenderBuilds\build\blender25-win64-vc\makesdna.exe]
> Error
> 1120
> scons: building terminated because of errors.
> 
> Can anyone help me?
> 
> 
> ------------------------------


      


More information about the Bf-committers mailing list