Giter Club home page Giter Club logo

Comments (8)

james7132 avatar james7132 commented on July 17, 2024 1

If updating the bindings fixes it, I see no reason to question the change. We should be regularly keeping the bindings and SDK binaries up to date.

from steamworks-rs.

cozyGalvinism avatar cozyGalvinism commented on July 17, 2024

Okay, so Steam creates it with the correct ID, at least according to the log at Steam/logs/workshop_log.txt, leaving me to believe there's either something wrong with the bindings themselves or it's a communication issue between the Steam API and my application.

from steamworks-rs.

cozyGalvinism avatar cozyGalvinism commented on July 17, 2024

After updating the steamworks-sys libs and rebuilding the bindings, it returned the correct ID. I will rebuild the bindings again but with the old libs and see if that already helps.

from steamworks-rs.

cozyGalvinism avatar cozyGalvinism commented on July 17, 2024

Yup, rebuilding the bindings did the trick. Seems like there was some mismatch between the API and the bindings. As I don't know if I can just commit the new bindings.rs or not, I suggest that you should update the bindings and publish a 0.9.1 version.

from steamworks-rs.

ceifa avatar ceifa commented on July 17, 2024

The current bindings.rs runs the last steamworks sdk version 153a since #79
I'm a little bit confused about what you did to fix. Can you explain better? Feel free to open a PR too.

from steamworks-rs.

cozyGalvinism avatar cozyGalvinism commented on July 17, 2024

To fix, I literally just cloned the repo, cded into steamworks_sys and ran cargo build --features rebuild-bindings. That already made the file have diffs to the one on the repo. Only thing that might have played into it is that I downloaded the most recent SDK and put the header files into the lib/steam/public dir, so maybe it built the bindings with a different set of headers?

from steamworks-rs.

ceifa avatar ceifa commented on July 17, 2024

That is weird. But anyway, if it fixed the problem, you can open a PR :)
@james7132 any thoughts on that?

from steamworks-rs.

cozyGalvinism avatar cozyGalvinism commented on July 17, 2024

So this bug is likely a result of not using platform-specific bindings, meaning it should resolved with #106 .

from steamworks-rs.

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.