1

Topic: [HELP] with Bam

Hi,
I used to program in MS VC++ and not even setup a Environment variable before, which means I am good (I think) at development, but am not used to setting up the work environment, except installing the IDE.

I like to study the code of Teeworlds to improve my game dev skills smile So, I followed the procedure and installed all the things.

But, I am stuck at the BAM things. When I try run the "make_win32_msvc.bat", inside  VS Command Prompt, I am getting the following:

<code>
Setting environment for using Microsoft Visual Studio 2008 x86 tools.

C:\Program Files\Microsoft Visual Studio 9.0\VC>e:

E:\>cd bam

E:\bam>make_win32_msvc.bat
Setting environment for using Microsoft Visual Studio 2008 x86 tools.
txt2c.c
src/tools/txt2c.c(5) : fatal error C1083: Cannot open include file: 'stdio.h': N
o such file or directory
'src\tools\txt2c' is not recognized as an internal or external command,
operable program or batch file.
lapi.c
src/lua/lapi.c(8) : fatal error C1083: Cannot open include file: 'assert.h': No
such file or directory
lauxlib.c
src/lua/lauxlib.c(8) : fatal error C1083: Cannot open include file: 'ctype.h': N
o such file or directory
lbaselib.c
src/lua/lbaselib.c(9) : fatal error C1083: Cannot open include file: 'ctype.h':
No such file or directory
lcode.c
src/lua/lcode.c(8) : fatal error C1083: Cannot open include file: 'stdlib.h': No
such file or directory
ldblib.c
src/lua/ldblib.c(8) : fatal error C1083: Cannot open include file: 'stdio.h': No
such file or directory
ldebug.c
src/lua/ldebug.c(8) : fatal error C1083: Cannot open include file: 'stdarg.h': N
o such file or directory
ldo.c
src/lua/ldo.c(8) : fatal error C1083: Cannot open include file: 'setjmp.h': No s
uch file or directory
ldump.c
src/lua/ldump.c(7) : fatal error C1083: Cannot open include file: 'stddef.h': No
such file or directory
lfunc.c
src/lua/lfunc.c(8) : fatal error C1083: Cannot open include file: 'stddef.h': No
such file or directory
lgc.c
src/lua/lgc.c(7) : fatal error C1083: Cannot open include file: 'string.h': No s
uch file or directory
linit.c
e:\bam\src\lua\lua.h(12) : fatal error C1083: Cannot open include file: 'stdarg.
h': No such file or directory
liolib.c
src/lua/liolib.c(8) : fatal error C1083: Cannot open include file: 'errno.h': No
such file or directory
llex.c
src/lua/llex.c(8) : fatal error C1083: Cannot open include file: 'ctype.h': No s
uch file or directory
lmathlib.c
src/lua/lmathlib.c(8) : fatal error C1083: Cannot open include file: 'stdlib.h':
No such file or directory
lmem.c
src/lua/lmem.c(8) : fatal error C1083: Cannot open include file: 'stddef.h': No
such file or directory
loadlib.c
src/lua/loadlib.c(12) : fatal error C1083: Cannot open include file: 'stdlib.h':
No such file or directory
lobject.c
src/lua/lobject.c(7) : fatal error C1083: Cannot open include file: 'ctype.h': N
o such file or directory
lopcodes.c
e:\bam\src\lua\llimits.h(11) : fatal error C1083: Cannot open include file: 'lim
its.h': No such file or directory
loslib.c
src/lua/loslib.c(8) : fatal error C1083: Cannot open include file: 'errno.h': No
such file or directory
lparser.c
src/lua/lparser.c(8) : fatal error C1083: Cannot open include file: 'string.h':
No such file or directory
Generating Code...
Compiling...
lstate.c
src/lua/lstate.c(8) : fatal error C1083: Cannot open include file: 'stddef.h': N
o such file or directory
lstring.c
src/lua/lstring.c(8) : fatal error C1083: Cannot open include file: 'string.h':
No such file or directory
lstrlib.c
src/lua/lstrlib.c(8) : fatal error C1083: Cannot open include file: 'ctype.h': N
o such file or directory
ltable.c
src/lua/ltable.c(21) : fatal error C1083: Cannot open include file: 'math.h': No
such file or directory
ltablib.c
src/lua/ltablib.c(8) : fatal error C1083: Cannot open include file: 'stddef.h':
No such file or directory
ltm.c
src/lua/ltm.c(8) : fatal error C1083: Cannot open include file: 'string.h': No s
uch file or directory
lundump.c
src/lua/lundump.c(7) : fatal error C1083: Cannot open include file: 'string.h':
No such file or directory
lvm.c
src/lua/lvm.c(8) : fatal error C1083: Cannot open include file: 'stdio.h': No su
ch file or directory
lzio.c
src/lua/lzio.c(8) : fatal error C1083: Cannot open include file: 'string.h': No
such file or directory
print.c
src/lua/print.c(7) : fatal error C1083: Cannot open include file: 'ctype.h': No
such file or directory
context.c
src/lua\lua.h(12) : fatal error C1083: Cannot open include file: 'stdarg.h': No
such file or directory
dep_cpp.c
src/dep_cpp.c(1) : fatal error C1083: Cannot open include file: 'stdio.h': No su
ch file or directory
main.c
src/main.c(4) : fatal error C1083: Cannot open include file: 'stdio.h': No such
file or directory
mem.c
src/mem.c(1) : fatal error C1083: Cannot open include file: 'stdlib.h': No such
file or directory
node.c
src/node.c(1) : fatal error C1083: Cannot open include file: 'string.h': No such
file or directory
path.c
src/lua\lua.h(12) : fatal error C1083: Cannot open include file: 'stdarg.h': No
such file or directory
support.c
src/support.c(1) : fatal error C1083: Cannot open include file: 'string.h': No s
uch file or directory
Generating Code...
Could Not Find E:\bam\*.obj
</code>


