Previous Thread  Next Thread

chat icon YABN - Yet Another Build Newbie

Kurs

Posted: Thu Sep 06, 2012 3:11 am
Joined: 06 Sep 2012
Posts: 5
Sorry if this has been asked and answered before, but I haven't found it yet. Still looking through past messages, but there's a lot out there.

I've finally got Blender to compile, but when I run the blender.exe from the 'install' directory, it get a large, blank, grey screen and then a popup about "Blender has stopped working". So obviously, I've missed something.

I'm working on a 64-bit, Windows 7 PC.

I'm trying the 32-bit build using SCONS and MinGW. I've got it to compile. I don't think there are any compile errors, but it's a long compile and some of it scrolls by too fast. (Is there an easy way to log compile messages??)

Do I have to go the 64-bit route, since I'm on a 64-bit machine? I can run both 32 & 64 bit downloaded blenders.
(blender-2.63a-release-windows32.zip)

I stayed away from the 64-bit build once I started to read about it being 'experimental'.

With out any other error message, I'm not sure what to try.
Reply with quote


stiv

Posted: Thu Sep 06, 2012 5:13 pm
Joined: 05 Aug 2003
Posts: 3645
The usual cause of missing menus and such is running blender from the build directory instead of the install dir.
Reply with quote


Kurs

Posted: Thu Sep 06, 2012 7:18 pm
Joined: 06 Sep 2012
Posts: 5
I'm running from the install directory. If it were something missing, I might come up with a guess of where/what to look at. But it just won't start, even with command line debugging on, there's no output.



That path command is in my compile batch script. Just checking if it made any difference in running Blender or not. No difference. I get the same popup about it stopped working. No output to the DOS window I start it from. No separate system console opens.

Same thing, just that popup, running:
blender.exe --help
or blender.exe

I can run both 64 & 32-bit Blender 2.63a downloads from http://www.blender.org/download/get-blender/

The compile is completing and creating an executable each time. I don't see any error messages on re-compiles. I'm going run the:

python scons\scons.py BF_TOOLSET=mingw clean

and let the compiler rip thru all of the code again. Not that I'm sure what to look for. It's so long and has so many warnings (is that normal??). I hate to ask about making it more verbose, but are there compiler, debug switches to turn on that might give me a clue?
Reply with quote


Tehrasha

Posted: Fri Sep 07, 2012 3:05 am
Joined: 21 Apr 2010
Posts: 1264
I do not think you will have much luck compiling Blender 2.63 with Python 2.6.
_________________
Spacemice Wiki -- Input devices for a 3D world.
Spacemice / Blender Compatibility
Reply with quote


Kurs

Posted: Fri Sep 07, 2012 4:03 am
Joined: 06 Sep 2012
Posts: 5
It compiled with 32-bit Python 2.6.6

I've uninstalled 2.6.6 and have installed 32-bit Python 2.7.3 and the pywin32 that goes with it. After cleaning the directories and doing a svn update:

set PATH=C:\Python27;C:\MinGW\bin;C:\MinGW\lib;%PATH%
cd C:\BlenderSVN\blender\
python scons\scons.py BF_TOOLSET=mingw

Compiles like before. Crashes like before. Maybe 'crash' is giving it too much credit. Little seems to ever get started.

Just read something about "If you have Quicktime installed, Blender attempts to link with it on startup." Is there anything else like that at startup? Is there a way to switch that off with the compiler config file?
Reply with quote


Kurs

Posted: Fri Sep 07, 2012 5:08 am
Joined: 06 Sep 2012
Posts: 5
Frak!!! Embarassed

Here I thought I might contribute to the debugging effort someday and I can't even get a compile of this thing to run.....

Still don't know where to look, but at least it's a different popup now.



Using 32-bit Python 2.7.3, win32-mingw, and scons.

Added a user-config.py:
Code:
BF_BUILDDIR = 'C:\\BlenderSVN\\build\\win32-mingw'
BF_INSTALLDIR = 'C:\\BlenderSVN\\install\\win32-mingw'
BF_DEBUG = True
BF_NUMJOBS = 6


Compiling with:
Code:

set PATH=C:\Python27;C:\MinGW\bin;C:\MinGW\lib;%PATH%
 
cd C:\BlenderSVN\blender\
python scons\scons.py BF_TOOLSET=mingw


Build looks normal (I guess??):
Code:

C:\BlenderSVN>time /t
11:23 PM

C:\BlenderSVN\blender>python scons\scons.py BF_TOOLSET=mingw
scons: Reading SConscript files ...
Command-line arguments
        BF_TOOLSET = mingw
Command-line targets
        No targets given, using default
Using mingw
Using config file: build_files\scons\config\win32-mingw-config.py
Using user-config file: user-config.py
Build with parallel jobs: 6
Build with debug symbols: True
Generating: 'COM_OpenCLKernels.cl.h'
Generating: 'startup.blend.c'
Generating: 'preview.blend.c'
Generating: 'gpu_shader_material.glsl.c'
:
:
~9900 lines later
:
:
C:\BlenderSVN\lib\mingw32\boost\include/boost/random/detail/integer_log2.hpp:71:35: warning: always_inline function might not be inlinable [-Wattributes]

Linking library ==> 'libextern_carve.a'
Linking library ==> 'libextern_ceres.a'
Linking program ==> 'blender.exe'
Linking program ==> 'blenderplayer.exe'
Install file: "C:\BlenderSVN\build\win32-mingw\bin\blenderplayer.exe" as "C:\BlenderSVN\install\win32-mingw\blenderplayer.exe"
Trying to remove existing py bundle.
Unpacking '../lib/mingw32/release/python32_d.tar.gz' to 'C:\BlenderSVN\install\win32-mingw\2.63\python\lib'
Install file: "C:\BlenderSVN\build\win32-mingw\bin\blender.exe" as "C:\BlenderSVN\install\win32-mingw\blender.exe"
scons: done building targets.

C:\BlenderSVN\blender>time /t
11:32 PM

Reply with quote


Kurs

Posted: Sat Sep 08, 2012 4:25 am
Joined: 06 Sep 2012
Posts: 5
Well, I didn't want to go the Microsoft route, but what the heck, I've got a 32-bit compile with scons and Visual C++ 2008 Express working and the executable even runs!! Very Happy

Mingw/scons still baffles me. Event log seems to blame libstdc++-6.dll.
Code:
Application Error 2012-09-07T15:14:28.000000000Z
Level: Error

- EventData

   blender.exe
   2.6.3.0
   504a0cab
   libstdc++-6.dll
   0.0.0.0
   4f773dbe
   c0000005
   0003f5f6
   5a0
   01cd8d0b76b8404f
   C:\BlenderSVN\install\win32-mingw\blender.exe
   C:\MinGW\bin\libstdc++-6.dll
   b7503b44-f8fe-11e1-bdb5-b8ac6fae0850

But honestly, I don't know what I'm looking at here.
Reply with quote


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