Previous Thread  Next Thread

chat icon fatal error LNK1105 in Segof's Bullet Dev branch

CGEffex

Posted: Sat Nov 03, 2012 1:24 am
Joined: 03 Nov 2012
Posts: 4
I've been trying all day to try and compile an up-to-date build of Segof's Bullet branch, but failing every step of the way. After figuring out and getting git working, I can't compile the code at all. I cloned the git repository into a sub-folder of my working directory ((C:\BlenderSVN)- Containing the blender trunk source folder and my lib folder) and so because my libs weren't detected from there, I copied it in with the rest of my sources, renaming the folder from 'blender' to sergof-bullet-dev (So it didn't conflict with my other folder. I turned of blenderplayer (Which doesn't work in that branch yet) and game engine in my user-config folder, and tried to compile. However, I keep getting this error at the start:

Code:
Cleaning build dir...
clean dir C:\build\win32-vc\bin
clean dir C:\build\win32-vc\data_headers
clean dir C:\build\win32-vc\data_sources
clean dir C:\build\win32-vc\extern
clean dir C:\build\win32-vc\intern
clean dir C:\build\win32-vc\lib
remove file C:\build\win32-vc\makesdna.exe
WindowsError: [Error 5] Access is denied: 'C:\\build\\win32-vc\\makesdna.exe':
  File "C:\BlenderSVN\sergof-bullet-dev\SConstruct", line 405:
    os.remove(B.root_build_dir+entry)


and this error right before it fails to compile:

Code:
Compiling ==> 'makesdna.c'
makesdna.c
Compiling ==> 'mallocn.c'
mallocn.c
Compiling ==> 'mmap_win.c'
mmap_win.c
Linking library ==> 'bf_intern_guardedalloc.lib'
Linking program ==> 'makesdna.exe'
LINK : fatal error LNK1105: cannot close file 'C:\build\win32-vc\makesdna.exe'
scons: *** [C:\build\win32-vc\makesdna.exe] Error 1105
scons: building terminated because of errors.


I'm compiling with Visual C++ 2008 Express Edition and scons, and my system is Windows XP 32 bit. My user config file is as follows:

Code:
BF_BUILDDIR = 'C:\\BlenderSVN\\build\\win32-vc'
BF_INSTALLDIR = 'C:\\BlenderSVN\\install\\win32-vc'
WITH_BF_OPENMP = False
WITH_BF_JACK = False
WITH_BF_FFMPEG = True
WITH_BF_OPENAL = True
WITH_BF_ICONV = True
WITH_BF_SNDFILE = True
WITH_BF_SDL = True
WITH_BF_OPENEXR = True
WITH_BF_JPEG = True
WITH_BF_PNG = True
WITH_BF_TIFF = True
WITH_BF_COLLADA = True
WITH_BF_GAMEENGINE = False
WITH_BF_PLAYER = False
WITH_BF_RAYOPTIMIZATION = True
WITH_BF_CYCLES_CUDA_BINARIES = True
BF_CYCLES_CUDA_NVCC = "C:/CUDA/40/bin/nvcc.exe"
BF_CYCLES_CUDA_BINARIES_ARCH = ['sm_21']
BF_DEBUG = False
BF_NUMJOBS = 2
Reply with quote


stiv

Posted: Sat Nov 03, 2012 2:13 am
Joined: 05 Aug 2003
Posts: 3645
Curious. Just for grins, try setting NUMJOBS=1.

It wouldn't hurt to reboot first, just to make sure *everything* is closed.
Reply with quote


CGEffex

Posted: Sat Nov 03, 2012 1:40 pm
Joined: 03 Nov 2012
Posts: 4
I already tried with NUMJOBS=1, and that didn't help. I just tried a reboot, and that didn't work either. Anyone else have any thoughts on this?
Reply with quote


CGEffex

Posted: Sun Nov 04, 2012 9:25 pm
Joined: 03 Nov 2012
Posts: 4
I found out the problem and I'm just gonna go ahead and post the solution for anyone else who happens upon this thread with the same issue. Apparently Comodo Firewall was the culprit. I can probably set up some special exceptions, but disabling the firewall and defense+ completely fixed this issue for me. Cheers!
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group