Giter Site home page Giter Site logo

Build error MSVC 19.16.27030.1 about blend2d HOT 7 CLOSED

blend2d avatar blend2d commented on May 25, 2024
Build error MSVC 19.16.27030.1

from blend2d.

Comments (7)

Wiladams avatar Wiladams commented on May 25, 2024

More clarity, this applies to 'debug' builds. When I build for release it's fine as the RTC1 flag is not part of the configuration. This is true whether from cmake --build . , or from within visual studio (same project files either way). I'm thinking the proper fix, and what I did in my environment, is to remove the /Ox flag from the debug configuration because it's counter to the runtime checking flag anyway.

from blend2d.

kobalicek avatar kobalicek commented on May 25, 2024

I heard about this although this never happened to me. May I ask how the project was created? Because when using MSVC generator I think you should not explicitly set CMAKE_BUILD_TYPE (should be empty) otherwise it would mess with other build options that you can set through IDE.

from blend2d.

Wiladams avatar Wiladams commented on May 25, 2024

following the instructions here: https://blend2d.com/download.html

If course, you do explicitly say to leave the thing blank, instead of setting it, but who reads docs completely anyway. I just figured I'd try what the instructions say explicitly and see what happens. So, this is the only issue as far as I can tell.

from blend2d.

kobalicek avatar kobalicek commented on May 25, 2024

Not sure how to fix this, any ideas?

from blend2d.

Wiladams avatar Wiladams commented on May 25, 2024

I'll have to dig into the cmake cruft. Fairly low priority as the workaround is fairly easy.

from blend2d.

kobalicek avatar kobalicek commented on May 25, 2024

I think this should be fixed. I switched to cmake generator expressions and it automatically fixed this problem. Can you verify it?

from blend2d.

Wiladams avatar Wiladams commented on May 25, 2024

Yah, verified on my last build. Thanks.

from blend2d.

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.