$ ../bam-0.5.0/bam.exe arch=x86_64 conf=release
[1/1] [1] link build/x86_64/release/teeworlds.exe
c:/loosyspace/additionalstuff/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: cannot find -lfreetype
collect2.exe: error: ld returned 1 exit status
bam.exe: 'link build/x86_64/release/teeworlds.exe' error 1
bam.exe: error: a build step failed
The procedure entry point was not found _ZdlPvj
undefined reference to 'SDL_GetError'
(edited)vcvarsall.bat
from 2017[12/68] [4] c++ src/engine/shared/network_token.cpp
'cl' is not recognized as an internal or external command,
operable program or batch file.
pushd "%~dp0"
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
call "..\bam-0.5.0\bam.exe" config compiler=cl
call "..\bam-0.5.0\bam.exe" conf=release -f
cmd /k
vcvarsall.bat amd64
, to enable CL.exeECHO OFF
pushd "%~dp0"
CLS
SET VC="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat"
SET BAMPATH="..\bam-0.5.0\bam.exe"
:MENU
echo.
echo ...................................................
echo PRESS 1, 2, 3, 4, 5, 6 to select your task, or 7 to EXIT
echo ...................................................
echo.
echo 1 - Set compiler
echo 2 - Clean
echo 3 - Full Debug
echo 4 - Full Release
echo 5 - Server Debug
echo 6 - Server Release
echo 7 - EXIT
echo.
SET /P M=Type menu number, then press ENTER:
IF %M%==1 GOTO SET_COMPILER
IF %M%==2 GOTO CLEAN
IF %M%==3 GOTO F_DEBUG
IF %M%==4 GOTO F_RELEASE
IF %M%==5 GOTO S_DEBUG
IF %M%==6 GOTO S_RELEASE
IF %M%==7 GOTO EOF
:SET_COMPILER
call %%BAMPATH%% config compiler=cl
GOTO MENU
:CLEAN
call %%BAMPATH%% -c
GOTO MENU
:F_DEBUG
call %%VC%% amd64
call %%BAMPATH%% conf=debug -f
GOTO EOF
:F_RELEASE
call %%VC%% amd64
call %%BAMPATH%% conf=release -f
GOTO EOF
:S_DEBUG
call %%VC%% amd64
call %%BAMPATH%% conf=debug server
GOTO EOF
:S_RELEASE
call %%VC%% amd64
call %%BAMPATH%% conf=release server
GOTO EOF
:EOF
cmd /k
restart 15
Angle
.