1

Topic: [HELP] Compiling error under windows

I've searched for the solution here and I found out that this is a common mistake.. but I still didn't find the solution.

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

E:\>%comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvars
all.bat"" x86
Setting environment for using Microsoft Visual Studio 2010 x86 tools.

E:\>cd Teeworlds\tws

E:\Teeworlds\tws>e:\bam\bam release
auto configuration

configuration:
AUTO  compiler             cl
AUTO  stackprotector       yes
AUTO  minmacosxsdk         yes
AUTO  macosxppc            no
AUTO  zlib                 not found
AUTO  sdl                  using supplied win32 libraries
AUTO  freetype             using supplied win32 libraries

notes:
saved configuration to 'config.lua'

[  1/161] #1 c++ src/tools/crapnet.cpp
[  2/161] #1 c++ src/engine/shared/compression.cpp
[  3/161] #1 c++ src/engine/shared/config.cpp
[  4/161] #1 c++ src/engine/shared/console.cpp
[  5/161] #1 c++ src/engine/shared/datafile.cpp
[  6/161] #1 c++ src/engine/shared/demo.cpp
[  7/161] #1 c++ src/engine/shared/econ.cpp
[  8/161] #1 c++ src/engine/shared/engine.cpp
[  9/161] #1 c++ src/engine/shared/filecollection.cpp
[ 10/161] #1 c++ src/engine/shared/huffman.cpp
[ 11/161] #1 c++ src/engine/shared/jobs.cpp
[ 12/161] #1 c++ src/engine/shared/kernel.cpp
[ 13/161] #1 c++ src/engine/shared/linereader.cpp
[ 14/161] #1 c++ src/engine/shared/map.cpp
[ 15/161] #1 c++ src/engine/shared/mapchecker.cpp
[ 16/161] #1 c++ src/engine/shared/masterserver.cpp
[ 17/161] #1 c++ src/engine/shared/memheap.cpp
[ 18/161] #1 c++ src/engine/shared/netban.cpp
[ 19/161] #1 c++ src/engine/shared/network.cpp
[ 20/161] #1 c++ src/engine/shared/network_client.cpp
[ 21/161] #1 c++ src/engine/shared/network_conn.cpp
[ 22/161] #1 c++ src/engine/shared/network_console.cpp
[ 23/161] #1 c++ src/engine/shared/network_console_conn.cpp
[ 24/161] #1 c++ src/engine/shared/network_server.cpp
[ 25/161] #1 c++ src/engine/shared/packer.cpp
[ 26/161] #1 c++ src/engine/shared/ringbuffer.cpp
[ 27/161] #1 c++ src/engine/shared/snapshot.cpp
[ 28/161] #1 c++ src/engine/shared/storage.cpp
[ 29/161] #1 c src/base/system.c
[ 30/161] #1 c src/engine/external/zlib/adler32.c
[ 31/161] #1 c src/engine/external/zlib/compress.c
[ 32/161] #1 c src/engine/external/zlib/crc32.c
[ 33/161] #1 c src/engine/external/zlib/deflate.c
[ 34/161] #1 c src/engine/external/zlib/infback.c
[ 35/161] #1 c src/engine/external/zlib/inffast.c
[ 36/161] #1 c src/engine/external/zlib/inflate.c
[ 37/161] #1 c src/engine/external/zlib/inftrees.c
[ 38/161] #1 c src/engine/external/zlib/trees.c
[ 39/161] #1 c src/engine/external/zlib/uncompr.c
[ 40/161] #1 c src/engine/external/zlib/zutil.c
[ 41/161] #1 c src/engine/external/pnglite/pnglite.c
[ 42/161] #1 link crapnet.exe
[ 43/161] #1 c++ src/tools/dilate.cpp
[ 44/161] #1 link dilate.exe
[ 45/161] #1 c++ src/tools/fake_server.cpp
[ 46/161] #1 link fake_server.exe
[ 47/161] #1 c++ src/tools/map_resave.cpp
[ 48/161] #1 link map_resave.exe
[ 49/161] #1 c++ src/tools/map_version.cpp
[ 50/161] #1 link map_version.exe
[ 51/161] #1 c++ src/tools/packetgen.cpp
[ 52/161] #1 link packetgen.exe
[ 53/161] #1 c++ src/tools/tileset_borderadd.cpp
[ 54/161] #1 link tileset_borderadd.exe
[ 55/161] #1 c++ src/tools/tileset_borderfix.cpp
[ 56/161] #1 link tileset_borderfix.exe
[ 57/161] #1 c++ src/tools/tileset_borderrem.cpp
[ 58/161] #1 link tileset_borderrem.exe
[ 59/161] #1 c++ src/tools/tileset_borderset.cpp
[ 60/161] #1 link tileset_borderset.exe
[ 61/161] #1 c++ src/mastersrv/mastersrv.cpp
[ 62/161] #1 link mastersrv.exe
[ 63/161] #1 network_header > src/game/generated/protocol.h
[ 64/161] #1 cmd5 src/game/generated/nethash.cpp
[ 65/161] #1 c++ src/versionsrv/versionsrv.cpp
[ 66/161] #1 link versionsrv.exe
[ 67/161] #1 c++ src/engine/server/register.cpp
[ 68/161] #1 c++ src/engine/server/server.cpp
[ 69/161] #1 c++ src/game/collision.cpp
[ 70/161] #1 c++ src/game/gamecore.cpp
[ 71/161] #1 c++ src/game/layers.cpp
[ 72/161] #1 c++ src/game/localization.cpp
[ 73/161] #1 c++ src/game/generated/nethash.cpp
[ 74/161] #1 network_source > src/game/generated/protocol.cpp
[ 75/161] #1 c++ src/game/generated/protocol.cpp
[ 76/161] #1 server_content_header > src/game/generated/server_data.h
[ 77/161] #1 c++ src/game/server/entities/character.cpp
[ 78/161] #1 c++ src/game/server/entities/flag.cpp
[ 79/161] #1 c++ src/game/server/entities/laser.cpp
[ 80/161] #1 c++ src/game/server/entities/pickup.cpp
[ 81/161] #1 c++ src/game/server/entities/projectile.cpp
[ 82/161] #1 c++ src/game/server/entity.cpp
[ 83/161] #1 c++ src/game/server/eventhandler.cpp
[ 84/161] #1 c++ src/game/server/gamecontext.cpp
[ 85/161] #1 c++ src/game/server/gamecontroller.cpp
[ 86/161] #1 c++ src/game/server/gamemodes/ctf.cpp
[ 87/161] #1 c++ src/game/server/gamemodes/dm.cpp
[ 88/161] #1 c++ src/game/server/gamemodes/mod.cpp
[ 89/161] #1 c++ src/game/server/gamemodes/tdm.cpp
[ 90/161] #1 c++ src/game/server/gameworld.cpp
[ 91/161] #1 c++ src/game/server/player.cpp
[ 92/161] #1 server_content_source > src/game/generated/server_data.cpp
[ 93/161] #1 c++ src/game/generated/server_data.cpp
[ 94/161] #1 rc other/icons/teeworlds_srv_cl.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
Copyright (C) Microsoft Corporation.  All rights reserved.

