Comments (10)
Thanks Dimitre,
yes you are right. CopyMemory is a Windows function and it can be simply replaced by memcpy. I think __int32_t should be OK. I will check when I get up to this. Meanwhile if you can make those changes manually it will solve the problem. The ReadTexturePixels has been revised recently so I hope it is OK for MacOS.
from ofxndi.
I replaced the ReadTexturePixels function with a previous version to avoid the problem.
I also changed "unsigned __int32" to "uint32_t". This had been an issue previously.
from ofxndi.
super. in fact I have an error right there
from ofxndi.
It looks like the glBufferStorage extension is not defined. What I might do is put in an alternative function that does not require glBufferStorage and see if that works.
from ofxndi.
Great! Everything running here!
For me it is working when compiling to rosetta (intel) with debug option.
Release for Intel complain for intrinsics in some lines, it is falling out of #ifdef x86_64 for some reason.
it is the same error as trying to compile for Apple Silicon:
Use of undeclared identifier '__builtin_ia32_readeflags_u32'
Thank you!
from ofxndi.
I will look into that, but it might be difficult to guess.
from ofxndi.
Thanks, in fact this Debug / Release is probably an OpenFrameworks unexpected behavior. just opened an issue here
openframeworks/openFrameworks#6784 (comment)
if yes it will explain this one too
#19
from ofxndi.
OK I hope something comes of this. Meanwhile if the workaround is a solution, maybe that could be documented. Does it solve issue #19 as well?
I have not found any clear reason for the error message, but somewhere I found that order of include could be important.
Move the block of intrinsic includes up to just after "#include "ofxNDIplatforms.h""
That's about all I can suggest right now.
from ofxndi.
Thank you! everything fixed here
from ofxndi.
Thanks for your time with this. All works fine with Windows.
from ofxndi.
Related Issues (20)
- undeclared identifiers on OSX 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
- 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
- ofmain.h HOT 4
- timecode HOT 7
- should it be possible to send two NDI streams from the same openframeworks app ? HOT 2
- reference to 'byte' is ambiguous when compiling example using msys2 HOT 10
- Failing to compile latest commit on macOS HOT 9
- not working in macOS HOT 14
- error when compiling example on raspberry pi 4: undefined reference to ofxNDIutils::CopyImage HOT 8
- not working in macOS 2 HOT 2
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.