ofxGui compilation hangs

#1

Hello,

I have troubles compiling ofxGui on a Raspberry Pi 3 A+ with Raspbian Buster.

I have OF 0.10.1 and the compilation hangs while compiling the file /home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp

I tried with the nightly build as well and result is the same.

Does anyone got a similar problem?

#2

Hi, can you please post what you are getting in the terminal, if any?

#3

Sure, here is the whole bunch I get:

Compiling /home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp
g++ -c -O3 -DNDEBUG -Wall -Werror=return-type -std=c++14 -DGCC_HAS_REGEX -march=armv6 -mfpu=vfp -mfloat-abi=hard -fPIC -ftree-vectorize -Wno-psabi -pipe -DOF_USING_GTK -DOF_USING_MPG123 -DTARGET_RASPBERRY_PI -DSTANDALONE -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DHAVE_LIBOPENMAX=2 -DOMX -DOMX_SKIP64BIT -DUSE_EXTERNAL_OMX -DHAVE_LIBBCM_HOST -DUSE_EXTERNAL_LIBBCM_HOST -DUSE_VCHIQ_ARM  -I/opt/vc/include -I/opt/vc/include/IL -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -pthread -D_REENTRANT -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/AL -I/usr/include/arm-linux-gnueabihf -I/usr/include/rtaudio -I/usr/include/alsa -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/libdrm -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/home/pi/openFrameworks/libs/glm/include -I/home/pi/openFrameworks/libs/glm/include/glm -I/home/pi/openFrameworks/libs/glm/include/glm/simd -I/home/pi/openFrameworks/libs/glm/include/glm/gtx -I/home/pi/openFrameworks/libs/glm/include/glm/gtc -I/home/pi/openFrameworks/libs/glm/include/glm/detail -I/home/pi/openFrameworks/libs/json/include -I/home/pi/openFrameworks/libs/kiss/include -I/home/pi/openFrameworks/libs/tess2/include -I/home/pi/openFrameworks/libs/utf8/include -I/home/pi/openFrameworks/libs/utf8/include/utf8 -I/home/pi/openFrameworks/libs/openFrameworks -I/home/pi/openFrameworks/libs/openFrameworks/gl -I/home/pi/openFrameworks/libs/openFrameworks/3d -I/home/pi/openFrameworks/libs/openFrameworks/video -I/home/pi/openFrameworks/libs/openFrameworks/graphics -I/home/pi/openFrameworks/libs/openFrameworks/app -I/home/pi/openFrameworks/libs/openFrameworks/types -I/home/pi/openFrameworks/libs/openFrameworks/utils -I/home/pi/openFrameworks/libs/openFrameworks/events -I/home/pi/openFrameworks/libs/openFrameworks/sound -I/home/pi/openFrameworks/libs/openFrameworks/communication -I/home/pi/openFrameworks/libs/openFrameworks/math -I/home/pi/openFrameworks/addons/ofxGui/src -MMD -MP -MF /home/pi/openFrameworks/addons/obj/linuxarmv6l/Release/ofxGui/src/ofxInputField.d -MT /home/pi/openFrameworks/addons/obj/linuxarmv6l/Release/ofxGui/src/ofxInputField.o -o /home/pi/openFrameworks/addons/obj/linuxarmv6l/Release/ofxGui/src/ofxInputField.o -c /home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp
In file included from /home/pi/openFrameworks/libs/glm/include/glm/./gtc/packing.hpp:579,
                 from /home/pi/openFrameworks/libs/glm/include/glm/ext.hpp:48,
                 from /home/pi/openFrameworks/libs/openFrameworks/math/ofVectorMath.h:21,
                 from /home/pi/openFrameworks/libs/openFrameworks/graphics/ofPolyline.inl:8,
                 from /home/pi/openFrameworks/libs/openFrameworks/graphics/ofPolyline.h:553,
                 from /home/pi/openFrameworks/libs/openFrameworks/graphics/ofPath.h:5,
                 from /home/pi/openFrameworks/libs/openFrameworks/graphics/ofTrueTypeFont.h:6,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxBaseGui.h:5,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.h:11,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:9:
