Difference between revisions of "Building from source"

From SfzWiki
Jump to: navigation, search
(dependencies (linux and win))
Line 12: Line 12:
 
* SDL-1.2.11 http://www.libsdl.org/download-1.2.php
 
* SDL-1.2.11 http://www.libsdl.org/download-1.2.php
 
* fmod 4.* http://www.fmod.org/index.php/download#FMODExProgrammersAPI  (you need the Ex package)
 
* fmod 4.* http://www.fmod.org/index.php/download#FMODExProgrammersAPI  (you need the Ex package)
 +
* ODE physics engine http://www.ode.org/
 
* zlib (static)
 
* zlib (static)
 
:get the static zlib from this package:
 
:get the static zlib from this package:
Line 20: Line 21:
 
* OIS  http://sourceforge.net/projects/wgois
 
* OIS  http://sourceforge.net/projects/wgois
 
* freeimage  http://freeimage.sourceforge.net/download.html
 
* freeimage  http://freeimage.sourceforge.net/download.html
 
+
* OpenAL (optional)
OpenAL (optional)
+
 
* libogg libvorbis http://xiph.org/downloads/
 
* libogg libvorbis http://xiph.org/downloads/
 
* OpenAL and freealut http://openal.org/downloads.html
 
* OpenAL and freealut http://openal.org/downloads.html

Revision as of 16:52, 22 August 2007

see also the textfile INSTALL in the main dir

For building the Updater from source see UpdaterBuildingFromSource

problems with fmod ? you can try using openal instead, see BuildingWithOpenAL

dependencies (linux and win)

Windows & Linux

get the static zlib from this package:
Visual C++.Net 2005 (8.0) SP1 Precompiled Dependencies 1.4.x

Linux only

linux with make, automake and autoconf

  • libtool
  • AUTOMAKE >= 1.7
  • AUTOCONF >= 2.5
  • sh bootstrap && sh configure && make

WIN32 with Visual C++ 8.0 Express

  • configure library and include paths yourself:
    • menu : extras : options
    • projects : VC++ directories
    • at the top-right corner choose "libraries" and "includes" from the dropdown and include these paths
      • "libraries"
	libraries:
	C:\sfzlibs\ogre\lib
	C:\sfzlibs\psdk\Lib
	C:\sfzlibs\lua50\lib
	C:\sfzlibs\SDL-1.2.11\lib
	C:\sfzlibs\fmodx\lib
	C:\sfzlibs\zlib\lib (taken as static lib from Precompiled Dependencies)

	includes:
	C:\sfzlibs\ogre\include
	C:\sfzlibs\ogre\include\OIS
	C:\sfzlibs\lua50\source\include
	C:\sfzlibs\SDL-1.2.11\include
	C:\sfzlibs\fmodx\include
	C:\sfzlibs\zlib\include\ (taken as static lib from Precompiled Dependencies)

        OpenAL (optional)
        -----------------
        libraries:
	C:\sfzlibs\openalsdk\lib
        C:\sfzlibs\freealut\lib
	C:\sfzlibs\libogg\win32\Dynamic_Release
	C:\sfzlibs\libvorbis\win32\Vorbis_Dynamic_Release
	C:\sfzlibs\libvorbis\win32\VorbisFile_Dynamic_Release

        includes:
	C:\sfzlibs\openalsdk\include
        C:\sfzlibs\freealut\include
	C:\sfzlibs\libogg\include
	C:\sfzlibs\libvorbis\include


  • compile - release build


  • copy the following dlls into the "\" (root) directory:
	cg.dll  (for shaders, see nvidia hp)
	fmodex.dll (soundsystem)
	OgreMain.dll
	OIS.dll
	Plugin_CgProgramManager.dll (ogre plugin)
	Plugin_OctreeSceneManager.dll (ogre plugin)
	Plugin_ParticleFX.dll (ogre plugin)
	RenderSystem_Direct3D9.dll (ogre plugin)
	RenderSystem_GL.dll (ogre plugin)
	SDL.dll

        OpenAL (optional)
        -----------------
	alut.dll  (openal)
	ogg.dll   (ogg vorbis)
	vorbis.dll (ogg vorbis)
	vorbisenc.dll (ogg vorbis)
	vorbisfile.dll (ogg vorbis)