Make Debug compilation fails for emptyProject (but regular make build is OK)

Hello,

I’m using of_v0.9.8_linuxarmv7l_release and am attempting to do a Debug build of apps/myApps/emptyExample. When I do make Debug I get the below error when linking. Doing a normal build (make) works fine. Any ideas why the debug build is not working?

debian@beaglebone$ make Debug
HOST_OS=Linux
checking pkg-config libraries:   cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl gtk+-3.0 libmpg123 glesv1_cm glesv2 egl
Compiling OF library for Debug
make -C /home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworksCompiled/project/ Debug PLATFORM_OS=Linux ABIS_TO_COMPILE_DEBUG=""
make[1]: Entering directory '/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworksCompiled/project'
HOST_OS=Linux
checking pkg-config libraries:   cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl gtk+-3.0 libmpg123 glesv1_cm glesv2 egl
HOST_OS=Linux
checking pkg-config libraries:   cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl gtk+-3.0 libmpg123 glesv1_cm glesv2 egl
HOST_OS=Linux
checking pkg-config libraries:   cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl gtk+-3.0 libmpg123 glesv1_cm glesv2 egl
Done!
make[1]: Leaving directory '/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworksCompiled/project'


Compiling emptyExample for Debug
make[1]: Entering directory '/home/debian/projects/of_v0.9.8_linuxarmv7l_release/apps/myApps/emptyExample'
HOST_OS=Linux
checking pkg-config libraries:   cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl gtk+-3.0 libmpg123 glesv1_cm glesv2 egl
cat: obj/linuxarmv7l/Debug/.compiler_flags: No such file or directory
Compiling /home/debian/projects/of_v0.9.8_linuxarmv7l_release/apps/myApps/emptyExample/src/main.cpp
g++ -c -g3  -Wall -std=c++14 -DGCC_HAS_REGEX -march=armv7 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=hard -fPIC -ftree-vectorize -Wno-psabi -pipe -DOF_USING_GTK -DOF_USING_GTK -DOF_USING_MPG123  -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/AL -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/libdrm -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/fmodex/include -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/glfw/include -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/glfw/include/GLFW -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/kiss/include -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/poco/include -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/tess2/include -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/utf8cpp/include -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/utf8cpp/include/utf8 -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks/app -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks/communication -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks/sound -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks/events -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks/types -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks/3d -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks/video -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks/utils -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks/graphics -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks/math -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks/gl -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/apps/myApps/emptyExample/src -MMD -MP -MF obj/linuxarmv7l/Debug/src/main.d -MT obj/linuxarmv7l/Debug/src/main.o -o obj/linuxarmv7l/Debug/src/main.o -c /home/debian/projects/of_v0.9.8_linuxarmv7l_release/apps/myApps/emptyExample/src/main.cpp
Compiling /home/debian/projects/of_v0.9.8_linuxarmv7l_release/apps/myApps/emptyExample/src/ofApp.cpp
g++ -c -g3  -Wall -std=c++14 -DGCC_HAS_REGEX -march=armv7 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=hard -fPIC -ftree-vectorize -Wno-psabi -pipe -DOF_USING_GTK -DOF_USING_GTK -DOF_USING_MPG123  -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/AL -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/libdrm -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/fmodex/include -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/glfw/include -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/glfw/include/GLFW -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/kiss/include -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/poco/include -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/tess2/include -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/utf8cpp/include -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/utf8cpp/include/utf8 -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks/app -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks/communication -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks/sound -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks/events -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks/types -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks/3d -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks/video -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks/utils -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks/graphics -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks/math -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks/gl -I/home/debian/projects/of_v0.9.8_linuxarmv7l_release/apps/myApps/emptyExample/src -MMD -MP -MF obj/linuxarmv7l/Debug/src/ofApp.d -MT obj/linuxarmv7l/Debug/src/ofApp.o -o obj/linuxarmv7l/Debug/src/ofApp.o -c /home/debian/projects/of_v0.9.8_linuxarmv7l_release/apps/myApps/emptyExample/src/ofApp.cpp
Linking bin/emptyExample_debug for linuxarmv7l
g++ -o bin/emptyExample_debug  obj/linuxarmv7l/Debug/src/main.o obj/linuxarmv7l/Debug/src/ofApp.o  /home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworksCompiled/lib/linuxarmv7l/libopenFrameworksDebug.a   -Wl,-rpath=./libs:./bin/libs -Wl,--as-needed -Wl,--gc-sections /home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/glfw/lib/linuxarmv7l/libglfw3.a /home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/kiss/lib/linuxarmv7l/libkiss.a /home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/tess2/lib/linuxarmv7l/libtess2.a  /home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/poco/lib/linuxarmv7l/libPocoNetSSL.a /home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/poco/lib/linuxarmv7l/libPocoNet.a /home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/poco/lib/linuxarmv7l/libPocoCrypto.a /home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/poco/lib/linuxarmv7l/libPocoUtil.a /home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/poco/lib/linuxarmv7l/libPocoJSON.a /home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/poco/lib/linuxarmv7l/libPocoXML.a /home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/poco/lib/linuxarmv7l/libPocoFoundation.a  -L/usr/lib/arm-linux-gnueabihf -lz -lgstapp-1.0 -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -ludev -lfontconfig -lfreetype -lsndfile -lopenal -lssl -lcrypto -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lmpg123 -lGLESv1_CM -lGLESv2 -lEGL  -lX11 -lXrandr -lXxf86vm -lXi -lXcursor -ldl -lpthread -lfreeimage -lboost_filesystem -lboost_system -lrtaudio
obj/linuxarmv7l/Debug/src/main.o: In function `main':
/home/debian/projects/of_v0.9.8_linuxarmv7l_release/apps/myApps/emptyExample/src/main.cpp:7: undefined reference to `ofSetupOpenGL(int, int, ofWindowMode)'
/home/debian/projects/of_v0.9.8_linuxarmv7l_release/apps/myApps/emptyExample/src/main.cpp:12: undefined reference to `ofRunApp(ofBaseApp*)'
obj/linuxarmv7l/Debug/src/main.o: In function `ofBaseSoundInput::~ofBaseSoundInput()':
/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks/types/ofBaseTypes.h:293: undefined reference to `vtable for ofBaseSoundInput'
obj/linuxarmv7l/Debug/src/main.o: In function `ofBaseSoundOutput::~ofBaseSoundOutput()':
/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks/types/ofBaseTypes.h:317: undefined reference to `vtable for ofBaseSoundOutput'
obj/linuxarmv7l/Debug/src/main.o: In function `ofBaseSoundInput::ofBaseSoundInput()':
/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks/types/ofBaseTypes.h:290: undefined reference to `vtable for ofBaseSoundInput'
obj/linuxarmv7l/Debug/src/main.o: In function `ofBaseSoundOutput::ofBaseSoundOutput()':
/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworks/types/ofBaseTypes.h:314: undefined reference to `vtable for ofBaseSoundOutput'
obj/linuxarmv7l/Debug/src/main.o:(.data.rel.ro._ZTV9ofBaseApp[_ZTV9ofBaseApp]+0x10): undefined reference to `ofBaseSoundInput::audioIn(ofSoundBuffer&)'
obj/linuxarmv7l/Debug/src/main.o:(.data.rel.ro._ZTV9ofBaseApp[_ZTV9ofBaseApp]+0x14): undefined reference to `ofBaseSoundInput::audioIn(float*, int, int, int, unsigned long long)'
obj/linuxarmv7l/Debug/src/main.o:(.data.rel.ro._ZTV9ofBaseApp[_ZTV9ofBaseApp]+0x18): undefined reference to `ofBaseSoundInput::audioIn(float*, int, int)'
obj/linuxarmv7l/Debug/src/main.o:(.data.rel.ro._ZTV9ofBaseApp[_ZTV9ofBaseApp]+0xd8): undefined reference to `ofBaseSoundOutput::audioOut(ofSoundBuffer&)'
obj/linuxarmv7l/Debug/src/main.o:(.data.rel.ro._ZTV9ofBaseApp[_ZTV9ofBaseApp]+0xdc): undefined reference to `ofBaseSoundOutput::audioOut(float*, int, int, int, unsigned long long)'
obj/linuxarmv7l/Debug/src/main.o:(.data.rel.ro._ZTV9ofBaseApp[_ZTV9ofBaseApp]+0xe0): undefined reference to `ofBaseSoundOutput::audioOut(float*, int, int)'
obj/linuxarmv7l/Debug/src/main.o:(.data.rel.ro._ZTI9ofBaseApp[_ZTI9ofBaseApp]+0x10): undefined reference to `typeinfo for ofBaseSoundInput'
obj/linuxarmv7l/Debug/src/main.o:(.data.rel.ro._ZTI9ofBaseApp[_ZTI9ofBaseApp]+0x18): undefined reference to `typeinfo for ofBaseSoundOutput'
obj/linuxarmv7l/Debug/src/ofApp.o:(.data.rel.ro+0x10): undefined reference to `ofBaseSoundInput::audioIn(ofSoundBuffer&)'
obj/linuxarmv7l/Debug/src/ofApp.o:(.data.rel.ro+0x14): undefined reference to `ofBaseSoundInput::audioIn(float*, int, int, int, unsigned long long)'
obj/linuxarmv7l/Debug/src/ofApp.o:(.data.rel.ro+0x18): undefined reference to `ofBaseSoundInput::audioIn(float*, int, int)'
obj/linuxarmv7l/Debug/src/ofApp.o:(.data.rel.ro+0xd8): undefined reference to `ofBaseSoundOutput::audioOut(ofSoundBuffer&)'
obj/linuxarmv7l/Debug/src/ofApp.o:(.data.rel.ro+0xdc): undefined reference to `ofBaseSoundOutput::audioOut(float*, int, int, int, unsigned long long)'
obj/linuxarmv7l/Debug/src/ofApp.o:(.data.rel.ro+0xe0): undefined reference to `ofBaseSoundOutput::audioOut(float*, int, int)'
collect2: error: ld returned 1 exit status
/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:382: recipe for target 'bin/emptyExample_debug' failed
make[1]: *** [bin/emptyExample_debug] Error 1
make[1]: Leaving directory '/home/debian/projects/of_v0.9.8_linuxarmv7l_release/apps/myApps/emptyExample'
/home/debian/projects/of_v0.9.8_linuxarmv7l_release/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:142: recipe for target 'Debug' failed
make: *** [Debug] Error 2
debian@beaglebone$ pwd
/home/debian/projects/of_v0.9.8_linuxarmv7l_release/apps/myApps/emptyExample