Comments (7)
No problem! Should have a moment later tonight to recompile. If you want to give it a shot, there's fairly detailed instructions how to in the Readme.
Will post here if I get to it sooner!
from ofxlibwebsockets.
Gave it try, couldn't easily get it to build.
CMake Error at CMakeLists.txt:7 (project):
The CMAKE_C_COMPILER:
gcc
is not a full path and was not found in the PATH.
from ofxlibwebsockets.
Hey Oriol, can you try this one out?
https://www.dropbox.com/s/ekap27nvxr9lte7/libwebsockets.a?dl=0
Should work, just want to test before pushing it up
from ofxlibwebsockets.
the lib works the same, but getifaddrs() still fails (errno 6)...
hard to tell what's going on
from ofxlibwebsockets.
Yep I can confirm that getifaddrs() doesn't fail when I don't include ofxLibWebSockets in the project... So it must still be defined somewhere in there?
from ofxlibwebsockets.
Hm! I did define the HAVE_GETIFADDRS, and can confirm the preprocessor's working. I don't know a ton about the function, so I'm not sure.
Here's what I did to compile, if you want to play with it:
- change line 30 and 31 in iOS.cmake to:
CMAKE_FORCE_C_COMPILER(/usr/bin/gcc GNU)
CMAKE_FORCE_CXX_COMPILER(/usr/bin/g++ GNU)
- manually pass in openSSL when making (not sure why, haven't had to do that in the past):
cmake -DLWS_OPENSSL_INCLUDE_DIRS=/usr/include/openssl -DLWS_OPENSSL_LIBRARIES=/usr/bin/openssl -DCMAKE_TOOLCHAIN_FILE=~/Dropbox/Code/OF/of_v0.X.X_github/addons/ofxLibwebsockets/extras/ios_libwebsockets/toolchain/iOS.cmake -GXcode ..
- Rest should work! I had some weird errors compiling SSL within Xcode after making, so ended up compiling in OF's version... weird, but it did work.
from ofxlibwebsockets.
I will give it another shot when I get a sec.
from ofxlibwebsockets.
Related Issues (20)
- File Upload Question
- Corrupted data server side?
- example_server_echo not able to load jquery from RPI3
- net::ERR_CONTENT_LENGTH_MISMATCH HOT 1
- The addon will not be compatible with ofx 0.10.0 in windows HOT 5
- compiling on rpi HOT 4
- Problem with ubuntu 18 and workaround HOT 2
- Current windows libs are 64-bit exclusively HOT 1
- When compiling on OS X: Undefined symbols for architecture x86_64: HOT 1
- SSL connection Issue
- Add 64-bit requirment note to Readme HOT 1
- Can the Video Blob examples be built on Windows 10 X64
- handling args.json has compile errors
- 'bool ofxTurboJpeg::compress<ofImage>(T &,int,unsigned long)': cannot convert argument 3 from 'unsigned long *' to 'unsigned long' example_server_blob C:\Users\Thea\Desktop\of_v0.9.7_vs_release\addons\ofxLibwebsockets\example_server_blob\src\ofApp.cpp 158
- Race condition
- crypto.a and ssl.a paths in addon_config.mk HOT 2
- Memory leak when sending a video as binary
- Error may be due to dependancy? HOT 2
- Feature Request - blocking methods for send() and receive()? HOT 1
- Why is it requring websockets.lib?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ofxlibwebsockets.