Closed clankill3r closed 4 years ago
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.
Try "std::floor" instead of just "floor" and let me know if that works.
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.
Closing old issue.
hi, first off all, I have very little experience with c++ and openframeworks, so keep that in mind.
I try to use ofxNDI on mac osx, but I get the following errors:
I am not really sure how to approach from here, so any help is welcome.
best Doeke