astran icon indicating copy to clipboard operation
astran copied to clipboard

Compilando o wxSightGL

Open leoheck opened this issue 9 years ago • 1 comments
trafficstars

Lembrete pra mim: Arrumar o makefile do wxSightGL para ele funcionar em qualquer lugar

# Dependencies: Ubuntu 14.xx/16.xx
sudo apt install libglew1.13 libglew-dev
sudo apt install freeglut3 freeglut3-dev
sudo apt install libwxgtk2.8-0 libwxgtk2.8-dev
# Compilando:
make
# Dependencies: CentOS 5.10
sudo yum install glew-devel.x86_64 glew.x86_64
sudo yum install freeglut.x86_64 freeglut-devel.x86_64
# Compilando:
make CCFLAGS="`pkg-config --cflags --libs gtk+-2.0 glib-2.0` `wx-config --cppflags`"

leoheck avatar Sep 15 '16 14:09 leoheck

Lembrete: Usar mesma versão do wx-config usada no Astran. --> Ubuntu 16.04 nao tem os pacotes pro wx 2.8 por default

leoheck avatar Sep 15 '16 19:09 leoheck