Name | Modified | Size | Downloads / Week |
---|---|---|---|
gsim_linux.out.tar.gz | 2015-05-17 | 63.5 kB | |
license.txt | 2015-05-17 | 35.8 kB | |
gsim_pack_w7.zip | 2015-05-13 | 1.7 MB | |
readme.txt | 2015-05-13 | 2.0 kB | |
gsim_src.zip | 2015-05-13 | 90.4 kB | |
gsim_port_w7.zip | 2015-05-13 | 933.4 kB | |
Totals: 6 Items | 2.8 MB | 0 |
INSTALLING, COMPILING AND RUNNING THIS PROJECT ---------------------------------------------- IN WINDOWS ---------- 1) Install the C/C++ compiler of the MinGW distribution for Windows-32Bits. 2) Install the Allegro Multimedia Library version 4.4.2. Recommended: Integrate the 3 folders [\bin] [\include] [\lib] with the corresponding installed MinGW distribution folders. 3) Add the [\bin] route path to your PATH environment variable. 4) In the Source directory of this project, type: >g++ main.cpp -o main.exe -static-libstdc++ -lallegro-4.4.2-md 5) To run the program "main.exe", type: >main 6) Additionally, depending on the compilation process, you should need to add the following libraries (DLLs) located at the same folder of the program "main.exe": <libgcc_s_dw2-1.dll> from the MinGW distribution [\bin] <libstdc++-6.dll> from the MinGW distribution [\bin] <allegro-4.4.2-md.dll> from the Allegro distribution [\bin] 7) Note: These dynamic libraries and this program are free software. The DLLs files are located in the [dlls] folder of this package. IN LINUX -------- 1) Install and/or update the gcc/g++, i.e. C/C++ compilers for Linux. >sudo apt-get update >sudo apt-get install build-essential 2) Install the Allegro Multimedia Library for Linux: >sudo apt-get install liballegro4.2-dev 3) Note: this project is full compatible for both Allegro-versions: v4.2 and v4.4. 4) Additionally, to clean and update your installed software: >sudo apt-get autoremove 5) Compile the project, linking with Allegro-Library: >g++ main.cpp -o main.out `allegro-config --libs` 6) If you need to add execute permissions to run the program: >chmod +x main.out 7) Running the program: >./main.out