Git Product home page Git Product logo

Comments (10)

leadedge avatar leadedge commented on July 29, 2024 1

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.

leadedge avatar leadedge commented on July 29, 2024 1

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.

dimitre avatar dimitre commented on July 29, 2024

super. in fact I have an error right there
Screen Shot 2021-11-18 at 00 17 04

from ofxndi.

leadedge avatar leadedge commented on July 29, 2024

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.

dimitre avatar dimitre commented on July 29, 2024

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.

leadedge avatar leadedge commented on July 29, 2024

I will look into that, but it might be difficult to guess.

from ofxndi.

dimitre avatar dimitre commented on July 29, 2024

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.

leadedge avatar leadedge commented on July 29, 2024

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.

dimitre avatar dimitre commented on July 29, 2024

Thank you! everything fixed here

from ofxndi.

leadedge avatar leadedge commented on July 29, 2024

Thanks for your time with this. All works fine with Windows.

from ofxndi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.