I successfully downloaded the tuhopuu2 module from CVS. It's at the same level as the bf-blender module checkout so the libraries should work for either.
When I go through the same procedure as for bf-blender (set the compiler variables, cd to d:\blender\tuhopuu2, and type scons) it results in the following messages:
scons: Reading SConscript files . . .
Using config file: config.opts
scons: done reading SConscript files.
scons: Building targets ...
scons: *** Do not know how to make target 'blender'. Stop.
scons: building terminated because of errors.
I edited the config.opts file and set the gameengine build to 'false', but otherwise I haven't touched the CVS files. At the end of this thread,
http://www.blender.org/modules.php?op=m ... ns+tuhopuu
it looks like scons should be working for tuhopuu2. Has something changed?
I next tried the Visual C project files. Under tuhopuu2/projectfiles/blender, there are two files: blender.dsp and blender.dsw, both dated March 8 2004. I opened blender.dsw and confirmed the change to VC 2003 (the existing files are VC 6).
The BKE_blenkernel project is the top of the list and is highlighted. I told it to build and received a series of 35 of the following errors:
D:\blender\tuhopuu2\source\blender\blenkernel\intern\texture.c(48): fatal error C1083: Cannot open include file: 'MEM_guardedalloc.h': No such file or directory
D:\blender\tuhopuu2\source\blender\blenkernel\intern\world.c(38): fatal error C1083: Cannot open include file: 'MEM_guardedalloc.h': No such file or directory
D:\blender\tuhopuu2\source\blender\blenkernel\intern\writeavi.c(46): fatal error C1083: Cannot open include file: 'MEM_guardedalloc.h': No such file or directory
...
What is the current recommended method for building tuhopuu2 under Visual C++ 2003? VC project files would be great; it would allow me to use VC's debugging tools.
Thanks,
Eliot
tuhopuu2 and VC 2003 compile errors
Moderators: jesterKing, stiv
Sure. Here are the first 30 or so.
# Configuration file containing user definable options.
VERSION = '2.32-cvs'
BUILD_BINARY = 'release'
USE_BUILDINFO = 'false'
BUILD_BLENDER_DYNAMIC = 'true'
BUILD_BLENDER_STATIC = 'false'
BUILD_BLENDER_PLAYER = 'false'
BUILD_BLENDER_PLUGIN = 'false'
BUILD_DIR = '..\\build\\win32\\'
# Extra compiler flags can be defined here.
DEFINES = []
CCFLAGS = []
CXXFLAGS = []
LDFLAGS = []
USE_INTERNATIONAL = 'true'
BUILD_GAMEENGINE = 'false'
USE_PHYSICS = 'solid'
USE_OPENAL = 'true'
USE_FMOD = 'false'
USE_QUICKTIME = 'true'
# Compiler information.
HOST_CC = 'cl'
HOST_CXX = '$CC'
TARGET_CC = 'cl'
TARGET_CXX = '$CC'
TARGET_AR = 'lib'
# Configuration file containing user definable options.
VERSION = '2.32-cvs'
BUILD_BINARY = 'release'
USE_BUILDINFO = 'false'
BUILD_BLENDER_DYNAMIC = 'true'
BUILD_BLENDER_STATIC = 'false'
BUILD_BLENDER_PLAYER = 'false'
BUILD_BLENDER_PLUGIN = 'false'
BUILD_DIR = '..\\build\\win32\\'
# Extra compiler flags can be defined here.
DEFINES = []
CCFLAGS = []
CXXFLAGS = []
LDFLAGS = []
USE_INTERNATIONAL = 'true'
BUILD_GAMEENGINE = 'false'
USE_PHYSICS = 'solid'
USE_OPENAL = 'true'
USE_FMOD = 'false'
USE_QUICKTIME = 'true'
# Compiler information.
HOST_CC = 'cl'
HOST_CXX = '$CC'
TARGET_CC = 'cl'
TARGET_CXX = '$CC'
TARGET_AR = 'lib'