Compiling Blitz3D from Source

Blitz3D Forums/Blitz3D Beginners Area/Compiling Blitz3D from Source

RustyKristi(Posted 2014) [#1]
I'm trying to compile blitz3d from source. But im getting errors on the bbruntime part.

Has anyone already tried this? What DirectX SDK to use and how to properly set this up?

I'm currently using Win 7 and VS 6, with DirectX SDK August 2007.

Here are part of the errors generated:

--------------------Configuration: bbruntime - Win32 Blitz3DRelease--------------------
Compiling...
basic.cpp
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2143: syntax error : missing ';' before '*'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'IDirectInput7' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'dirInput' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2629: unexpected 'class gxInput ('
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2238: unexpected token(s) preceding ';'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : error C2146: syntax error : missing ';' before identifier 'ddSurf'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : fatal error C1004: unexpected end of file found
bbaudio.cpp
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2143: syntax error : missing ';' before '*'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'IDirectInput7' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'dirInput' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2629: unexpected 'class gxInput ('
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2238: unexpected token(s) preceding ';'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : error C2146: syntax error : missing ';' before identifier 'ddSurf'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : fatal error C1004: unexpected end of file found
bbbank.cpp
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2143: syntax error : missing ';' before '*'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'IDirectInput7' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'dirInput' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2629: unexpected 'class gxInput ('
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2238: unexpected token(s) preceding ';'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : error C2146: syntax error : missing ';' before identifier 'ddSurf'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : fatal error C1004: unexpected end of file found
bbblitz3d.cpp
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2143: syntax error : missing ';' before '*'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'IDirectInput7' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'dirInput' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2629: unexpected 'class gxInput ('
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2238: unexpected token(s) preceding ';'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : error C2146: syntax error : missing ';' before identifier 'ddSurf'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : fatal error C1004: unexpected end of file found
bbfilesystem.cpp
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2143: syntax error : missing ';' before '*'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'IDirectInput7' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'dirInput' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2629: unexpected 'class gxInput ('
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2238: unexpected token(s) preceding ';'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : error C2146: syntax error : missing ';' before identifier 'ddSurf'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : fatal error C1004: unexpected end of file found
bbgraphics.cpp
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2143: syntax error : missing ';' before '*'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'IDirectInput7' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'dirInput' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2629: unexpected 'class gxInput ('
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2238: unexpected token(s) preceding ';'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : error C2146: syntax error : missing ';' before identifier 'ddSurf'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : fatal error C1004: unexpected end of file found
bbinput.cpp
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2143: syntax error : missing ';' before '*'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'IDirectInput7' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'dirInput' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2629: unexpected 'class gxInput ('
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2238: unexpected token(s) preceding ';'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : error C2146: syntax error : missing ';' before identifier 'ddSurf'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : fatal error C1004: unexpected end of file found
bbruntime.cpp
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2143: syntax error : missing ';' before '*'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'IDirectInput7' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'dirInput' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2629: unexpected 'class gxInput ('
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2238: unexpected token(s) preceding ';'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : error C2146: syntax error : missing ';' before identifier 'ddSurf'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : fatal error C1004: unexpected end of file found
bbsockets.cpp
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2143: syntax error : missing ';' before '*'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'IDirectInput7' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'dirInput' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2629: unexpected 'class gxInput ('
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2238: unexpected token(s) preceding ';'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : error C2146: syntax error : missing ';' before identifier 'ddSurf'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : fatal error C1004: unexpected end of file found
bbstream.cpp
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2143: syntax error : missing ';' before '*'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'IDirectInput7' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'dirInput' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2629: unexpected 'class gxInput ('
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2238: unexpected token(s) preceding ';'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : error C2146: syntax error : missing ';' before identifier 'ddSurf'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : fatal error C1004: unexpected end of file found
bbstring.cpp
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2143: syntax error : missing ';' before '*'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'IDirectInput7' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'dirInput' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2629: unexpected 'class gxInput ('
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2238: unexpected token(s) preceding ';'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : error C2146: syntax error : missing ';' before identifier 'ddSurf'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : fatal error C1004: unexpected end of file found
bbsys.cpp
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2143: syntax error : missing ';' before '*'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'IDirectInput7' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'dirInput' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2629: unexpected 'class gxInput ('
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2238: unexpected token(s) preceding ';'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : error C2146: syntax error : missing ';' before identifier 'ddSurf'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : fatal error C1004: unexpected end of file found
multiplay.cpp
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2143: syntax error : missing ';' before '*'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'IDirectInput7' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'dirInput' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2629: unexpected 'class gxInput ('
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2238: unexpected token(s) preceding ';'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : error C2146: syntax error : missing ';' before identifier 'ddSurf'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : fatal error C1004: unexpected end of file found
multiplay_setup.cpp
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2143: syntax error : missing ';' before '*'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'IDirectInput7' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'dirInput' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2629: unexpected 'class gxInput ('
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2238: unexpected token(s) preceding ';'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : error C2146: syntax error : missing ';' before identifier 'ddSurf'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : fatal error C1004: unexpected end of file found
userlibs.cpp
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2143: syntax error : missing ';' before '*'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'IDirectInput7' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(14) : error C2501: 'dirInput' : missing storage-class or type specifiers
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2629: unexpected 'class gxInput ('
C:\blitzsource\blitz3d\bbruntime\../gxruntime/gxinput.h(16) : error C2238: unexpected token(s) preceding ';'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : error C2146: syntax error : missing ';' before identifier 'ddSurf'
C:\blitzsource\blitz3d\bbruntime\../gxruntime/ddutil.h(8) : fatal error C1004: unexpected end of file found



RustyKristi(Posted 2014) [#2]
Finally made it to work! :)

I specifically downloaded dx7.0a sdk then followed Tom's instuctions here:

added 'blitzpath' environment variable then copied fmod.dll to the bin directory.


Chaduke(Posted 2015) [#3]
Can't find the DX7 SDK anymore. Does anyone have the required headers and libs to make compiling possible?


Horax(Posted 2015) [#4]
DXSDK7


Kippykip(Posted 2015) [#5]
Maybe now we can strip out DirectPlay so it doesn't nag people to install it if they're running Windows 8/10


Blitzplotter(Posted 2015) [#6]
When I read this thread title I was thinking jeez, this might be difficult, I'm still steeped in using Blitz3D natively without actually trying to make my own version of it- Well done!