GithubHelp home page GithubHelp logo

Compiling with Ninja on Windows about island HOT 5 CLOSED

tgfrerer avatar tgfrerer commented on September 27, 2024
Compiling with Ninja on Windows

from island.

Comments (5)

tgfrerer avatar tgfrerer commented on September 27, 2024

hey @therealnv6 - thanks for your interest in Island :)

i'm on Linux today and will only get to return to windows next week, but in the meantime - could it be that the ninja build issues are somehow related to ninja not having access to the same context as msvc.

I think i faintly remember that i managed to run a ninja build on windows in the past by calling ninja from inside a 64 bit developer command prompt...

The hints in this the windows readme should explain a bit better what i mean: https://github.com/tgfrerer/island/blob/wip/README_WINDOWS.md

from island.

therealnv6 avatar therealnv6 commented on September 27, 2024

Hey! Thanks for the quick reply.

Apologies if I caused any confusion, I'm trying to use Ninja instead of MSVC, primarily for it to generate a compile_commands.json, I'm not actually using Visual Studio.

could it be that the ninja build issues are somehow related to ninja not having access to the same context as msvc.

I'm not entirely sure, ninja can usually compile my other vulkan projects just fine, where vulkan is just set using the normal VULKAN_SDK path variable.

I think i faintly remember that i managed to run a ninja build on windows in the past by calling ninja from inside a 64 bit developer command prompt...

Hmm, I tried doing this but still seem to be facing an issue compiling with Ninja. Could there be something I'm doing wrong? I'm just following the commands I provided above.

Again, thanks a lot for the quick reply! This looks like a very interesting project!

from island.

tgfrerer avatar tgfrerer commented on September 27, 2024

from the printouts on pastebin i wonder if it could be that you might be using the x86 developer command prompt and not the x64 one ... windows can be super finnicky ... x64 Native Tools Command Prompt for VS 2019 should be the correct one. the VS2022 should work, too

from island.

therealnv6 avatar therealnv6 commented on September 27, 2024

Perfect! Can confirm VS2022 does work. Not sure why it took the x86 developer command prompt. Thanks a lot!

from island.

tgfrerer avatar tgfrerer commented on September 27, 2024

awesome :)

from island.

Related Issues (14)

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.