/home/pi/openFrameworks/libs/glm/include/glm/./gtc/packing.inl: In function ‘glm::vec2 glm::unpackUnorm2x8(glm::uint16)’:
/home/pi/openFrameworks/libs/glm/include/glm/./gtc/packing.inl:377:37: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘glm::u8vec2’ {aka ‘struct glm::tvec2<unsigned char, (glm::precision)0>’} from an array of ‘glm::uint16’ {aka ‘short unsigned int’} [-Wclass-memaccess]
   memcpy(&Unpack, &p, sizeof(Unpack));
                                     ^
In file included from /home/pi/openFrameworks/libs/glm/include/glm/vec2.hpp:6,
                 from /home/pi/openFrameworks/libs/openFrameworks/events/ofEvents.h:8,
                 from /home/pi/openFrameworks/libs/openFrameworks/types/ofParameter.h:3,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxBaseGui.h:4,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.h:11,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:9:
/home/pi/openFrameworks/libs/glm/include/glm/detail/type_vec2.hpp:19:9: note: ‘glm::u8vec2’ {aka ‘struct glm::tvec2<unsigned char, (glm::precision)0>’} declared here
  struct tvec2
         ^~~~~
In file included from /home/pi/openFrameworks/libs/glm/include/glm/./gtc/packing.hpp:579,
                 from /home/pi/openFrameworks/libs/glm/include/glm/ext.hpp:48,
                 from /home/pi/openFrameworks/libs/openFrameworks/math/ofVectorMath.h:21,
                 from /home/pi/openFrameworks/libs/openFrameworks/graphics/ofPolyline.inl:8,
                 from /home/pi/openFrameworks/libs/openFrameworks/graphics/ofPolyline.h:553,
                 from /home/pi/openFrameworks/libs/openFrameworks/graphics/ofPath.h:5,
                 from /home/pi/openFrameworks/libs/openFrameworks/graphics/ofTrueTypeFont.h:6,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxBaseGui.h:5,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.h:11,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:9:
/home/pi/openFrameworks/libs/glm/include/glm/./gtc/packing.inl: In function ‘glm::vec2 glm::unpackSnorm2x8(glm::uint16)’:
/home/pi/openFrameworks/libs/glm/include/glm/./gtc/packing.inl:409:37: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘glm::i8vec2’ {aka ‘struct glm::tvec2<signed char, (glm::precision)0>’} from an array of ‘glm::uint16’ {aka ‘short unsigned int’} [-Wclass-memaccess]
   memcpy(&Unpack, &p, sizeof(Unpack));
                                     ^
In file included from /home/pi/openFrameworks/libs/glm/include/glm/vec2.hpp:6,
                 from /home/pi/openFrameworks/libs/openFrameworks/events/ofEvents.h:8,
                 from /home/pi/openFrameworks/libs/openFrameworks/types/ofParameter.h:3,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxBaseGui.h:4,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.h:11,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:9:
/home/pi/openFrameworks/libs/glm/include/glm/detail/type_vec2.hpp:19:9: note: ‘glm::i8vec2’ {aka ‘struct glm::tvec2<signed char, (glm::precision)0>’} declared here
  struct tvec2
         ^~~~~
In file included from /home/pi/openFrameworks/libs/glm/include/glm/./gtc/packing.hpp:579,
                 from /home/pi/openFrameworks/libs/glm/include/glm/ext.hpp:48,
                 from /home/pi/openFrameworks/libs/openFrameworks/math/ofVectorMath.h:21,
                 from /home/pi/openFrameworks/libs/openFrameworks/graphics/ofPolyline.inl:8,
                 from /home/pi/openFrameworks/libs/openFrameworks/graphics/ofPolyline.h:553,
                 from /home/pi/openFrameworks/libs/openFrameworks/graphics/ofPath.h:5,
                 from /home/pi/openFrameworks/libs/openFrameworks/graphics/ofTrueTypeFont.h:6,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxBaseGui.h:5,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.h:11,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:9:
/home/pi/openFrameworks/libs/glm/include/glm/./gtc/packing.inl: In function ‘glm::vec4 glm::unpackUnorm4x16(glm::uint64)’:
/home/pi/openFrameworks/libs/glm/include/glm/./gtc/packing.inl:437:37: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘glm::u16vec4’ {aka ‘struct glm::tvec4<short unsigned int, (glm::precision)0>’} from an array of ‘glm::uint64’ {aka ‘long long unsigned int’} [-Wclass-memaccess]
   memcpy(&Unpack, &p, sizeof(Unpack));
                                     ^
