armadillu / ofxThreadedImage

ofImage subclass that allows load from disk, load from http, and save to disk in a background thread.
6 stars 6 forks source link

issue in linux64 with enumerator #1

Open kalwalt opened 10 years ago

kalwalt commented 10 years ago

hi @armadillu i'm trying your addon in Ubuntu 12.04 with OF 008. i got this error:

ompiling example for Debug Compiling src/main.cpp g++ -c -g3 -Wall -march=native -mtune=native -DOF_USING_GTK -DOF_USING_MPG123 -I./src -I../../../addons/ofxThreadedImage/src -pthread -D_REENTRANT -I/usr/local/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I/usr/include/alsa -I/usr/include/libdrm -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I../../../libs/fmodex/include -I../../../libs/glfw/include -I../../../libs/glfw/include/GLFW -I../../../libs/kiss/include -I../../../libs/openssl/include -I../../../libs/openssl/include/openssl -I../../../libs/poco/include -I../../../libs/portaudio/include -I../../../libs/rtAudio/include -I../../../libs/tess2/include -I../../../libs/openFrameworks -I../../../libs/openFrameworks/app -I../../../libs/openFrameworks/graphics -I../../../libs/openFrameworks/3d -I../../../libs/openFrameworks/sound -I../../../libs/openFrameworks/math -I../../../libs/openFrameworks/types -I../../../libs/openFrameworks/communication -I../../../libs/openFrameworks/utils -I../../../libs/openFrameworks/gl -I../../../libs/openFrameworks/video -I../../../libs/openFrameworks/events -MMD -MP -MF obj/linux64/Debug/src/main.d -MT obj/linux64/Debug/src/main.o -o obj/linux64/Debug/src/main.o -c src/main.cpp In file included from src/testApp.h:4:0, from src/main.cpp:2: ../../../addons/ofxThreadedImage/src/ofxThreadedImage.h:45:8: error: expected identifier before ‘int’ ../../../addons/ofxThreadedImage/src/ofxThreadedImage.h:45:16: error: expected unqualified-id before ‘{’ token make[1]: * [obj/linux64/Debug/src/main.o] Errore 1 make: * [Debug] Errore 2 Process terminated with status 2 (0 minutes, 1 seconds) 2 errors, 0 warnings

i solved commenting out that line id est:

enum Status { IMG_OK = 1, IMG_NOT_FOUND };

it seems also that is not used....

armadillu commented 10 years ago

Ah thx much! Other than that, works fine on linux?

kalwalt commented 10 years ago

Yes but i can't confirm taht works loading from http, because at the moment i have problems with my 3g internet connection so it's very slow and it is impossible to verify it. I would test it with another connection to confirm if it works or not. Apart this and the issue above the compilation is fine.