[ 95/161] #1 link teeworlds_srv.exe
[ 96/161] #1 client_content_header > src/game/generated/client_data.h
[ 97/161] #1 c++ src/game/client/animstate.cpp
[ 98/161] #1 c++ src/game/client/components/binds.cpp
[ 99/161] #1 c++ src/game/client/components/broadcast.cpp
[100/161] #1 c++ src/game/client/components/camera.cpp
[101/161] #1 c++ src/game/client/components/chat.cpp
[102/161] #1 c++ src/game/client/components/console.cpp
[103/161] #1 c++ src/game/client/components/controls.cpp
[104/161] #1 c++ src/game/client/components/countryflags.cpp
[105/161] #1 c++ src/game/client/components/damageind.cpp
[106/161] #1 c++ src/game/client/components/debughud.cpp
[107/161] #1 c++ src/game/client/components/effects.cpp
[108/161] #1 c++ src/game/client/components/emoticon.cpp
[109/161] #1 c++ src/game/client/components/flow.cpp
[110/161] #1 c++ src/game/client/components/hud.cpp
[111/161] #1 c++ src/game/client/components/items.cpp
[112/161] #1 c++ src/game/client/components/killmessages.cpp
[113/161] #1 c++ src/game/client/components/mapimages.cpp
[114/161] #1 c++ src/game/client/components/maplayers.cpp
[115/161] #1 c++ src/game/client/components/menus.cpp
[116/161] #1 c++ src/game/client/components/menus_browser.cpp
[117/161] #1 c++ src/game/client/components/menus_demo.cpp
[118/161] #1 c++ src/game/client/components/menus_ingame.cpp
[119/161] #1 c++ src/game/client/components/menus_settings.cpp
[120/161] #1 c++ src/game/client/components/motd.cpp
[121/161] #1 c++ src/game/client/components/nameplates.cpp
[122/161] #1 c++ src/game/client/components/particles.cpp
[123/161] #1 c++ src/game/client/components/players.cpp
[124/161] #1 c++ src/game/client/components/scoreboard.cpp
[125/161] #1 c++ src/game/client/components/skins.cpp
[126/161] #1 c++ src/game/client/components/sounds.cpp
[127/161] #1 c++ src/game/client/components/spectator.cpp
[128/161] #1 c++ src/game/client/components/voting.cpp
[129/161] #1 c++ src/game/client/gameclient.cpp
[130/161] #1 c++ src/game/client/lineinput.cpp
[131/161] #1 c++ src/game/client/render.cpp
[132/161] #1 c++ src/game/client/render_map.cpp
[133/161] #1 c++ src/game/client/ui.cpp
[134/161] #1 client_content_source > src/game/generated/client_data.cpp
[135/161] #1 c++ src/game/generated/client_data.cpp
[136/161] #1 c++ src/engine/client/backend_sdl.cpp
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\intrin.h(26) : fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direct
ory
bam: 'objs/engine/client/backend_sdl.obj' error 2
[137/161] #1 c++ src/engine/client/client.cpp
[138/161] #1 c++ src/engine/client/friends.cpp
[139/161] #1 c++ src/engine/client/graphics.cpp
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\intrin.h(26) : fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direct
ory
bam: 'objs/engine/client/graphics.obj' error 2
[140/161] #1 c++ src/engine/client/graphics_threaded.cpp
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\intrin.h(26) : fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direct
ory
bam: 'objs/engine/client/graphics_threaded.obj' error 2
[141/161] #1 c++ src/engine/client/input.cpp
[142/161] #1 c++ src/engine/client/serverbrowser.cpp
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\intrin.h(26) : fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direct
ory
bam: 'objs/engine/client/serverbrowser.obj' error 2
[143/161] #1 c++ src/engine/client/sound.cpp
[144/161] #1 c++ src/engine/client/text.cpp
[145/161] #1 c++ src/game/editor/auto_map.cpp
[146/161] #1 c++ src/game/editor/editor.cpp
[147/161] #1 c++ src/game/editor/io.cpp
[148/161] #1 c++ src/game/editor/layer_game.cpp
[149/161] #1 c++ src/game/editor/layer_quads.cpp
[150/161] #1 c++ src/game/editor/layer_tiles.cpp
[151/161] #1 c++ src/game/editor/popups.cpp
[152/161] #1 c src/engine/external/wavpack/bits.c
[153/161] #1 c src/engine/external/wavpack/float.c
[154/161] #1 c src/engine/external/wavpack/metadata.c
[155/161] #1 c src/engine/external/wavpack/unpack.c
[156/161] #1 c src/engine/external/wavpack/words.c
[157/161] #1 c src/engine/external/wavpack/wputils.c
[158/161] #1 rc other/icons/teeworlds_cl.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
Copyright (C) Microsoft Corporation.  All rights reserved.

[159/161] #1 copy other\freetype\lib32\freetype.dll -> freetype.dll
[160/161] #1 copy other\sdl\lib32\SDL.dll -> SDL.dll
bam: error: a build step failed

I'm still struggling with this error. I don't have idea what causes it.. Any ideas?

2 (edited by TT <3 2015-06-14 03:03:40)

Re: [HELP] Compiling error under windows

Is Visual Studio 2010 Service Pack 1 installed?
If not -> install

3

Re: [HELP] Compiling error under windows

Yes, before I had "lnk1123 failure during conversion to coff file invalid or corrupt" error too, and after some search I found that installing VS 2010 SP1 is the solution for it. But this bam error still here, and I don't have any idea what can fix it.