[Allegro 5] Cmake na windows?
Ostatnio zmodyfikowano 2012-09-23 21:00
ridic14 Temat założony przez niniejszego użytkownika |
[Allegro 5] Cmake na windows? » 2012-09-23 19:54:50 Po pobraniu paczki z Allegro 5 tradycyjnie trzeba sobie "załatwić" pliki które powinny być w folderach bin i lib... a o tym mówi plik tekstowy README_make lecz nie rozumiem go(nie dla tego że jest po angielsku) dlatego że inne biblioteki nie sprawiają takich zagwozdek?! README_make i cmake 2. Create a build directory under the Allegro directory and go there.
cd /path/to/allegro mkdir Build cd Build
3. Run `cmake` with whatever options you want. See README_cmake.txt for details about options you can set.
cmake ..
Here ".." is the path to the Allegro directory.
You may need to tell CMake which "generator" to use; cmake -h will tell you which generators are available. We recommend using the Makefile generator. If `sh.exe` is on your PATH then you must use "MinGW Makefiles".
cmake .. -G "MinGW Makefiles"
4. Now, if that step was successful you can run `make` to build Allegro. On MinGW your make might actually be called `mingw32-make`.
make
Since multicore processors are common now, you might wish to speed that up by passing a "-j<n>" option, where <n> is the number of parallel jobs to spawn.
5. You may optionally install Allegro into your system path with the install target.
make install
MinGW users might need to set the MINGDIR environment variable first.
The DESTDIR variable is supported for staged installs.
make install DESTDIR=/tmp/allegro-package |
Może wie ktoś skąd jak dostać te pliki żeby nie było innych problemów?!? SFML odpada bo to nie chce chodzić(albo wina karty z ATI albo moja) |
|
hincu |
» 2012-09-23 20:49:08 raczej twoja bo karta graficzna nie ma znaczenia |
|
ridic14 Temat założony przez niniejszego użytkownika |
» 2012-09-23 21:00:58 Dobra SFML 2.0 działa:) |
|
« 1 » |