GithubHelp home page GithubHelp logo

Comments (9)

 avatar commented on May 19, 2024

Generally Diligent headers require one of platforms macros (PLATFORM_WIN32, PLATFORM_LINUX) to be defined. If you use Cmake, these macros are exported by Diligent targets otherwise you need to define them.

from diligentengine.

ksidacroark avatar ksidacroark commented on May 19, 2024

Yes - I already defined them beforehand - this is what my header looks like http://prntscr.com/mab4bv

from diligentengine.

 avatar commented on May 19, 2024

Can you post how you use it?

from diligentengine.

ksidacroark avatar ksidacroark commented on May 19, 2024

Like this: http://prntscr.com/mabdn9 Even without anything written invoking BasicMath it still causes errors

from diligentengine.

 avatar commented on May 19, 2024

Not sure why this happens, maybe some missing definitions. I need to take a closer look. Are you using Cmake?

from diligentengine.

 avatar commented on May 19, 2024

I double-checked an the header should work. In fact, there is even special build test that only includes this single header. As long as platform definitions are properly defined, the header should work fine

from diligentengine.

 avatar commented on May 19, 2024

Is it possible that there are conflicts with other types? Math utils are not in Diligent namespace, which is an overlook and needs to be fixed DiligentGraphics/DiligentCore#54

from diligentengine.

 avatar commented on May 19, 2024

I moved all math utilities to Diligent namespace, so there should be no name conflicts. Please let me know if you still see the issue.

from diligentengine.

 avatar commented on May 19, 2024

Closing the issue for now. Please feel free to reopen or create another one if you still have problems.

from diligentengine.

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.