Comments (4)
In 2017 Thomas Lengeling made changes for OSX. Since then there have been other changes for Linux as well as additions for fps calculations and I do not have a setup to keep it updated and tested.
With the changes for Linux, I note throughout "#if !defined(TARGET_WIN32) && !defined (TARGET_OSX)
". If you change that to "#if !defined(TARGET_WIN32)
", this should resolve TimeGetTime and sprintf_s.
However, the counters also have to be changed and attention to types as well. This has been done by Amaury Hazan for another project "ShaderMaker" and the necessary code can be found in the 1.6 branch (https://github.com/leadedge/ShaderMaker/tree/ffgl1.6). The counters are replaced by std::chrono functions along with other things and these changes could be transferred.
The warning "enumeration values not handled in switch" can be fixed by including the missing values but it should work without them.
Meanwhile you could comment out all the counter functions. Fps will not be calculated but that is not so important. This might get you going until I can make the necessary changes.
from ofxndi.
Try "std::floor" instead of just "floor" and let me know if that works.
from ofxndi.
I have updated the ARM/Linux "testing" branch with the suggested changes. It builds OK for Windows. Please let me know any compile errors reported.
from ofxndi.
Closing old issue.
from ofxndi.
Related Issues (20)
- Sender not working with programmable renderer HOT 4
- Issues when compiling for macOs and Linux HOT 8
- EXC_BAD_ACCESS when building for macOS (Release only, Debug works) HOT 19
- Proper way to handle multiple receivers HOT 3
- Issues with CopyMemory and unsigned __int32 on macOs HOT 10
- Memory leak on mac osx HOT 12
- macOs - freezing for about 10 seconds when NDI sender is disconnected HOT 5
- RPI 4 support (OpenGL ES 2.0) HOT 2
- ofxNDIutils, rgba_bgra and rgba_bgra_sse2 don't compile in macOS HOT 6
- README could be commented... HOT 11
- macOS errors HOT 10
- ndiSender.GetNDIversion() crashes in macOS HOT 5
- example-receiver on Linux, RPi? HOT 14
- ofmain.h HOT 4
- timecode HOT 7
- 'windows.h' file not found HOT 2
- audio ? HOT 2
- Exceptions thrown at 0x00000 (in ndireceiver_debug.exe): Access conflicts occur at 0xC0000005: execution location 0x00000000. HOT 10
- Example code not working on windows 10 HOT 4
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 ofxndi.