EmotiBit / ofxEmotiBit

OpenFrameworks library and examples for the EmotiBit
MIT License
33 stars 7 forks source link

Errors Building in PopOS (Ubuntu) 22.04 #225

Open sebtheiler opened 6 months ago

sebtheiler commented 6 months ago

Describe the bug I've followed the instructions on the README and have been successful up until I try to run make in (OF_ROOT)/addons/ofxEmotiBit/EmotiBitOscilloscope. I was able to compile OF, run the polygon example, and the projectGenerator CLI is working. Running make results in the following errors:

Compiling OF library for Release
make[1]: Entering directory '/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworksCompiled/project'
Done!
make[1]: Leaving directory '/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworksCompiled/project'

Compiling EmotiBitOscilloscope for Release
make[1]: Entering directory '/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope'
Compiling /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp
g++ -c -O3 -DNDEBUG -Wall -Werror=return-type -DGCC_HAS_REGEX -std=c++20 -DOF_USING_GTK -DOF_USING_GTK -D_x64 -D_LINUX -Wall -Werror=return-type -DGCC_HAS_REGEX -std=c++20 -pthread -D__LINUX_ALSA__ -D__LINUX_PULSE__ -D__UNIX_JACK__ -D_REENTRANT -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/opus -I/usr/include/AL -I/usr/include/x86_64-linux-gnu -I/usr/include/rtaudio -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/x86_64-linux-gnu/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/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/fmod/include -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/glm/include -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/glm/include/glm -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/glm/include/glm/gtc -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/glm/include/glm/simd -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/glm/include/glm/ext -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/glm/include/glm/detail -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/glm/include/glm/gtx -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/json/include -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/kiss/include -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/pugixml/include -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/tess2/include -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/utf8/include -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/utf8/include/utf8 -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/utils -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/events -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/gl -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/3d -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/graphics -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/app -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/communication -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/video -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/sound -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/types -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/math -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxGui/src -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxNetwork/src -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxOsc/src -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxOsc/libs -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxOsc/libs/oscpack -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxOsc/libs/oscpack/src -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxOsc/libs/oscpack/src/ip -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxOsc/libs/oscpack/src/ip/posix -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxOsc/libs/oscpack/src/osc -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxXmlSettings/src -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxXmlSettings/libs -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxBiquadFilter/src -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/src -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/src/Signal -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxJSON/src -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxJSON/libs -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxJSON/libs/jsoncpp -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxJSON/libs/jsoncpp/include -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxJSON/libs/jsoncpp/include/json -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxJSON/libs/jsoncpp/src -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxLSL/libs/labstreaminglayer/include -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxLSL/src -Isrc -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxNetworkUtils/src -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxNetworkUtils/libs -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxNetworkUtils/libs/ofxNetworkUtils -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxNetworkUtils/libs/ofxNetworkUtils/include -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxNetworkUtils/libs/ofxNetworkUtils/include/ofx -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxNetworkUtils/libs/ofxNetworkUtils/include/ofx/Net -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxNetworkUtils/libs/ofxNetworkUtils/src -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxOscilloscope/src -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxPoco/libs/poco/include -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxPoco/src -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxThreadedLogger/src -I/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/EmotiBit_XPlat_Utils/src -MMD -MP -MF obj/linux64/Release/src/ofApp.d -MT obj/linux64/Release/src/ofApp.o -o obj/linux64/Release/src/ofApp.o -c /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp
In file included from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/glm/include/glm/detail/type_half.hpp:16,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/glm/include/glm/detail/func_packing.inl:5,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/glm/include/glm/packing.hpp:173,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/glm/include/glm/glm.hpp:132,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/utils/ofRandomEngine.h:5,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/utils/ofUtils.h:18,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/utils/ofLog.h:5,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/ofMain.h:8,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.h:3,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/glm/include/glm/detail/type_half.inl: In function ‘float glm::detail::overflow()’:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/glm/include/glm/detail/type_half.inl:9:27: warning: compound assignment with ‘volatile’-qualified left operand is deprecated [-Wvolatile]
    9 |                         f *= f; // this will overflow before the for loop terminates
      |                         ~~^~~~
