Giter VIP home page Giter VIP logo

Comments (7)

targrub avatar targrub commented on June 11, 2024

Sorry, I think I should have filed this against bevy-rrise. But rrise looks to have this issue, so I'll leave it open.

from rrise.

dtaralla avatar dtaralla commented on June 11, 2024

Hey ! Thanks for your interest.

So first thing: This crate (and bevy-rrise) don't officially support Wwise 2021.1.10 (I tested up to 2021.1.7). I've tested tonight with Wwise 2021.1.9 and it links properly too (statically with .libs and dynamically with DLLs at runtime), so this is because you use 2021.1.10. Your fix should be enough though for your testsπŸ‘I can't integrate it though because it might break this crate for people using VS2019. Indeed, would they install Wwise 2021.1.10 and the VS2022 Wwise SDK while using VS2019 to compile this crate... problem.

With the addition of the support of MSVC 17.0 (ie VS2022) by Wwise in .10, the vc170 variant needs to be added if you plan to use MSVC 17 libs from Wwise SDK. Something else you could try is installing the VS2019 SDK of Wwise too, and see if it fixes your issues.

This code is not pretty indeed, but I couldn't find a quick reliable way to fetch MSVC install details (like cl.exe path, msvc version,...). I use the same kind of code to find the DLL path in the bevy-rrise examples...
We could make the selected vcXX folder overridable with some param though in the meantime... But personally, I'd want to update this code only if I have a nice solution that automatically selects the vcXX folder according to the visual studio version rust will be using to compile this crate.

EDIT: Looking into the cc::windows_registry thing. Maybe there is something we can use there.

from rrise.

dtaralla avatar dtaralla commented on June 11, 2024

I've added a fix_msvc_detection branch with a potential fix. Tried here with Wwise 2021.1.10 (with VS2022 platform ticked at install) + VS2022 and it worked. MSVC version and path/lib detection is also much better, based on the cc crate.

More info here: main...fix_msvc_detection

Let me know if it works for you and I'll update the crate after more extensive testing this weekend :)

from rrise.

targrub avatar targrub commented on June 11, 2024

There's also a new major version of Wwise, 2022.1.0, out.

from rrise.

dtaralla avatar dtaralla commented on June 11, 2024

That's out of scope - it's still a beta.

from rrise.

targrub avatar targrub commented on June 11, 2024

That would make sense. But how can one tell it's a beta release?

from rrise.

dtaralla avatar dtaralla commented on June 11, 2024

I'm working with Wwise professionally and this release is not ready yet; search a bit on their blog and you'll see. They allow you to install it already for testing, but it's still a beta. It won't be released for production before "fall this year". It's going to disrupt a lot of game integration concepts with their new soundbank management, and I'll take some time later this year to see if I can integrate it in rrise too.

from rrise.

Related Issues (4)

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.