Giter Site home page Giter Site logo

Comments (8)

ryanvolz avatar ryanvolz commented on July 27, 2024

You should be fine to use any variant of Visual Studio. The key is to install the "MSVC v141 - VS2017 C++ x64/x86 build tools (v14.16)" component under the list of "Individual Components" when modifying your Visual Studio installation. There's also the VS2019 equivalent that you might need instead, depending on how new your gnuradio-build-deps package is. I'll have to dig out the exact name of what that component is called.

from radioconda.

ryanvolz avatar ryanvolz commented on July 27, 2024

I can't confirm with a local installation yet, but I think the VS2019 component to install within VS2022 is the similarly-named "MSVC v142 - VS 2019 C++ x64/x86 build tools".

from radioconda.

ryanvolz avatar ryanvolz commented on July 27, 2024

I'll also add that I don't think that conda-forge, which supplies the compiler setup scripts, fully supports Visual Studio 2022 yet. More specifically, it might have trouble finding the VS2019 compiler within a VS2022 installation even when you have it. That's probably where you'll end up even with everything installed correctly on your end, and then the fact that it doesn't work is not your fault! Hopefully conda-forge fixes it soon, and I think they will. But until then, you might have to install Visual Studio 2019 instead of 2022 with the 2019 compiler package to get it working.

from radioconda.

Modiug avatar Modiug commented on July 27, 2024

Uninstalling VS2022 Community and installing VS2019 Community instead solved the issue so far. VisualStudio is now properly found. I still have to check what's going on with my work laptop where I have some VS Professional installed. At least I am a step further. Thanks!

from radioconda.

ryanvolz avatar ryanvolz commented on July 27, 2024

Glad it worked!

It looks like VS2022 support is waiting on conda-forge/vc-feedstock#46. I'll keep this open until that is merged so I remember to track it.

from radioconda.

Modiug avatar Modiug commented on July 27, 2024

Sounds good!

In "...\AppData\Local\radioconda\etc\conda\activate.d" I only see a "vs2019_compiler_vars.bat". So I guess, it really only works with VS2019. I guess there is also some dependency on how Python for Radioconda was built?

from radioconda.

ryanvolz avatar ryanvolz commented on July 27, 2024

Right, gnuradio-build-deps installs the same compiler package that gnuradio was built with, which is now VS2019. (It was VS2017 until recently, I think even the previous release.) Thus the need for having the VS2019 installed externally. What's missing is that it should be possible to have VS2022 with the VS2019 build tools installed, but that activation script needs to be updated to support that.

from radioconda.

ryanvolz avatar ryanvolz commented on July 27, 2024

VS2022 should work now once radioconda is updated to include the latest vs2015_runtime package. I'll close this with the next release.

from radioconda.

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.