In file included from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxLSL/src/ofxLSLReceiver.h:3,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxLSL/src/ofxLSL.h:3,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.h:10,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxLSL/libs/labstreaminglayer/include/lsl_cpp.h: In member function ‘void lsl::stream_outlet::check_numchan(std::size_t) const’:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxLSL/libs/labstreaminglayer/include/lsl_cpp.h:911:23: warning: comparison of integer expressions of different signedness: ‘std::size_t’ {aka ‘long unsigned int’} and ‘const int32_t’ {aka ‘const int’} [-Wsign-compare]
  911 |                 if (N != channel_count)
      |                     ~~^~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp: In member function ‘void ofApp::checkLatestSwVersion()’:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:146:50: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
  146 |                 if (!exceptionOccured & response != "")
      |                                         ~~~~~~~~~^~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:155:52: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_type’ {aka ‘const long unsigned int’} [-Wsign-compare]
  155 |                                 if (swVerPrefixLoc != std::string::npos)
      |                                     ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp: In member function ‘void ofApp::resetIndexMapping()’:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:272:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<std::__cxx11::basic_string<char> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  272 |         for (int w = 0; w < typeTags.size(); w++) {
      |                         ~~^~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:273:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::__cxx11::basic_string<char> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  273 |                 for (int s = 0; s < typeTags.at(w).size(); s++) {
      |                                 ~~^~~~~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:274:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  274 |                         for (int p = 0; p < typeTags.at(w).at(s).size(); p++) {
      |                                         ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp: In member function ‘virtual void ofApp::keyPressed(int)’:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:374:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<ofxMultiScope>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  374 |                         for (int w = 0; w < scopeWins.size(); w++) {
      |                                         ~~^~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:381:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<ofxMultiScope>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  381 |                         for (int w = 0; w < scopeWins.size(); w++) {
      |                                         ~~^~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:407:59: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<std::__cxx11::basic_string<char> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  407 |                                         for (int w = 0; w < plotNames.size(); w++) {
      |                                                         ~~^~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:408:67: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::__cxx11::basic_string<char> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  408 |                                                 for (int s = 0; s < plotNames.at(w).size(); s++) {
      |                                                                 ~~^~~~~~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp: In member function ‘virtual void ofApp::keyReleased(int)’:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:577:50: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=]
  577 |                                 catch (exception e) {}
      |                                                  ^
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:591:50: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=]
  591 |                                 catch (exception e) {}
      |                                                  ^
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp: In member function ‘void ofApp::updateDeviceList()’:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:690:22: warning: unused variable ‘available’ [-Wunused-variable]
  690 |                 bool available = it->second.isAvailable;
      |                      ^~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:733:56: warning: statement has no effect [-Wunused-value]
  733 |                 catch (const std::out_of_range& oor) { oor; } // ignore exception
      |                                                        ^~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp: In member function ‘void ofApp::deviceGroupSelection(ofAbstractParameter&)’:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:835:56: warning: statement has no effect [-Wunused-value]
  835 |                 catch (const std::out_of_range& oor) { oor; } // ignore exception
      |                                                        ^~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp: In member function ‘void ofApp::sendDataSelection(ofAbstractParameter&)’:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:883:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<ofParameter<bool> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  883 |         for (int j = 0; j < sendDataList.size(); j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:913:66: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=]
  913 |                                                 catch (exception e)
      |                                                                  ^
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:941:66: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=]
  941 |                                                 catch (exception e)
      |                                                                  ^
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:958:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<ofParameter<bool> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  958 |         for (int i = 0; i < sendDataList.size(); i++)
      |                         ~~^~~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp: In member function ‘void ofApp::processAperiodicData(std::string, std::vector<float>)’:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1029:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Periodizer>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1029 |         for (int i = 0; i < periodizerList.size(); i++)
      |                         ~~^~~~~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp: In member function ‘void ofApp::processSlowResponseMessage(std::vector<std::__cxx11::basic_string<char> >)’:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1103:52: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1103 |                                 for (auto a = 0; a < oscAddresses.size(); a++)
      |                                                  ~~^~~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1109:70: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1109 |                         for (int n = EmotiBitPacket::headerLength; n < splitPacket.size(); n++)
      |                                                                    ~~^~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1116:60: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<ofxOscMessage>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1116 |                                         for (auto a = 0; a < oscMessages.size(); a++)
      |                                                          ~~^~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1125:52: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<ofxOscMessage>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1125 |                                 for (auto a = 0; a < oscMessages.size(); a++)
      |                                                  ~~^~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1180:78: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1180 |                                 for (int n = EmotiBitPacket::headerLength; n < splitPacket.size(); n++) {
      |                                                                            ~~^~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1181:59: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<std::__cxx11::basic_string<char> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1181 |                                         for (int w = 0; w < typeTags.size(); w++) {
      |                                                         ~~^~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1182:67: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::__cxx11::basic_string<char> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1182 |                                                 for (int s = 0; s < typeTags.at(w).size(); s++) {
      |                                                                 ~~^~~~~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1183:75: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1183 |                                                         for (int p = 0; p < typeTags.at(w).at(s).size(); p++) {
      |                                                                         ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1195:78: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1195 |                                 for (int n = EmotiBitPacket::headerLength; n < splitPacket.size(); n++) {
      |                                                                            ~~^~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1196:59: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<std::__cxx11::basic_string<char> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1196 |                                         for (int w = 0; w < typeTags.size(); w++) {
      |                                                         ~~^~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1197:67: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::__cxx11::basic_string<char> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1197 |                                                 for (int s = 0; s < typeTags.at(w).size(); s++) {
      |                                                                 ~~^~~~~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1198:75: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1198 |                                                         for (int p = 0; p < typeTags.at(w).at(s).size(); p++) {
      |                                                                         ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp: In member function ‘void ofApp::setupGui()’:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1297:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1297 |         for (int j = 0; j < powerModeOptions.size(); j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1366:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1366 |         for (int j = 0; j < sendDataOptions.size(); j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1251:13: warning: unused variable ‘guiPosInc’ [-Wunused-variable]
 1251 |         int guiPosInc = guiWidth + 1;
      |             ^~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp: In member function ‘void ofApp::updatePlotAttributeLists(std::string)’:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1396:31: warning: ‘bool ofxXmlSettings::loadFile(const string&)’ is deprecated: ofxXmlSettings::loadFile() is deprecated, use load() instead. [-Wdeprecated-declarations]
 1396 |         scopeSettings.loadFile(settingsFile);
      |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/ofMain.h:6,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.h:3,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxXmlSettings/src/ofxXmlSettings.h:56:105: note: declared here
   56 |                 OF_DEPRECATED_MSG("ofxXmlSettings::loadFile() is deprecated, use load() instead.", bool loadFile(const string& xmlFile));
      |                                                                                                         ^~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:66:49: note: in definition of macro ‘OF_DEPRECATED_MSG’
   66 |         #define OF_DEPRECATED_MSG(message, ...) __VA_ARGS__ __attribute__ ((deprecated(message)))
      |                                                 ^~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp: In member function ‘void ofApp::updateTypeTagList()’:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1453:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<int> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1453 |         for (int i = 0; i < plotIds.size(); i++)// for multiscopes
      |                         ~~^~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1456:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1456 |                 for (int j = 0; j < plotIds.at(i).size(); j++) // for scopes
      |                                 ~~^~~~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1459:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1459 |                         for (int k = 0; k < plotIds.at(i).at(j).size(); k++) // for plots
      |                                         ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1477:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<std::__cxx11::basic_string<char> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1477 |         for (int w = 0; w < typeTags.size(); w++) {
      |                         ~~^~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1478:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::__cxx11::basic_string<char> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1478 |                 for (int s = 0; s < typeTags.at(w).size(); s++) {
      |                                 ~~^~~~~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1479:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1479 |                         for (int p = 0; p < typeTags.at(w).at(s).size(); p++) {
      |                                         ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp: In member function ‘void ofApp::updateLsl()’:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1524:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::shared_ptr<ofxLSL::TimedSample<std::__cxx11::basic_string<char> > >, std::allocator<std::shared_ptr<ofxLSL::TimedSample<std::__cxx11::basic_string<char> > > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1524 |                         for (int i = 0; i < markerSamples.size(); i++)
      |                                         ~~^~~~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp: In member function ‘void ofApp::clearOscilloscopes(bool)’:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1573:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<ofxMultiScope>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1573 |         for (int w = 0; w < scopeWins.size(); w++) {
      |                         ~~^~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp: In member function ‘void ofApp::processModePacket(std::vector<std::__cxx11::basic_string<char> >&)’:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1674:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1674 |                         if (pos + 1 < splitPacket.size())
      |                             ~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1664:16: warning: unused variable ‘startIndex’ [-Wunused-variable]
 1664 |         size_t startIndex = EmotiBitPacket::headerLength;
      |                ^~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp: In member function ‘void ofApp::drawOscilloscopes()’:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1814:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<ofxMultiScope>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1814 |         for (int w = 0; w < scopeWins.size(); w++) {
      |                         ~~^~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1817:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<ofxPanel>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1817 |         for (int i = 0; i < guiPanels.size(); i++) {
      |                         ~~^~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1835:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<std::__cxx11::basic_string<char> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1835 |                         for (int w = 0; w < typeTags.size(); w++) {
      |                                         ~~^~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1836:51: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::__cxx11::basic_string<char> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1836 |                                 for (int s = 0; s < typeTags.at(w).size(); s++) {
      |                                                 ~~^~~~~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1838:59: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1838 |                                         for (int p = 0; p < typeTags.at(w).at(s).size(); p++) {
      |                                                         ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1837:49: warning: variable ‘bl’ set but not used [-Wunused-but-set-variable]
 1837 |                                         ofPoint bl = scopeWins.at(w).scopes.at(s).getPosition().getBottomLeft();
      |                                                 ^~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1846:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<std::__cxx11::basic_string<char> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1846 |                 for (int w = 0; w < typeTags.size(); w++) {
      |                                 ~~^~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1847:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::__cxx11::basic_string<char> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1847 |                         for (int s = 0; s < typeTags.at(w).size(); s++) {
      |                                         ~~^~~~~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1849:51: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 1849 |                                 for (int p = 0; p < typeTags.at(w).at(s).size(); p++) {
      |                                                 ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp: In member function ‘void ofApp::saveEmotiBitCommSettings(std::string, bool, bool)’:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1918:26: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=]
 1918 |         catch (exception e)
      |                          ^
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp: In member function ‘void ofApp::loadEmotiBitCommSettings(std::string, bool)’:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:2065:26: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=]
 2065 |         catch (exception e)
      |                          ^
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp: In instantiation of ‘std::vector<std::vector<std::vector<_RealType> > > ofApp::initBuffer(std::vector<std::vector<std::vector<_RealType> > >) [with T = int]’:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:265:26:   required from here
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:664:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<std::__cxx11::basic_string<char> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  664 |         for (int w = 0; w < typeTags.size(); w++) {
      |                         ~~^~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:666:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::__cxx11::basic_string<char> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  666 |                 for (int s = 0; s < typeTags.at(w).size(); s++) {
      |                                 ~~^~~~~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:668:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  668 |                         for (int p = 0; p < typeTags.at(w).at(s).size(); p++) {
      |                                         ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp: In instantiation of ‘std::vector<std::vector<std::vector<_RealType> > > ofApp::initBuffer(std::vector<std::vector<std::vector<_RealType> > >) [with T = float]’:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:267:24:   required from here
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:664:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<std::__cxx11::basic_string<char> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  664 |         for (int w = 0; w < typeTags.size(); w++) {
      |                         ~~^~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:666:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::__cxx11::basic_string<char> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  666 |                 for (int s = 0; s < typeTags.at(w).size(); s++) {
      |                                 ~~^~~~~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:668:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  668 |                         for (int p = 0; p < typeTags.at(w).at(s).size(); p++) {
      |                                         ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/utils/ofLog.h:5,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/ofMain.h:8,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.h:3,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/utils/ofUtils.h: In instantiation of ‘std::string ofVAArgsToString(const char*, Args&& ...) [with Args = {}; std::string = std::__cxx11::basic_string<char>]’:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/utils/ofLog.h:437:35:   required from ‘ofLog::ofLog(ofLogLevel, const char*, Args&& ...) [with Args = {}]’
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:117:68:   required from here
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/utils/ofUtils.h:621:33: warning: format not a string literal and no format arguments [-Wformat-security]
  621 |         size_t n = std::snprintf(buf, sizeof(buf), format, std::forward<Args>(args)...);
      |                    ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/utils/ofUtils.h:633:22: warning: format not a string literal and no format arguments [-Wformat-security]
  633 |         std::snprintf(const_cast<char*>(s.data()), s.size(), format, std::forward<Args>(args)...);
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11/vector:66,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:16,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/ofMain.h:6,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.h:3,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1:
/usr/include/c++/11/bits/stl_uninitialized.h: In instantiation of ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const std::unique_ptr<ofxBaseGui>*, std::vector<std::unique_ptr<ofxBaseGui> > >; _ForwardIterator = std::unique_ptr<ofxBaseGui>*]’:
/usr/include/c++/11/bits/stl_uninitialized.h:333:37:   required from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator<const std::unique_ptr<ofxBaseGui>*, std::vector<std::unique_ptr<ofxBaseGui> > >; _ForwardIterator = std::unique_ptr<ofxBaseGui>*; _Tp = std::unique_ptr<ofxBaseGui>]’
/usr/include/c++/11/bits/stl_vector.h:558:31:   required from ‘std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = std::unique_ptr<ofxBaseGui>; _Alloc = std::allocator<std::unique_ptr<ofxBaseGui> >]’
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxGui/src/ofxGuiGroup.h:10:7:   required from ‘constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...) [with _Tp = ofxPanel; _Args = {const ofxPanel&}; decltype (::new(void*(0)) _Tp) = ofxPanel*]’
/usr/include/c++/11/bits/stl_construct.h:115:4:   required from ‘constexpr void std::_Construct(_Tp*, _Args&& ...) [with _Tp = ofxPanel; _Args = {const ofxPanel&}]’
/usr/include/c++/11/bits/stl_uninitialized.h:92:18:   required from ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const ofxPanel*; _ForwardIterator = ofxPanel*; bool _TrivialValueTypes = false]’
/usr/include/c++/11/bits/stl_uninitialized.h:151:15:   required from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const ofxPanel*; _ForwardIterator = ofxPanel*]’
/usr/include/c++/11/bits/stl_uninitialized.h:333:37:   required from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = const ofxPanel*; _ForwardIterator = ofxPanel*; _Tp = ofxPanel]’
/usr/include/c++/11/bits/stl_uninitialized.h:355:2:   required from ‘_ForwardIterator std::__uninitialized_move_if_noexcept_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = ofxPanel*; _ForwardIterator = ofxPanel*; _Allocator = std::allocator<ofxPanel>]’
/usr/include/c++/11/bits/vector.tcc:659:48:   required from ‘void std::vector<_Tp, _Alloc>::_M_default_append(std::vector<_Tp, _Alloc>::size_type) [with _Tp = ofxPanel; _Alloc = std::allocator<ofxPanel>; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’
/usr/include/c++/11/bits/stl_vector.h:940:4:   required from ‘void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type) [with _Tp = ofxPanel; _Alloc = std::allocator<ofxPanel>; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1253:18:   required from here
/usr/include/c++/11/bits/stl_uninitialized.h:138:72: error: static assertion failed: result type must be constructible from value type of input range
  138 |       static_assert(is_constructible<_ValueType2, decltype(*__first)>::value,
      |                                                                        ^~~~~
/usr/include/c++/11/bits/stl_uninitialized.h:138:72: note: ‘std::integral_constant<bool, false>::value’ evaluates to false
In file included from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxLSL/src/ofxLSL.h:3,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.h:10,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxLSL/src/ofxLSLReceiver.h: In instantiation of ‘void ofxLSL::Receiver<T>::pull() [with T = std::__cxx11::basic_string<char>]’:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxLSL/src/ofxLSLReceiver.h:77:8:   required from here
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxLSL/src/ofxLSLReceiver.h:85:47: warning: comparison of integer expressions of different signedness: ‘std::vector<std::shared_ptr<ofxLSL::TimedSample<std::__cxx11::basic_string<char> > >, std::allocator<std::shared_ptr<ofxLSL::TimedSample<std::__cxx11::basic_string<char> > > > >::size_type’ {aka ‘long unsigned int’} and ‘std::__atomic_base<int>::__int_type’ {aka ‘int’} [-Wsign-compare]
   85 |       while (samples.size() && samples.size() > sampleCapacity) {
      |                                ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11/functional:59,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:18,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworks/ofMain.h:6,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.h:3,
                 from /home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:1:
/usr/include/c++/11/bits/std_function.h: At global scope:
/usr/include/c++/11/bits/std_function.h:435:9: error: ‘std::function<_Res(_ArgTypes ...)>::function(_Functor&&) [with _Functor = ofEvent<ofAbstractParameter>::make_function<ofApp>(ofApp*, void (ofApp::*)(ofAbstractParameter&), int)::<lambda(const void*, ofAbstractParameter&)>; _Constraints = void; _Res = bool; _ArgTypes = {const void*, ofAbstractParameter&}]’, declared using local type ‘ofEvent<ofAbstractParameter>::make_function<ofApp>(ofApp*, void (ofApp::*)(ofAbstractParameter&), int)::<lambda(const void*, ofAbstractParameter&)>’, is used but never defined [-fpermissive]
  435 |         function(_Functor&& __f)
      |         ^~~~~~~~
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp: In member function ‘void ofApp::checkLatestSwVersion()’:
/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope/src/ofApp.cpp:209:47: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  209 |                                         system(command.c_str());
      |                                         ~~~~~~^~~~~~~~~~~~~~~~~
make[1]: *** [/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:217: obj/linux64/Release/src/ofApp.o] Error 1
make[1]: Leaving directory '/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope'
make: *** [/home/sebtheiler/Code/emotibit/of_v0.12.0_linux64gcc6_release/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:129: Release] Error 2

Additional details

nitin710 commented 6 months ago

OF Version: of_v0.12.0_linux64gcc6_release

We have not yet switched to OF0.12.0. The software suite was upgraded to OF 0.11.0. You can grab that from this link

Can you compile with OF 0.11.0 (as mentioned in the readme) and let us know if it works?

sebtheiler commented 6 months ago

Running ./compilePG.sh with OF 0.11.0 from that link results in the following errors:

make: Entering directory '/home/sebtheiler/Code/emotibit/of_v0.11.0_linux64gcc6_release/apps/projectGenerator/commandLine'
Compiling OF library for Release
make[1]: Entering directory '/home/sebtheiler/Code/emotibit/of_v0.11.0_linux64gcc6_release/libs/openFrameworksCompiled/project'
Done!
make[1]: Leaving directory '/home/sebtheiler/Code/emotibit/of_v0.11.0_linux64gcc6_release/libs/openFrameworksCompiled/project'

Compiling projectGenerator for Release
make[1]: Entering directory '/home/sebtheiler/Code/emotibit/of_v0.11.0_linux64gcc6_release/apps/projectGenerator/commandLine'
/home/sebtheiler/Code/emotibit/of_v0.11.0_linux64gcc6_release/libs/openFrameworksCompiled/project/makefileCommon/config.addons.mk:210: *** missing separator.  Stop.
make[1]: Leaving directory '/home/sebtheiler/Code/emotibit/of_v0.11.0_linux64gcc6_release/apps/projectGenerator/commandLine'
make: *** [/home/sebtheiler/Code/emotibit/of_v0.11.0_linux64gcc6_release/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:129: Release] Error 2
make: Leaving directory '/home/sebtheiler/Code/emotibit/of_v0.11.0_linux64gcc6_release/apps/projectGenerator/commandLine'
There has been a problem compiling the command line projectGenerator.
Please report this problem in the forums.

Which is why I had tried 0.12.0. Do you know if there is a simple fix for this, or should I report it on the OF forums?

nitin710 commented 6 months ago

Weird, haven't seen that before. Is there a conflict in the make version they want us to use vs what you are using? I don't think they specify anything, so might be a tad tricky to find that out. Found a similar issue on github with that suggestion.

Also, you don't need to have a compiled project generator to use EmotiBit Software. Once you have downloaded the OF bundle and run scripts to compile the OF libraries, you can just get the required addons and proceed to compile EmotiBitOscilloscope as documented in the readme.

Interested to see if that works.

sebtheiler commented 5 months ago

Also, you don't need to have a compiled project generator to use EmotiBit Software. Once you have downloaded the OF bundle and run scripts to compile the OF libraries, you can just get the required addons and proceed to compile EmotiBitOscilloscope as documented in the readme.

I've tried that (and would prefer it to downgrading my make version, though that might potentially work for compiling project generator as I do have make 4.3, which the user in the issue you mentioned also had before downgrading), but I'm getting the following errors:

sebtheiler@shuttlecraft:~/Code/emotibit/of_v0.11.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope$ make
Compiling OF library for Release
make[1]: Entering directory '/home/sebtheiler/Code/emotibit/of_v0.11.0_linux64gcc6_release/libs/openFrameworksCompiled/project'
Done!
make[1]: Leaving directory '/home/sebtheiler/Code/emotibit/of_v0.11.0_linux64gcc6_release/libs/openFrameworksCompiled/project'

Compiling EmotiBitOscilloscope for Release
make[1]: Entering directory '/home/sebtheiler/Code/emotibit/of_v0.11.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope'
/home/sebtheiler/Code/emotibit/of_v0.11.0_linux64gcc6_release/libs/openFrameworksCompiled/project/makefileCommon/config.addons.mk:210: *** missing separator.  Stop.
make[1]: Leaving directory '/home/sebtheiler/Code/emotibit/of_v0.11.0_linux64gcc6_release/addons/ofxEmotiBit/EmotiBitOscilloscope'
make: *** [/home/sebtheiler/Code/emotibit/of_v0.11.0_linux64gcc6_release/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:129: Release] Error 2

This is after running ./compileOF.sh and following the rest of the instructions in the README, other than ./compilePG.sh.

I had thought that compiling the project generator would fix this, but I'm not sure anymore. I can still attempt to downgrade my make version and compile it if you believe that's worth persuing.