Topic: [QUESTION] Visual studios 2010 compiling ??
Hello, i am new to teeworlds community and i was wandering if it is possible to compile using vs10?
There is only a bam executable for VS8,9 it seems /:
You are not logged in. Please login or register.
Teeworlds Forum → Development → [QUESTION] Visual studios 2010 compiling ??
Hello, i am new to teeworlds community and i was wandering if it is possible to compile using vs10?
There is only a bam executable for VS8,9 it seems /:
well i never sucessed at using vs10 to compile bam, but once you compiled bam you can use vs10 to compile source.
So just download the trail version, compile bam, and delete vs8 again
Well i just changed my "make_win32_msvc.bat" to:
@echo off
:: Check for Visual Studio
if exist "%VS90COMNTOOLS%" (
set VSPATH="%VS100COMNTOOLS%"
goto compile
)
if exist "%VS80COMNTOOLS%" (
set VSPATH="%VS80COMNTOOLS%"
goto compile
)
if exist "%VS100COMNTOOLS%" (
set VSPATH="%VS100COMNTOOLS%"
goto compile
)
echo You need Microsoft Visual Studio 8 or 9 installed
pause
exit
:compile
call %VSPATH%vsvars32.bat
@cl /D_CRT_SECURE_NO_DEPRECATE /O2 /nologo src/tools/txt2c.c /Fesrc/tools/txt2c.exe
@src\tools\txt2c src\base.lua src\driver_gcc.lua src\driver_cl.lua > src\internal_base.h
@cl /D_CRT_SECURE_NO_DEPRECATE /W3 /TC /O2 /nologo /I src/lua src/lua/*.c src/*.c /Febam.exe
@del *.obj
All i did was adding the
if exist "%VS100COMNTOOLS%" (
set VSPATH="%VS100COMNTOOLS%"
goto compile
)
to the batch file, and it worked, tho it did give me like 3 warnings.. ?
At the end it did say Code was generated..
Teeworlds Forum → Development → [QUESTION] Visual studios 2010 compiling ??
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2009 PunBB.