Git Product home page Git Product logo

Comments (4)

leadedge avatar leadedge commented on July 29, 2024

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.

leadedge avatar leadedge commented on July 29, 2024

Try "std::floor" instead of just "floor" and let me know if that works.

from ofxndi.

leadedge avatar leadedge commented on July 29, 2024

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.

leadedge avatar leadedge commented on July 29, 2024

Closing old issue.

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.