I've just tried to compile example_client_hello_world on an ODroid-U3 (ARMv7) running Ubuntu 13,
but ran into loads of errors:
odroid@odroid:~/odroid-development/of/addons/ofxLibwebsockets/example_client_hello_world$ make
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 libpulse-simple alsa gtk+-3.0 libmpg123 glesv1_cm glesv2 egl
Compiling OF library for Release
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 libpulse-simple alsa gtk+-3.0 libmpg123 glesv1_cm glesv2 egl
make[1]: Entering directory `/home/odroid/odroid-development/of/libs/openFrameworksCompiled/project'
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 libpulse-simple alsa gtk+-3.0 libmpg123 glesv1_cm glesv2 egl
make[2]: Nothing to be done for `ReleaseABI'.
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 libpulse-simple alsa gtk+-3.0 libmpg123 glesv1_cm glesv2 egl
Done!
make[1]: Leaving directory `/home/odroid/odroid-development/of/libs/openFrameworksCompiled/project'
Compiling example_client_hello_world for Release
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 libpulse-simple alsa gtk+-3.0 libmpg123 glesv1_cm glesv2 egl
make[1]: Entering directory `/home/odroid/odroid-development/of/addons/ofxLibwebsockets/example_client_hello_world'
Compiling src/ofApp.cpp
g++ -c -O3 -Wall -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 -I./example_client_hello_world.xcodeproj/xcshareddata -I./example_client_hello_world.xcodeproj/xcshareddata/xcschemes -I./src -I../../../addons/ofxLibwebsockets/libs/jsoncpp -I../../../addons/ofxLibwebsockets/libs/jsoncpp/json -I../../../addons/ofxLibwebsockets/libs/libwebsockets/include/ -I../../../addons/ofxLibwebsockets/libs/ofxLibwebsockets/include -I../../../addons/ofxLibwebsockets/libs/ofxLibwebsockets/include/ofxLibwebsockets -I../../../addons/ofxLibwebsockets/libs/ofxLibwebsockets/src -I../../../addons/ofxLibwebsockets/src -pthread -D_REENTRANT -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gstreamer-1.0 -I/usr/include/alsa -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/harfbuzz -I/usr/include/libdrm -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/rtAudio/include -I../../../libs/tess2/include -I../../../libs/openFrameworks -I../../../libs/openFrameworks/utils -I../../../libs/openFrameworks/graphics -I../../../libs/openFrameworks/communication -I../../../libs/openFrameworks/math -I../../../libs/openFrameworks/events -I../../../libs/openFrameworks/gl -I../../../libs/openFrameworks/3d -I../../../libs/openFrameworks/types -I../../../libs/openFrameworks/app -I../../../libs/openFrameworks/sound -I../../../libs/openFrameworks/video -MMD -MP -MF obj/linuxarmv7l/Release/src/ofApp.d -MT obj/linuxarmv7l/Release/src/ofApp.o -o obj/linuxarmv7l/Release/src/ofApp.o -c src/ofApp.cpp
In file included from ../../../addons/ofxLibwebsockets/libs/ofxLibwebsockets/include/ofxLibwebsockets/Util.h:17:0,
from ../../../addons/ofxLibwebsockets/src/ofxLibwebsockets.h:3,
from src/ofApp.h:5,
from src/ofApp.cpp:1:
../../../addons/ofxLibwebsockets/libs/ofxLibwebsockets/include/ofxLibwebsockets/Server.h:43:26: warning: ‘ofxLibwebsockets::ServerOptions ofxLibwebsockets::defaultServerOptions()’ defined but not used [-Wunused-function]
static ServerOptions defaultServerOptions(){
^
In file included from ../../../addons/ofxLibwebsockets/src/ofxLibwebsockets.h:3:0,
from src/ofApp.h:5,
from src/ofApp.cpp:1:
../../../addons/ofxLibwebsockets/libs/ofxLibwebsockets/include/ofxLibwebsockets/Util.h:244:17: warning: ‘void ofxLibwebsockets::dump_handshake_info(lws_tokens*)’ defined but not used [-Wunused-function]
static void dump_handshake_info(struct lws_tokens *lwst)
^
In file included from ../../../addons/ofxLibwebsockets/src/ofxLibwebsockets.h:3:0,
from src/ofApp.h:5,
from src/ofApp.cpp:1:
../../../addons/ofxLibwebsockets/libs/ofxLibwebsockets/include/ofxLibwebsockets/Util.h:29:16: warning: ‘int ofxLibwebsockets::lws_client_callback(libwebsocket_context*, libwebsocket*, libwebsocket_callback_reasons, void*, void*, size_t)’ defined but not used [-Wunused-function]
static int lws_client_callback(struct libwebsocket_context* context, struct libwebsocket *ws, enum libwebsocket_callback_reasons reason, void *user, void *data, size_t len){
^
In file included from ../../../addons/ofxLibwebsockets/src/ofxLibwebsockets.h:3:0,
from src/ofApp.h:5,
from src/ofApp.cpp:1:
../../../addons/ofxLibwebsockets/libs/ofxLibwebsockets/include/ofxLibwebsockets/Util.h:127:16: warning: ‘int ofxLibwebsockets::lws_callback(libwebsocket_context*, libwebsocket*, libwebsocket_callback_reasons, void*, void*, size_t)’ defined but not used [-Wunused-function]
static int lws_callback(struct libwebsocket_context* context, struct libwebsocket *ws,
^
Compiling src/main.cpp
g++ -c -O3 -Wall -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 -I./example_client_hello_world.xcodeproj/xcshareddata -I./example_client_hello_world.xcodeproj/xcshareddata/xcschemes -I./src -I../../../addons/ofxLibwebsockets/libs/jsoncpp -I../../../addons/ofxLibwebsockets/libs/jsoncpp/json -I../../../addons/ofxLibwebsockets/libs/libwebsockets/include/ -I../../../addons/ofxLibwebsockets/libs/ofxLibwebsockets/include -I../../../addons/ofxLibwebsockets/libs/ofxLibwebsockets/include/ofxLibwebsockets -I../../../addons/ofxLibwebsockets/libs/ofxLibwebsockets/src -I../../../addons/ofxLibwebsockets/src -pthread -D_REENTRANT -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gstreamer-1.0 -I/usr/include/alsa -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/harfbuzz -I/usr/include/libdrm -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/rtAudio/include -I../../../libs/tess2/include -I../../../libs/openFrameworks -I../../../libs/openFrameworks/utils -I../../../libs/openFrameworks/graphics -I../../../libs/openFrameworks/communication -I../../../libs/openFrameworks/math -I../../../libs/openFrameworks/events -I../../../libs/openFrameworks/gl -I../../../libs/openFrameworks/3d -I../../../libs/openFrameworks/types -I../../../libs/openFrameworks/app -I../../../libs/openFrameworks/sound -I../../../libs/openFrameworks/video -MMD -MP -MF obj/linuxarmv7l/Release/src/main.d -MT obj/linuxarmv7l/Release/src/main.o -o obj/linuxarmv7l/Release/src/main.o -c src/main.cpp
In file included from ../../../addons/ofxLibwebsockets/libs/ofxLibwebsockets/include/ofxLibwebsockets/Util.h:16:0,
from ../../../addons/ofxLibwebsockets/src/ofxLibwebsockets.h:3,
from src/ofApp.h:5,
from src/main.cpp:2:
../../../addons/ofxLibwebsockets/libs/ofxLibwebsockets/include/ofxLibwebsockets/Client.h:31:26: warning: ‘ofxLibwebsockets::ClientOptions ofxLibwebsockets::defaultClientOptions()’ defined but not used [-Wunused-function]
static ClientOptions defaultClientOptions(){
^
In file included from ../../../addons/ofxLibwebsockets/libs/ofxLibwebsockets/include/ofxLibwebsockets/Util.h:17:0,
from ../../../addons/ofxLibwebsockets/src/ofxLibwebsockets.h:3,
from src/ofApp.h:5,
from src/main.cpp:2:
../../../addons/ofxLibwebsockets/libs/ofxLibwebsockets/include/ofxLibwebsockets/Server.h:43:26: warning: ‘ofxLibwebsockets::ServerOptions ofxLibwebsockets::defaultServerOptions()’ defined but not used [-Wunused-function]
static ServerOptions defaultServerOptions(){
^
In file included from ../../../addons/ofxLibwebsockets/src/ofxLibwebsockets.h:3:0,
from src/ofApp.h:5,
from src/main.cpp:2:
../../../addons/ofxLibwebsockets/libs/ofxLibwebsockets/include/ofxLibwebsockets/Util.h:244:17: warning: ‘void ofxLibwebsockets::dump_handshake_info(lws_tokens*)’ defined but not used [-Wunused-function]
static void dump_handshake_info(struct lws_tokens *lwst)
^
In file included from ../../../addons/ofxLibwebsockets/src/ofxLibwebsockets.h:3:0,
from src/ofApp.h:5,
from src/main.cpp:2:
../../../addons/ofxLibwebsockets/libs/ofxLibwebsockets/include/ofxLibwebsockets/Util.h:29:16: warning: ‘int ofxLibwebsockets::lws_client_callback(libwebsocket_context*, libwebsocket*, libwebsocket_callback_reasons, void*, void*, size_t)’ defined but not used [-Wunused-function]
static int lws_client_callback(struct libwebsocket_context* context, struct libwebsocket *ws, enum libwebsocket_callback_reasons reason, void *user, void *data, size_t len){
^
In file included from ../../../addons/ofxLibwebsockets/src/ofxLibwebsockets.h:3:0,
from src/ofApp.h:5,
from src/main.cpp:2:
../../../addons/ofxLibwebsockets/libs/ofxLibwebsockets/include/ofxLibwebsockets/Util.h:127:16: warning: ‘int ofxLibwebsockets::lws_callback(libwebsocket_context*, libwebsocket*, libwebsocket_callback_reasons, void*, void*, size_t)’ defined but not used [-Wunused-function]
static int lws_callback(struct libwebsocket_context* context, struct libwebsocket *ws,
^
Linking bin/example_client_hello_world for linuxarmv7l
g++ -o bin/example_client_hello_world obj/linuxarmv7l/Release/src/ofApp.o obj/linuxarmv7l/Release/src/main.o ../../../addons/obj/linuxarmv7l/Release/ofxLibwebsockets/libs/jsoncpp/jsoncpp.o ../../../addons/obj/linuxarmv7l/Release/ofxLibwebsockets/libs/ofxLibwebsockets/src/Client.o ../../../addons/obj/linuxarmv7l/Release/ofxLibwebsockets/libs/ofxLibwebsockets/src/Connection.o ../../../addons/obj/linuxarmv7l/Release/ofxLibwebsockets/libs/ofxLibwebsockets/src/Protocol.o ../../../addons/obj/linuxarmv7l/Release/ofxLibwebsockets/libs/ofxLibwebsockets/src/Server.o ../../../addons/obj/linuxarmv7l/Release/ofxLibwebsockets/libs/ofxLibwebsockets/src/Reactor.o ../../../addons/obj/linuxarmv7l/Release/ofxLibwebsockets/libs/ofxLibwebsockets/src/Events.o ../../../libs/openFrameworksCompiled/lib/linuxarmv7l/libopenFrameworks.a -Wl,-rpath=./libs:./bin/libs -Wl,--as-needed -Wl,--gc-sections ../../../libs/glfw/lib/linuxarmv7l/libglfw3.a ../../../libs/kiss/lib/linuxarmv7l/libkiss.a ../../../libs/poco/lib/linuxarmv7l/libPocoZip.a ../../../libs/poco/lib/linuxarmv7l/libPocoFoundation.a ../../../libs/poco/lib/linuxarmv7l/libPocoXML.a ../../../libs/poco/lib/linuxarmv7l/libPocoCrypto.a ../../../libs/poco/lib/linuxarmv7l/libPocoNet.a ../../../libs/poco/lib/linuxarmv7l/libPocoUtil.a ../../../libs/poco/lib/linuxarmv7l/libPocoNetSSL.a ../../../libs/rtAudio/lib/linuxarmv7l/libRtAudio.a ../../../libs/tess2/lib/linuxarmv7l/libtess2.a ../../../libs/poco/lib/linuxarmv7l/libPocoNetSSL.a ../../../libs/poco/lib/linuxarmv7l/libPocoNet.a ../../../libs/poco/lib/linuxarmv7l/libPocoCrypto.a ../../../libs/poco/lib/linuxarmv7l/libPocoUtil.a ../../../libs/poco/lib/linuxarmv7l/libPocoXML.a ../../../libs/poco/lib/linuxarmv7l/libPocoFoundation.a -lz -lgstapp-1.0 -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -ludev -lfreetype -lfontconfig -lsndfile -lopenal -lssl -lcrypto -lpulse-simple -lpulse -lasound -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -lmpg123 -lGLESv1_CM -lGLESv2 -lEGL -lX11 -lXrandr -lXxf86vm -lXi -lXcursor -ldl -lpthread -lfreeimage
../../../addons/obj/linuxarmv7l/Release/ofxLibwebsockets/libs/ofxLibwebsockets/src/Client.o: In function `ofxLibwebsockets::Client::threadedFunction()':
Client.cpp:(.text+0x80): undefined reference to `libwebsocket_service'
Client.cpp:(.text+0xa8): undefined reference to `libwebsocket_context_destroy'
../../../addons/obj/linuxarmv7l/Release/ofxLibwebsockets/libs/ofxLibwebsockets/src/Client.o: In function `ofxLibwebsockets::Client::close()':
Client.cpp:(.text+0xe8): undefined reference to `libwebsocket_context_destroy'
../../../addons/obj/linuxarmv7l/Release/ofxLibwebsockets/libs/ofxLibwebsockets/src/Client.o: In function `ofxLibwebsockets::Client::connect(ofxLibwebsockets::ClientOptions)':
Client.cpp:(.text+0x8d2): undefined reference to `lws_set_log_level'
Client.cpp:(.text+0xa08): undefined reference to `libwebsocket_get_internal_extensions'
Client.cpp:(.text+0xa98): undefined reference to `libwebsocket_create_context'
Client.cpp:(.text+0xb8a): undefined reference to `libwebsocket_client_connect'
Client.cpp:(.text+0xc54): undefined reference to `libwebsocket_client_connect'
../../../addons/obj/linuxarmv7l/Release/ofxLibwebsockets/libs/ofxLibwebsockets/src/Client.o: In function `ofxLibwebsockets::lws_client_callback(libwebsocket_context*, libwebsocket*, libwebsocket_callback_reasons, void*, void*, unsigned int)':
Client.cpp:(.text+0x16ea): undefined reference to `libwebsockets_get_protocol'
Client.cpp:(.text+0x1ce2): undefined reference to `libwebsocket_callback_on_writable'
../../../addons/obj/linuxarmv7l/Release/ofxLibwebsockets/libs/ofxLibwebsockets/src/Connection.o: In function `ofxLibwebsockets::Connection::setupAddress()':
Connection.cpp:(.text+0x292): undefined reference to `libwebsocket_get_socket_fd'
Connection.cpp:(.text+0x2ec): undefined reference to `libwebsockets_get_peer_addresses'
../../../addons/obj/linuxarmv7l/Release/ofxLibwebsockets/libs/ofxLibwebsockets/src/Connection.o: In function `ofxLibwebsockets::Connection::update()':
Connection.cpp:(.text+0x34c): undefined reference to `libwebsocket_write'
Connection.cpp:(.text+0x354): undefined reference to `libwebsocket_callback_on_writable'
Connection.cpp:(.text+0x3ce): undefined reference to `libwebsocket_write'
Connection.cpp:(.text+0x3d6): undefined reference to `libwebsocket_callback_on_writable'
Connection.cpp:(.text+0x402): undefined reference to `libwebsocket_callback_on_writable'
Connection.cpp:(.text+0x414): undefined reference to `libwebsocket_callback_on_writable'
Connection.cpp:(.text+0x466): undefined reference to `libwebsocket_write'
Connection.cpp:(.text+0x46e): undefined reference to `libwebsocket_callback_on_writable'
Connection.cpp:(.text+0x554): undefined reference to `libwebsocket_write'
Connection.cpp:(.text+0x55c): undefined reference to `libwebsocket_callback_on_writable'
../../../addons/obj/linuxarmv7l/Release/ofxLibwebsockets/libs/ofxLibwebsockets/src/Connection.o: In function `ofxLibwebsockets::Connection::send(std::string const&)':
Connection.cpp:(.text+0x63c): undefined reference to `libwebsocket_write'
../../../addons/obj/linuxarmv7l/Release/ofxLibwebsockets/libs/ofxLibwebsockets/src/Connection.o: In function `ofxLibwebsockets::Connection::sendBinary(char*, unsigned int)':
Connection.cpp:(.text+0x80c): undefined reference to `libwebsocket_write'
../../../addons/obj/linuxarmv7l/Release/ofxLibwebsockets/libs/ofxLibwebsockets/src/Protocol.o: In function `ofxLibwebsockets::Protocol::broadcast(std::string const&)':
Protocol.cpp:(.text+0xd2): undefined reference to `libwebsocket_callback_on_writable_all_protocol'
../../../addons/obj/linuxarmv7l/Release/ofxLibwebsockets/libs/ofxLibwebsockets/src/Reactor.o: In function `ofxLibwebsockets::Reactor::_allow(libwebsocket*, ofxLibwebsockets::Protocol*, long)':
Reactor.cpp:(.text+0xf8): undefined reference to `libwebsocket_get_socket_fd'
Reactor.cpp:(.text+0x13a): undefined reference to `libwebsockets_get_peer_addresses'
../../../addons/obj/linuxarmv7l/Release/ofxLibwebsockets/libs/ofxLibwebsockets/src/Reactor.o: In function `ofxLibwebsockets::Reactor::_notify(ofxLibwebsockets::Connection*, libwebsocket_callback_reasons, char const*, unsigned int)':
Reactor.cpp:(.text+0xe4c): undefined reference to `libwebsockets_remaining_packet_payload'
Reactor.cpp:(.text+0xe6c): undefined reference to `lws_frame_is_binary'
Reactor.cpp:(.text+0x11c8): undefined reference to `libwebsocket_is_final_fragment'
Reactor.cpp:(.text+0x1248): undefined reference to `libwebsocket_is_final_fragment'
Reactor.cpp:(.text+0x1290): undefined reference to `libwebsocket_is_final_fragment'
../../../addons/obj/linuxarmv7l/Release/ofxLibwebsockets/libs/ofxLibwebsockets/src/Reactor.o: In function `ofxLibwebsockets::Reactor::_http(libwebsocket*, char const*)':
Reactor.cpp:(.text+0x158c): undefined reference to `libwebsockets_serve_http_file'
collect2: error: ld returned 1 exit status
make[1]: *** [bin/example_client_hello_world] Error 1
make[1]: Leaving directory `/home/odroid/odroid-development/of/addons/ofxLibwebsockets/example_client_hello_world'
make: *** [Release] Error 2
odroid@odroid:~/odroid-development/of/addons/ofxLibwebsockets/example_client_hello_world$
I'm using openframeworks 0.8.4. linux arm v7