Advertisement
arseniy899

allegro_include

Apr 24th, 2017
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. #console
  2. cd ~; git clone git://github.com/liballeg/allegro5cd allegro5;git checkout 5.2; mkdir build; cd build
  3. sudo ccmake -DCMAKE_INSTALL_PREFIX=/usr ..
  4. #нажать c,c,g
  5. #Если ошибка OPUS, то в окне спустится вниз, до WANT_OPUS, поставить с помощью ENTER'а OFF
  6. sudo make;sudo make install
  7.  
  8. #makeFile
  9. #после переменных флагов добавить
  10. LIBS := `pkg-config --libs allegro-5 allegro_font-5 allegro_image-5 allegro_image-5 allegro_memfile-5 allegro_primitives-5 allegro_image-5 allegro_ttf-5 allegro_main-5.0
  11. #после строчки с $(PROJECT): $(FILES_O) заменить на
  12. $(CC) -I $(D_SRC) $(LFLAGS) $(FILES_O) -o $@ $(LIBS) -lm
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement