[Bf-committers] succesfull msvc building

Rob Haarsma bf-committers@blender.org
Mon, 16 Dec 2002 16:11:32 +0100


thanks for all your previous replies on my post.
Here's what i did to build

load
D:\blenderdev\blenderlatest\blender\intern\make\msvc_6_0\intern.dsw
set active project to "build_install_all - win32 release"

intern.dsw builds fine, as long as python is build/installed in 
c:\python2.2.2  (get the official sourcetree python, not the 
selfextracting win installer, the official sourcetree contains msvc
projectfiles too)

load 
D:\blenderdev\blenderlatest\blender\projectfiles\creator\blendercreator.dsw
make following changes to get the stuff compiled

in SND_OpenALDevice.cpp:
ALenum alc_error = alcGetError(NULL);
needs to be: ALenum alc_error = alcGetError();

in the BPY_frozen project
delete all files from the source directory in the workspace and add all
files from the blender\source\blender\bpython\frozen\ directory
(there are some references to unexisting files)

in the PHY_Ode project
I replaced the entire blender\source\ode directory with a previously
build working ODE tree (so msvc is able to find the file ode\config.h)

three errors
D:\blenderdev\blenderlatest\blender\source\gameengine\Physics\BlOde\OdePhysicsController.cpp(266) 
: error C2664: 'getWorldOrientation' : cannot convert parameter 1 from 
'float' to 'float &'
         A reference that is not to 'const' cannot be bound to a non-lvalue
D:\blenderdev\blenderlatest\blender\source\gameengine\Physics\BlOde\OdePhysicsController.cpp(356) 
: error C2664: 'getWorldOrientation' : cannot convert parameter 1 from 
'float' to 'float &'
         A reference that is not to 'const' cannot be bound to a non-lvalue
D:\blenderdev\blenderlatest\blender\source\gameengine\Physics\BlOde\OdePhysicsController.cpp(486) 
: error C2664: 'getWorldOrientation' : cannot convert parameter 1 from 
'float' to 'float &'
         A reference that is not to 'const' cannot be bound to a non-lvalue

for now i just commented the 'getWorldOrientation' references out... 
it'll build then ;)

and apart from one link warning:
LINK : warning LNK4049: locally defined symbol "__iob" imported

the Blendercreator.exe builds fine. Make sure to put fmod.dll and 
python22.dll in your path or copy it to c:\windows\system

greetings,

Rob