Compiling, libraries, modules, coding guidelines and porting
Moderators: jesterKing, stiv
- Posts: 17
- Joined: Sat Oct 19, 2002 2:03 pm
- Location: Massachusetts, USA
My short term goal is to publish an up-to-date doc on how to compile using MinGW (as opposed to Cygwin). I've read all the available doc and managed to pretty much compile all the Blender code. My problem is trying to link the Blender executable.
Code: Select all
****> Link /home/mmiddlet/2.34/blender/obj/windows/bin/blender.exe
g++ -DNDEBUG -O2 -DBUILD_DATE='"2004-10-21"' -DBUILD_TIME='"07:26:53"' -
/home/mmiddlet/2.34/blender/source/creator/buildinfo.c -c -o
winbuildinfo.h: No such file or directory
make: *** [/home/mmiddlet/2.34/blender/obj/windows/bin/blender.exe] Error 1
> make: *** [all] Error 1
I don't seem to have a winbuildinfo.h file anywhere. BTW, in order to minimze my pain in starting the process, I decided to try re-building Blender 2.34 by checking out all the code with the blender-2-34-release tag. I thought that should pretty much compile out of the box. Alas, I have the exact same problem in that code tree. Any suggestions?
- Posts: 0
- Joined: Fri Apr 16, 2004 4:11 pm
I'd be very interested to see a doc on how to compile with MinGW, great to read you want to create one!
When using scons, the winbuildinfo.h is created by scons:
See blender/Sconstruct, you have:
build_info_file = open("source/creator/winbuildinfo.h", 'w')
env.Append (CPPDEFINES = ['NAN_BUILDINFO', 'BUILD_DATE'])
This file is needed afterwards (in some cases) in source/creator/buildinfo.c
With make, I don't think this file gets created... maybe there's something missing?