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
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 1when 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 1thks for any idea