Re: [Bf-committers] Build problem for X64
Thanks Nathan, I've corrected my VC++ project files so Blender now compiles without flaws in VC++ IDE. Unfortunately, I can't make scons working no matter what I do so I'll give up for now. On 28 September 2010 16:45, Nathan Letwory nat...@letworyinteractive.comwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28.9.2010 15:13, Damir Prebeg wrote: Hi Nathan, Files libfaac-0.dll, libfaad-2.dll, libmp3lame-0.dll, libx264-67.dll and xvidcore.dll are still missing in repositories. They are not missing; instead, the cmake files still need to be adapted for the change that they are not there anymore. /Nathan - -- Nathan Letwory Letwory Interactive http://www.letworyinteractive.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJMof+KAAoJEKtfN7KsE0Ttfm4IALCiR4Js/fnzq2RfT51YbMPe GkTf2UMHAad1zmzdHEaGucMjhwivq/agirrbwoPmcpSDsOBVxTL3WpqOINoZZmAo UHIt90gYrpZ3NvVehW/pspotZNS8T9L4Ir/y1/cmHgYGxqPJ7EsEuBZubXR4iYYj SuqCaLcZoa+CQmMZy3C0uhSf391OiVqxr3vA/XwC1S7aukexOAWz9BfjsDASdB0K 8gjlFpEkOapePFHc1+xRgd22i9/U/iGeKdapy4P42uqQboib26lxfSW8UH/uGPPE Eu4vEqdVCOQm6hNmQjC0VsPIi9CkbXXQ5sC01bhU6NmaK46X0GSTlu3jdYhSjEE= =t7D3 -END PGP SIGNATURE- ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] Build problem for X64
Hi Nathan, Since I'm using VC++ 2008 Express, I've had to add 'amd64' in supported_arch list at line 235 in file scons\scons-local-1.2.0.d20090223\SCons\Tool\MSCommon\vs.py (supported_arch=['x86', 'amd64']) No idea why you have to do this, maybe because you use the express version of vc++ 2008? (And I didn't know it even supported 64bit compiling, I thought only vc++ 2010 express did that). I had to add amd64 because scons looks in that list what compiler supports. If it finds Express then scons exits before even tries to compile Blender. Officially VC++ 2008 Express doesn't like x64 and OPENMP but I have figured out how to enable support for both. Now, with help of cmake I can build 32 or 64bit but only from VC++ IDE since scons throws me those linking errors. Make sure you use the correct Python version: * use the latest 32bit Python 2.6.x install to build 32bit Blender * use the latest 64bit Python 2.6.x install to build 64bit Blender If you don't you'll still run into linking problems. Yes, I have and use 64bit python 2.6.6 Not related with this problem to this, about a week a go (before I've tried to compile 64bit) I've started to have problems with 32 bit builds in VC++ IDE because some files in ffmpeg libs are missing (libfaac-0.dll, libfaad-2.dll, libmp3lame-0.dll, libx264-67.dll and xvidcore.dll) Make sure you have updated your lib/windows and lib/win64 checkouts. I've updated our FFMPEG dependencies. Files libfaac-0.dll, libfaad-2.dll, libmp3lame-0.dll, libx264-67.dll and xvidcore.dll are still missing in repositories. ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] Build problem for X64
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24.9.2010 9:53, Damir Prebeg wrote: Hi all, Yes, I use 64bit command prompt and there's nothing special in my user-config.py (http://www.pasteall.org/15805/python), as you can see it's just a copy of the one that you can find here http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Windows#Configure_Options, except that I have disabled ffmpeg because if ffmpeg is enabled compile also fails in VC++ IDE so I recon there's still no x64 support for it. FFMPEG support compiles just fine for win32 and win64 using SCons. My current config file: - - BF_BUILDDIR=r'..\build\graphicall_64b' BF_INSTALLDIR=r'..\install\graphicall_64b' WITH_BF_OPENAL=True WITH_BF_QUICKTIME=False WITH_BF_JACK=False WITH_BF_LIBSAMPLERATE=True WITH_BF_SNDFILE=False WITH_BF_FFMPEG=True WITH_BF_OPENCOLLADA=True WITH_BF_PLAYER=True WITH_BF_GAMEENGINE=True WITH_BF_OPENMP=True BF_DEBUG=0 BF_NUMJOBS=2 BF_VCREDIST=r'D:\blenderdev\vcredist_x64.exe' - - Apart from build dir and install dir, these are the settings used to create our latest windows official releases. Here's the error log: http://www.pasteall.org/15806/dos Since I'm using VC++ 2008 Express, I've had to add 'amd64' in supported_arch list at line 235 in file scons\scons-local-1.2.0.d20090223\SCons\Tool\MSCommon\vs.py (supported_arch=['x86', 'amd64']) No idea why you have to do this, maybe because you use the express version of vc++ 2008? (And I didn't know it even supported 64bit compiling, I thought only vc++ 2010 express did that). Make sure you use the correct Python version: * use the latest 32bit Python 2.6.x install to build 32bit Blender * use the latest 64bit Python 2.6.x install to build 64bit Blender If you don't you'll still run into linking problems. Not related with this problem to this, about a week a go (before I've tried to compile 64bit) I've started to have problems with 32 bit builds in VC++ IDE because some files in ffmpeg libs are missing (libfaac-0.dll, libfaad-2.dll, libmp3lame-0.dll, libx264-67.dll and xvidcore.dll) Make sure you have updated your lib/windows and lib/win64 checkouts. I've updated our FFMPEG dependencies. /Nathan - -- Nathan Letwory Letwory Interactive http://www.letworyinteractive.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJMoVsAAAoJEKtfN7KsE0TtRu8IALMDz69Pa95S3k/5QAqSv8kS jL1SrfLIHq1fFC+/P04XXK+U4TMMo0e81guDyFArWFRw/fZZwamyuI7a/yn7WxFT cMY0bxEiAovb31nUcXDjUckoiqnffIEIFkeiLb4dgSQNyMv4llpqdiWKAqzUh5cY k045yyCk19iK5+f/acf0/yvGi+W5L3k0Q24n5biUzR7tCRftzhbQPRSu+sBbEhPo bWkzeD0fOuvqYrB1fgBN0sinKdQ4jSDsErHtPdWkbni4DOBAHL3HrLzYoC0v/v15 y5JdWdsrhJrsdXGFY6mIQSMj/AZk+/5uX3hYyPPLxBxUrHAVQqziDYkT8v5dWmY= =IAAj -END PGP SIGNATURE- ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] Build problem for X64
Hi all, Yes, I use 64bit command prompt and there's nothing special in my user-config.py (http://www.pasteall.org/15805/python), as you can see it's just a copy of the one that you can find here http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Windows#Configure_Options, except that I have disabled ffmpeg because if ffmpeg is enabled compile also fails in VC++ IDE so I recon there's still no x64 support for it. Here's the error log: http://www.pasteall.org/15806/dos Since I'm using VC++ 2008 Express, I've had to add 'amd64' in supported_arch list at line 235 in file scons\scons-local-1.2.0.d20090223\SCons\Tool\MSCommon\vs.py (supported_arch=['x86', 'amd64']) Not related with this problem to this, about a week a go (before I've tried to compile 64bit) I've started to have problems with 32 bit builds in VC++ IDE because some files in ffmpeg libs are missing (libfaac-0.dll, libfaad-2.dll, libmp3lame-0.dll, libx264-67.dll and xvidcore.dll) On 23 September 2010 07:09, Nathan Letwory nat...@letworyinteractive.comwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23.9.2010 2:49, Anthony LAU wrote: 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) If you have trouble compiling Blender for 64bit Windows using SCons and MSVC, could you please put your error logs and user-config.py in pasteall.org and reply with them to this message? Both building WITH_DEBUG=True and WITH_DEBUG=False in user-config.py should just work fine (to be sure I compiled debug build just now). /Nathan 'sconsmaster jesterKing' Letwory - -- Nathan Letwory Letwory Interactive http://www.letworyinteractive.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJMmuD4AAoJEKtfN7KsE0TtcA8H+QG4u+aJmIvqq8R1zJ8UOxYU cn7vzN9V7ilX3MQG41iVzZv65oGU8HyUdWiJrQJuteT3SMKbyTVJf3za70nQREOh 2y0asB/8A3umlNIJkYo1t4CLxQoXonhtU0Eeyr5Z64YJi74AcudnRe0igHw1pR5b G7N9i0yjmOw83aLCRQoj9rz2ZIDyrvG5SuG61VxR0D+gqm1u/vne68YAlRwiEA4v FB3fZ4Dt4sgCVDkjVt9hjDnKu2wIJNx4y0ySzlVTbXd8oSnoA4To/cHXM8MPjNzf wyAirUGozOPOTQJGeBtxHKDnan1FiBI89k1xAqQK9xPiPh2pd77NOYGcGuT2CNk= =Dp0v -END PGP SIGNATURE- ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
[Bf-committers] Build problem for X64
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? ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] Build problem for X64
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22.9.2010 14:29, Damir Prebeg wrote: 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: Interesting error log. I build almost on an hourly basis with msvc2008/scons and have not seen this before. Have you made any user-config.py or other changes? Also, I assume you are using the 64bit command prompt for the compiling and a 64bit python 2.6 install too? /Nathan 'sconsmastah jesterKing' Letwory 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? - -- Nathan Letwory Letwory Interactive http://www.letworyinteractive.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJMmjzuAAoJEKtfN7KsE0TtPvMH/j+YECfoxgMr9U5GWj9BmhuV z0OJmoIHBvME4A5Ru1bJpLE0/pH9gIjGIBChKx2mehc+4LuBPs7/Xql80Wlkg+Rb gNWhn/SM6zgSD9h130h3wsv+XycNSUBp9zY3x+QqXw5wbfpt5x+JnyaejGy8sRGl bdCWDC3Jy7yj4OfImLhUmz/AdbK2a4bKxbZNsRzohdHoDmMwVxx2HJKfEWk0ImVi LE/sI8wTlWOwQAOmALyORfzvj+0UvI6ZGgyCaI9Xx7R0MJKDAysOg8+JNHzoxma4 Wzq5H7PzDkmPp6tNy5qM+0SVnQYFeRZoofExIVphb0OX72sosYpZs9zljCfeRTs= =0CHW -END PGP SIGNATURE- ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
[Bf-committers] Build problem for X64
Hi Damir just a guess, quite a time ago I had a problem that 32 bit libs were used in place of 64 bit libs, so maybe to look to this side Regards Sergey ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] Build problem for X64
Well, actually, I'm using VC++ 2008 Express. I have succesfully compiled 64bit and OPENMP with help of CMake and VC++ Ide, but Scons fails and I can't find what's the problem. Yes, I've had to cheat scons and tell it tha VC++Express can compile amd64 and I also think that problem lies in mixing 32bit with 64bit libs, but I don't see where that hapens... On 22 September 2010 19:34, Sergey Kurdakov sergey.fo...@gmail.com wrote: Hi Damir just a guess, quite a time ago I had a problem that 32 bit libs were used in place of 64 bit libs, so maybe to look to this side Regards Sergey ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] Build problem for X64
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22.9.2010 21:45, Damir Prebeg wrote: Well, actually, I'm using VC++ 2008 Express. I have succesfully compiled 64bit and OPENMP with help of CMake and VC++ Ide, but Scons fails and I can't find what's the problem. Yes, I've had to cheat scons and tell it tha VC++Express can compile amd64 and I also think that problem lies in mixing 32bit with 64bit libs, but I don't see where that hapens... As said, you need to start the build process with a 64bit Python version and ensure you have the 64bit command prompt in use (or at least ensure you have the right vcvars called to get the 64bit compiler and linker in use, with all necessary env vars set). /Nathan ps. see http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Windows#Visual_Studio_2008_.2F_Visual_C.2B.2B_2008_Express On 22 September 2010 19:34, Sergey Kurdakov sergey.fo...@gmail.com wrote: Hi Damir just a guess, quite a time ago I had a problem that 32 bit libs were used in place of 64 bit libs, so maybe to look to this side - -- Nathan Letwory Letwory Interactive http://www.letworyinteractive.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJMmmcsAAoJEKtfN7KsE0TtaeEIAKYX1q+YIxlpVYnCzv3lC1Ep eCb0+jmyZBvnVDU8dSURUanf/S7kusGsX/1mwHW+7sZL1/fxiZDpCT7kZTK8bx8g Sj3CC6NL3Go4e3Ff9sxbhRxgIv6p2nL7tIEINYIny/MeJB0L8V28J3UlfyBTKfKf /a3xsRufPW5w1cN/JSqBljxOzzLT5O7nkjh/Kmejax+uJ86xDSF6crck8NWPwUKc lNMcLVtMmTZ8iUzoI368lV7DL3nS3dIcRjVyN1wccnC4C32g2qQR5g94jIPO01LA o0UgJzmWVtTiFRzxiBSMTzVgsBeH5FvMRrWS+0UO4LQ4HmBwm68jKSDhFNNhW4A= =NskO -END PGP SIGNATURE- ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] Build problem for X64
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.fact...@gmail.com Subject: [Bf-committers] Build problem for X64 To: bf-blender developers bf-committers@blender.org Message-ID: aanlktimsu6x_gajwr+45jqivsc-hpybahwxabzv3a...@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? -- ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] Build problem for X64
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23.9.2010 2:49, Anthony LAU wrote: 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) If you have trouble compiling Blender for 64bit Windows using SCons and MSVC, could you please put your error logs and user-config.py in pasteall.org and reply with them to this message? Both building WITH_DEBUG=True and WITH_DEBUG=False in user-config.py should just work fine (to be sure I compiled debug build just now). /Nathan 'sconsmaster jesterKing' Letwory - -- Nathan Letwory Letwory Interactive http://www.letworyinteractive.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJMmuD4AAoJEKtfN7KsE0TtcA8H+QG4u+aJmIvqq8R1zJ8UOxYU cn7vzN9V7ilX3MQG41iVzZv65oGU8HyUdWiJrQJuteT3SMKbyTVJf3za70nQREOh 2y0asB/8A3umlNIJkYo1t4CLxQoXonhtU0Eeyr5Z64YJi74AcudnRe0igHw1pR5b G7N9i0yjmOw83aLCRQoj9rz2ZIDyrvG5SuG61VxR0D+gqm1u/vne68YAlRwiEA4v FB3fZ4Dt4sgCVDkjVt9hjDnKu2wIJNx4y0ySzlVTbXd8oSnoA4To/cHXM8MPjNzf wyAirUGozOPOTQJGeBtxHKDnan1FiBI89k1xAqQK9xPiPh2pd77NOYGcGuT2CNk= =Dp0v -END PGP SIGNATURE- ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers