badgeek / fux_glitch

glitch effects http://vimeo.com/29285172
http://manticore.deadmediafm.org
8 stars 0 forks source link

Pb while trying to compile on ubuntu 10.04 #1

Open b01xy opened 12 years ago

b01xy commented 12 years ago

Gem-0.93.3, installation of libfreenect with ppa:arne-alamut/freenect and compilation of FreeImage v 3.15 :

make g++ -export_dynamic -shared -I/home/b01 /ZSofts/PD/Pd-0.42.5-extended/pd pkg-config --cflags libfreenect -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx -DLINUX -o fux_glitch.o -c fux_glitch.cpp In file included from fux_glitch.h:20, from fux_glitch.cpp:17: /usr/include/FreeImage.h:139: error: conflicting declaration ‘typedef int32_t BOOL’ /usr/include/X11/Xmd.h:143: error: ‘BOOL’ has a previous declaration as ‘typedef CARD8 BOOL’ make: *\ [all] Erreur 1

when commenting ligne 139 of FreeImage.h, it gives : make g++ -export_dynamic -shared -I/home/benjamin/ZSofts/PD/Pd-0.42.5-extended/pd pkg-config --cflags libfreenect -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx -DLINUX -o fux_glitch.o -c fux_glitch.cpp g++ -o fux_glitch.pd_linux -arch i386 -dynamiclib -mmacosx-version-min=10.3 -undefined dynamiclookup -framework QuickTime -framework Carbon -framework AGL -framework OpenGL -arch i386 ./.o -L/sw/lib -lfreeimage -lstdc++ -ldl -lz -lm -lpthread -L/home/benjamin/ZSofts/PD/Pd-0.42.5-extended/pd/bin -L/home/benjamin/ZSofts/PD/Pd-0.42.5-extended/pd g++: i386: Aucun fichier ou dossier de ce type g++: dynamiclookup: Aucun fichier ou dossier de ce type g++: QuickTime: Aucun fichier ou dossier de ce type g++: Carbon: Aucun fichier ou dossier de ce type g++: AGL: Aucun fichier ou dossier de ce type g++: OpenGL: Aucun fichier ou dossier de ce type g++: i386: Aucun fichier ou dossier de ce type make: ** [all] Erreur 1

thks for any idea

badgeek commented 12 years ago

hi b01xy fux_glitch is not available in linux yet, but you could compile it by modify the makefile according to fux_videoglitch makefile