In file included from /home/pi/openFrameworks/libs/glm/include/glm/vec4.hpp:6,
                 from /home/pi/openFrameworks/libs/openFrameworks/math/ofVec4f.h:8,
                 from /home/pi/openFrameworks/libs/openFrameworks/math/ofVec3f.h:5,
                 from /home/pi/openFrameworks/libs/openFrameworks/types/ofPoint.h:3,
                 from /home/pi/openFrameworks/libs/openFrameworks/types/ofParameter.h:5,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxBaseGui.h:4,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.h:11,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:9:
/home/pi/openFrameworks/libs/glm/include/glm/detail/type_vec4.hpp:19:9: note: ‘glm::u16vec4’ {aka ‘struct glm::tvec4<short unsigned int, (glm::precision)0>’} declared here
  struct tvec4
         ^~~~~
In file included from /home/pi/openFrameworks/libs/glm/include/glm/./gtc/packing.hpp:579,
                 from /home/pi/openFrameworks/libs/glm/include/glm/ext.hpp:48,
                 from /home/pi/openFrameworks/libs/openFrameworks/math/ofVectorMath.h:21,
                 from /home/pi/openFrameworks/libs/openFrameworks/graphics/ofPolyline.inl:8,
                 from /home/pi/openFrameworks/libs/openFrameworks/graphics/ofPolyline.h:553,
                 from /home/pi/openFrameworks/libs/openFrameworks/graphics/ofPath.h:5,
                 from /home/pi/openFrameworks/libs/openFrameworks/graphics/ofTrueTypeFont.h:6,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxBaseGui.h:5,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.h:11,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:9:
/home/pi/openFrameworks/libs/glm/include/glm/./gtc/packing.inl: In function ‘glm::vec4 glm::unpackSnorm4x16(glm::uint64)’:
/home/pi/openFrameworks/libs/glm/include/glm/./gtc/packing.inl:469:37: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘glm::i16vec4’ {aka ‘struct glm::tvec4<short int, (glm::precision)0>’} from an array of ‘glm::uint64’ {aka ‘long long unsigned int’} [-Wclass-memaccess]
   memcpy(&Unpack, &p, sizeof(Unpack));
                                     ^
In file included from /home/pi/openFrameworks/libs/glm/include/glm/vec4.hpp:6,
                 from /home/pi/openFrameworks/libs/openFrameworks/math/ofVec4f.h:8,
                 from /home/pi/openFrameworks/libs/openFrameworks/math/ofVec3f.h:5,
                 from /home/pi/openFrameworks/libs/openFrameworks/types/ofPoint.h:3,
                 from /home/pi/openFrameworks/libs/openFrameworks/types/ofParameter.h:5,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxBaseGui.h:4,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.h:11,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:9:
/home/pi/openFrameworks/libs/glm/include/glm/detail/type_vec4.hpp:19:9: note: ‘glm::i16vec4’ {aka ‘struct glm::tvec4<short int, (glm::precision)0>’} declared here
  struct tvec4
         ^~~~~
In file included from /home/pi/openFrameworks/libs/glm/include/glm/./gtc/packing.hpp:579,
                 from /home/pi/openFrameworks/libs/glm/include/glm/ext.hpp:48,
                 from /home/pi/openFrameworks/libs/openFrameworks/math/ofVectorMath.h:21,
                 from /home/pi/openFrameworks/libs/openFrameworks/graphics/ofPolyline.inl:8,
                 from /home/pi/openFrameworks/libs/openFrameworks/graphics/ofPolyline.h:553,
                 from /home/pi/openFrameworks/libs/openFrameworks/graphics/ofPath.h:5,
                 from /home/pi/openFrameworks/libs/openFrameworks/graphics/ofTrueTypeFont.h:6,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxBaseGui.h:5,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.h:11,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:9:
/home/pi/openFrameworks/libs/glm/include/glm/./gtc/packing.inl: In function ‘glm::vec4 glm::unpackHalf4x16(glm::uint64)’:
/home/pi/openFrameworks/libs/glm/include/glm/./gtc/packing.inl:505:37: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘glm::i16vec4’ {aka ‘struct glm::tvec4<short int, (glm::precision)0>’} from an array of ‘glm::uint64’ {aka ‘long long unsigned int’} [-Wclass-memaccess]
   memcpy(&Unpack, &v, sizeof(Unpack));
                                     ^
