Added svn:ignore, and (see r2145) removed the current set of environment
variables and replaced them with STK_{INCLUDE,LIB}. Disabled 64-bit warnings, since this flag is deprecated. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2146 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
d70e51de74
commit
eb9d517221
@ -1,11 +1,7 @@
|
||||
basically 4 setups are included in the vc8-project:
|
||||
Basically 4 setups are included in the vc8-project:
|
||||
---------------------------------------------------
|
||||
|
||||
Debug/Release:
|
||||
main setup with openAL & vorbis: HAVE_OPENAL + HAVE_OGGVORBIS
|
||||
|
||||
PlibSoundDebug/PlibSoundRelease:
|
||||
no ogg-sound, no openAL, no vorbis, it is gonna be obsolete, when we move to OpenAL/ogg-vorbis completely
|
||||
The first one is the one currently used and supported,
|
||||
the others are more 'historical' and will be remove soon.
|
||||
|
||||
BulletDebug/BulletRelease:
|
||||
main setup (Debug/Relase) + BULLET
|
||||
@ -15,31 +11,25 @@ BulletDebug/BulletRelease:
|
||||
ReplayDebug/ReplayRelease:
|
||||
main setup (Debug/Relase) + HAVE_GHOST_REPLAY
|
||||
|
||||
Debug/Release:
|
||||
main setup with openAL & vorbis: HAVE_OPENAL + HAVE_OGGVORBIS
|
||||
|
||||
PlibSoundDebug/PlibSoundRelease:
|
||||
no ogg-sound, no openAL, no vorbis, it is gonna be obsolete, when we move to OpenAL/ogg-vorbis completely
|
||||
|
||||
|
||||
create these environment-vars pointing to the folders of your installations:
|
||||
Create these environment-vars pointing to the folders of your installations:
|
||||
----------------------------------------------------------------------------
|
||||
STK_LIB: pointing to a directory containing all libs
|
||||
STK_INCLUDE: pointing to a directory containing all header files.
|
||||
A separate package will be made available which contains all necessary windows
|
||||
files to compile STK. If you prefer to have the packages in separate
|
||||
directories, please add your directories to the paths in visual studio.
|
||||
|
||||
@set PLIB_PATH=C:\libs
|
||||
@set SDL_PATH=C:\libs\SDL-1.2.12
|
||||
@set ALUT_PATH=C:\libs\freealut-1.1.0-bin
|
||||
@set OGG_PATH=C:\libs\libogg-1.1.3
|
||||
@set VORBIS_PATH=C:\libs\libvorbis-1.2.0
|
||||
@set OPENAL_PATH=C:\libs\OpenAL_1_1_SDK
|
||||
@set GLUT_PATH=C:\libs\glut
|
||||
Add the folders of the runtime-dlls to the PATH-variable, this is what i had to put:
|
||||
(or copy the .dll files in the root directory of supertuxkart).
|
||||
|
||||
PLIB_PATH must be set to the parent-folder, i.e. my folder is "C:\libs\plib", but in the sources it is included
|
||||
as <plib/...h>, so we can use "$(PLIB_PATH)" for includes and "$(PLIB_PATH)/plib" for addiational-lib-directory
|
||||
|
||||
|
||||
add the folders of the runtime-dlls to the PATH-variable, this is what i had to put:
|
||||
|
||||
C:\libs\SDL-1.2.12\lib;C:\libs\freealut-1.1.0-bin\lib;C:\libs\libogg-1.1.3\win32\VS2003\libogg\Release;C:\libs\libvorbis-1.2.0\win32\VS2005\libvorbis\Release;C:\libs\libvorbis-1.2.0\win32\VS2005\libvorbisfile\Release;C:\libs\plib;
|
||||
|
||||
|
||||
|
||||
remarks for OpenAL-installation:
|
||||
Remarks for OpenAL-installation:
|
||||
--------------------------------
|
||||
|
||||
my version of OpenAL 1.1-SDK didn't put its includes in OpenAL/include/AL but in OpenAL/include.
|
||||
My version of OpenAL 1.1-SDK didn't put its includes in OpenAL/include/AL but in OpenAL/include.
|
||||
if yours did the same, create the folder OpenAL/include/AL and copy all the includes there.
|
||||
|
@ -42,7 +42,7 @@
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="..\..\bullet\src;"$(GLUT_PATH)\include";"$(STK_INCLUDE)\include";c:\cygwin\home\joerg\local\include"
|
||||
AdditionalIncludeDirectories="..\..\bullet\src;"$(STK_INCLUDE)""
|
||||
PreprocessorDefinitions="WIN32;BT_NO_PROFILE"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
@ -108,7 +108,7 @@
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
WholeProgramOptimization="false"
|
||||
AdditionalIncludeDirectories="..\..\bullet\src;"$(GLUT_PATH)\include""
|
||||
AdditionalIncludeDirectories="..\..\bullet\src;"$(STK_INCLUDE)""
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;BT_NO_PROFILE"
|
||||
MinimalRebuild="true"
|
||||
RuntimeLibrary="0"
|
||||
|
@ -516,7 +516,7 @@
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
WholeProgramOptimization="false"
|
||||
AdditionalIncludeDirectories="./../../../src;"$(PLIB_PATH)\xx";"$(SDL_PATH)\include";"$(ALUT_PATH)\include";"$(OGG_PATH)\include";"$(VORBIS_PATH)\include";"$(OPENAL_PATH)\include";"$(OPENAL_PATH)\include\AL";../../../src/bullet/src;"$(GLUT_PATH)\include";"$(GETTEXT_PATH)\include";"$(STK_INCLUDE)""
|
||||
AdditionalIncludeDirectories="../../../src;../../../src/bullet/src;"$(STK_INCLUDE)""
|
||||
PreprocessorDefinitions="BT_NO_PROFILE;HAVE_OPENAL;HAVE_OGGVORBIS;_DEBUG;_CONSOLE;WIN32;NOMINMAX;VERSION=\"SVN\";_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;DEBUG;PACKAGE=\"supertuxkart\""
|
||||
GeneratePreprocessedFile="0"
|
||||
MinimalRebuild="true"
|
||||
@ -542,7 +542,7 @@
|
||||
AdditionalDependencies="opengl32.lib user32.lib gdi32.lib winmm.lib advapi32.lib SDL.lib SDLmain.lib OpenAL32.lib libogg.lib libvorbis.lib libvorbisfile.lib sg.lib ssg.lib ul.lib ssgAux.lib fnt.lib intl.lib"
|
||||
OutputFile="./../../../$(ProjectName)_bullet_d.exe"
|
||||
LinkIncremental="2"
|
||||
AdditionalLibraryDirectories=""$(SDL_PATH)\lib";"$(PLIB_PATH)\plib";"$(OPENAL_PATH)\libs\Win32";"$(ALUT_PATH)\lib";"$(OGG_PATH)\win32\VS2003\libogg\Release";"$(VORBIS_PATH)\win32\VS2005\libvorbis\Release";"$(VORBIS_PATH)\win32\VS2005\libvorbisfile\Release";"$(GLUT_PATH)\xx";"$(GETTEXT_PATH)\lib";"$(STK_LIB)\lib";c:\cygwin\home\joerg\local\lib"
|
||||
AdditionalLibraryDirectories=""$(STK_LIB)""
|
||||
IgnoreAllDefaultLibraries="false"
|
||||
IgnoreDefaultLibraryNames="libcmt.lib"
|
||||
GenerateDebugInformation="true"
|
||||
@ -604,7 +604,7 @@
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
WholeProgramOptimization="true"
|
||||
AdditionalIncludeDirectories="./../../../src;"$(PLIB_PATH)";"$(SDL_PATH)\include";"$(ALUT_PATH)\include";"$(OGG_PATH)\include";"$(VORBIS_PATH)\include";"$(OPENAL_PATH)\include";"$(OPENAL_PATH)\include\AL";../../../src/bullet/src;"$(GLUT_PATH)\include""
|
||||
AdditionalIncludeDirectories="../../../src;../../../src/bullet/src;"$(STK_INCLUDE)""
|
||||
PreprocessorDefinitions="HAVE_OPENAL;HAVE_OGGVORBIS;NDEBUG;_CONSOLE;WIN32;NOMINMAX;VERSION=\"SVN\";_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;BT_NO_PROFILE;PACKAGE=\"supertuxkart\";HAS_GETTEXT"
|
||||
RuntimeLibrary="2"
|
||||
UsePrecompiledHeader="0"
|
||||
@ -623,10 +623,10 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="opengl32.lib user32.lib gdi32.lib winmm.lib advapi32.lib SDL.lib SDLmain.lib OpenAL32.lib alut.lib libogg.lib libvorbis.lib libvorbisfile.lib sg.lib ssg.lib ul.lib ssgAux.lib fnt.lib intl.lib"
|
||||
AdditionalDependencies="opengl32.lib user32.lib gdi32.lib winmm.lib advapi32.lib SDL.lib SDLmain.lib OpenAL32.lib libogg.lib libvorbis.lib libvorbisfile.lib sg.lib ssg.lib ul.lib ssgAux.lib fnt.lib intl.lib"
|
||||
OutputFile="./../../../$(ProjectName)_bullet.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories=""$(SDL_PATH)\lib";"$(PLIB_PATH)\plib";"$(OPENAL_PATH)\libs\Win32";"$(ALUT_PATH)\lib";"$(OGG_PATH)\win32\VS2003\libogg\Release";"$(VORBIS_PATH)\win32\VS2005\libvorbis\Release";"$(VORBIS_PATH)\win32\VS2005\libvorbisfile\Release";"$(GLUT_PATH)""
|
||||
AdditionalLibraryDirectories=""$(STK_LIB)""
|
||||
IgnoreDefaultLibraryNames="libcmt.lib"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="1"
|
||||
|
Loading…
Reference in New Issue
Block a user