-
Notifications
You must be signed in to change notification settings - Fork 3
Getting Started (for Windows users)
- Download the following dependencies:
- TDM-GCC (or any other GCC based compiler suite, threads: win32, exception: not dwarf)
- Vala (and dependencies), SDL2 (and complements) and Chipmunk (6.2.0 or higher) - with deferenced links.
- (Check "Useful files" on our wiki for pre-built packages if necessary)
- Install then:
- I recommend installing the 32-bits TDM-GCC in "C:\TDM-GCC-32"
- Extract the following "...(mingw-vala+sdl2+chipmunk.7z)\usr\i686-w64-mingw32" to "...(TDM-GCC-32)" and "...(mingw-vala+sdl2+chipmunk.7z)\usr\share" to "...(TDM-GCC-32)\share"
-
Clone or download and extract SDL2 VAPIs to any place you want (you're only will need this files for next step).
-
Copy all files ending in ".vapi" (and ".deps" if exists) to "...(mingw-w64)\mingw32\share\vala\vapi".
-
Clone or download and extract our repository to any place you want (you're gonna need this files forever).
-
Go to "...(avalanche)\sdks\vapi" and repeate 'step 4'.
-
Copy "...(avalanche)\sdks\template" to anywhere you want, feel free to rename it to any desired name, in this new folder your project will be developed.
-
Inside yours project folder, create a ".bat" file to keep your environment variables, something similar to this:
@echo off SET AVALANCHE_DIR=C:\avalanche mingw32-make.exe %*
- For more variable options and documentation, check page "Default Makefile environment variables" on our wiki.
-
When you're ready open a console inside your project folder and run your new bat file.
-
For running you're gonna need to copy the following files from "...(TDM-GCC-32)\bin" into project's "bin" folder:
libbz2-1.dll, libffi-6.dll, libfreetype-6.dll, libgcc_s_sjlj-1.dll, libgee-0.8.dll, libglib-2.0-0.dll, libgobject-2.0-0.dll, libiconv-2.dll, libintl-8.dll, libpng16-16.dll, libSDL2_gfx-1-0-0.dll, libstdc++-6.dll, libwinpthread-1.dll, SDL2.dll, SDL2_image.dll, SDL2_mixer.dll, SDL2_net.dll, SDL2_ttf.dll, smpeg2.dll, zlib1.dll