In file included from /home/pi/openFrameworks/libs/glm/include/glm/vec4.hpp:6,
                 from /home/pi/openFrameworks/libs/openFrameworks/math/ofVec4f.h:8,
                 from /home/pi/openFrameworks/libs/openFrameworks/math/ofVec3f.h:5,
                 from /home/pi/openFrameworks/libs/openFrameworks/types/ofPoint.h:3,
                 from /home/pi/openFrameworks/libs/openFrameworks/types/ofParameter.h:5,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxBaseGui.h:4,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.h:11,
                 from /home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:9:
/home/pi/openFrameworks/libs/glm/include/glm/detail/type_vec4.hpp:19:9: note: ‘glm::i16vec4’ {aka ‘struct glm::tvec4<short int, (glm::precision)0>’} declared here
  struct tvec4
         ^~~~~
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp: In instantiation of ‘void ofxInputField<Type>::moveCursor(int) [with Type = signed char]’:
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:796:16:   required from here
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:276:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’}  -Wsign-compare]
  if ( visibleInputEnd < ofUTF8Length( input ) ){
       ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp: In instantiation of ‘void ofxInputField<Type>::moveCursor(int) [with Type = unsigned char]’:
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:797:16:   required from here
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:276:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’}  -Wsign-compare]
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp: In instantiation of ‘void ofxInputField<Type>::moveCursor(int) [with Type = short int]’:
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:798:16:   required from here
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:276:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’}  -Wsign-compare]
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp: In instantiation of ‘void ofxInputField<Type>::moveCursor(int) [with Type = short unsigned int]’:
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:799:16:   required from here
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:276:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’}  -Wsign-compare]
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp: In instantiation of ‘void ofxInputField<Type>::moveCursor(int) [with Type = int]’:
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:800:16:   required from here
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:276:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’}  -Wsign-compare]
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp: In instantiation of ‘void ofxInputField<Type>::moveCursor(int) [with Type = unsigned int]’:
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:801:16:   required from here
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:276:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’}  -Wsign-compare]
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp: In instantiation of ‘void ofxInputField<Type>::moveCursor(int) [with Type = long long int]’:
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:802:16:   required from here
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:276:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’}  -Wsign-compare]
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp: In instantiation of ‘void ofxInputField<Type>::moveCursor(int) [with Type = long long unsigned int]’:
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:803:16:   required from here
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:276:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’}  -Wsign-compare]
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp: In instantiation of ‘void ofxInputField<Type>::moveCursor(int) [with Type = float]’:
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:804:16:   required from here
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:276:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’}  -Wsign-compare]
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp: In instantiation of ‘void ofxInputField<Type>::moveCursor(int) [with Type = double]’:
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:805:16:   required from here
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:276:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’}  -Wsign-compare]
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp: In instantiation of ‘void ofxInputField<Type>::moveCursor(int) [with Type = std::__cxx11::basic_string<char>]’:
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:806:16:   required from here
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:276:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’}  -Wsign-compare]
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp: In instantiation of ‘void ofxInputField<Type>::moveCursor(int) [with Type = bool]’:
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:807:16:   required from here
/home/pi/openFrameworks/addons/ofxGui/src/ofxInputField.cpp:276:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’}  -Wsign-compare]
#4

Hi, It is strange. Its been a while since the last time I compiled ofxGui on a Raspi, although I don’t see why it should hang. Certainly the sign comparison is bothering so you might want to remove -Wsign-compare from the compiler options (can’t recall right now where to do so, sorry) and see where it gets. Maybe it would be also a good idea to get the compiler into a more verbose mode. Maybe @jvcleave can give you a clue.

Slightly off topic, I prefer, instead of compiling directly in the Raspi, to cross compile on my computer and then just copy the compiled app to the raspi. It is way much faster, although it can be a bit cumbersome to setup right, but you just need to setup once. There is a long thread in the forum about cross compiling.

#5

Alright I will see if I can get some more verbose output. I think for the moment I will avoid to include ofxGui in my projects :frowning:

As for cross-compiling, I would love to be able to do that. Tried few times but never managed. Most guides I found were from a Mac or Linux machine, not Windows.
I will dig in the forum and see if I can find this thread.

#6

It is weird though that you can not compile it. I’ll try to compile it tomorrow.

as for cross compiling, you need to use a virtual machine running that runs debian, so at the end it kinda doesn’t matter if you do it on mac, linux or windows.

#7

Hey!

I managed to compile it, increasing the swap size to 1024, following this.
Now it doesn’t hang anymore! :blush:

#8

Super! thanks for sharing.