Can some1 tell me, what am I missing?

Thanks

-Saiyasodharan

2

Re: [HELP] with Bam

try just double click directly on make_win32_msvc.bat

3

Re: [HELP] with Bam

tried it already... that aint workin sad

4

Re: [HELP] with Bam

Did you install MSVC 2008 on your PC? It looks like you don't... the bam doesn't find the headers from the standard lib.

Not Luck, Just Magic.

5 (edited by CarmineZ 2010-09-26 22:11:55)

Re: [HELP] with Bam

maybe you not installed python or have a wrong bam version? i have microsoft visual c++ express 2010 and it work very well... i already compiled every bam version, from 0.2.0 (for teeworlds 0.5.2)  to 0.4.0 (for trunk), i has been lucky because never error in bam compiling

6

Re: [HELP] with Bam

I tried the following in VC++

#include<iostream.h>

void main()
{
    cout<<"Hiiiii";
}

and got "Error    1    fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory    d:\documents\visual studio 2008\projects\hi\hi\main.cpp    1    hi"

coming back to vc++ from c# after a long time, maybe its the prob with VC++..
checked the "C:\Program Files\Microsoft Visual Studio 9.0\VC\include" folder and couldnt find many of the standard headers there....

May be re-installing might solve the problem.. I ll try tat then smile

thx for ur replies smile

7

Re: [HELP] with Bam

re - installed VC++ and everything went fine...
successfully compiled the game big_smile

thx every1 :-)

8 (edited by CarmineZ 2010-09-27 17:00:27)

Re: [HELP] with Bam

and now.... can you tell us some news of your future mod?

9

Re: [HELP] with Bam

hmmmm.. well.... wat abt adding a Gravity Gun tongue

wait... lets c if I could understand the existing code

10

Re: [HELP] with Bam

hey ppl... wats with de downvote !!!

As already stated, I am here to improve my knowledge and to get to know the Industry standards in game programming...

which does not mean, I am here just only to help myself,. I might give something back to this community, once I am gud enough to do it :-)

11

Re: [HELP] with Bam

saiy2k wrote:

hey ppl... wats with de downvote !!!

As already stated, I am here to improve my knowledge and to get to know the Industry standards in game programming...

which does not mean, I am here just only to help myself,. I might give something back to this community, once I am gud enough to do it :-)

We helped you to compile Teeworlds, now we do not give support for programming itself.
And I guess what people downvoted is:

you wrote:

wat abt adding a Gravity Gun

Not Luck, Just Magic.

12

Re: [HELP] with Bam

is it just me, or does post hiding now require 3 downvotes?

13

Re: [HELP] with Bam

alias wrote:

is it just me, or does post hiding now require 3 downvotes?

nope, its general, whyever

14

Re: [HELP] with Bam

how will use your gravity gun?