Comments (9)
Hey David,
Let me look into this! Both addons include the same file, so you may just need to remove the include/libs/json folder from the ofxLibwebsockets project
from ofxlibwebsockets.
Removing the reference to the include/libs/json folder seems to have solved it.
Cheers!
from ofxlibwebsockets.
Great! I'll add a note to the readme.
from ofxlibwebsockets.
Hi,
I'm having similar issues, and I would like both add-ons (ofxLibwebsockets & ofxJSON) to be using their own version of JsonCpp. For example, the version of JsonCpp included in ofxLibwebsockets' repo has been modified.
Would it make sense to change the name of the jsoncpp.cpp
parent directory, and to change the symbols used as include guards, so that they are unique to ofxLibwebsockets?
Cheers.
from ofxlibwebsockets.
I'm getting the same problem. It seems like the project structure has changed since @davivid 's advice above? I tried deleting the libs/jsoncpp folder and removing the header search paths but then ofxlibwebsockets complains about not being able to find jsoncpp at all. Any ideas?
from ofxlibwebsockets.
@aferriss are you using ofxJson? and what version of OF?
We're going to really soon switch to ofJson once it's in the downloadable release (might already, actually), so this issue will be 100% fixed soon. Happy to help in the mean time!
from ofxlibwebsockets.
@robotconscience yes ofxJson and ofxLibwebsockets in tandem was my attempt, with 0.9.2. I ended up doing my parsing on the server side before having it sent to oF so I got it sorted! Seems like it will just be easiest to wait for 0.10
from ofxlibwebsockets.
Hi, I too just ran into this with a 0.9.7 project with both ofxJSON and ofxLibwebsockets. I also see this #include lands within a !defined(JSON_IS_AMALGATED) section. Any recommendations on how I should build this?
from ofxlibwebsockets.
Hi @visualist. I haven't tried with 0.9.7 yet, but with older 0.9.x releases you should be able to remove the libs/jsoncpp files from one of the addons (I'm not sure if it matters whether you remove them from ofxJSON or ofxLibwebsockets) in your project to get around these errors.
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.