error building blender 2.5 rev. 35925

os: windows 7 32 bit
python: 2.6, 3.2
scons: 2.0.1
Microsoft Visual Studio 2008

LINK : error LNK2001: unresolved external symbol mainCRTStartup
F:\SRC\build\win32-vc\bin\blender.exe : fatal error LNK1120: 1 unresolved externals
scons: *** [F:\SRC\build\win32-vc\bin\blender.exe] Error 1120
Install file: "release\scripts\modules\bpy_init
.py" as “F:\SRC\build\install\win32-vc\2.56\scripts\modules
bpy_init_.py”
scons: building terminated because of errors.

if i try to build with cmake 2.8.3 i get errors on png libs…

blender\source\icons<b>winblender.rc was the problem

remove everything from:
IDR_VERSION1 VERSIONINFO
to the last end and it will compile

you don’t have to remove anything building with scons. installing subversion (the client for win32) may help.

i already use subversion TortoiseSVN

i already use subversion TortoiseSVN

no, you need to install a command line svn :slight_smile:

have that to Slik SVN

blender\source\icons<b>winblender.rc was the problem

remove everything from:
IDR_VERSION1 VERSIONINFO
to the last end and it will compile
tried that, won’t work

try to delete blender\source\icons<b>winblender.rc
and see if it works