Closed increpare closed 5 years ago
No, this isn't normal. If the primitives aren't found that's typically a sign that CFFI is failing. Did you double check that your Steam dll files are making it to the right place? Either that or you might have an improperly built version of steamwrap.
I thought it might be that the macOS dylib in the github repo is too old, so I tried rebuilding it myself, but it didn't seem to make a difference (I successfully built it and and copied over the whole directory in the haxelib path manually overwriting the existing one I got by cloning this repo).
Did you double check that your Steam dll files are making it to the right place? I think so. Like I said, I've been getting achievements. Does this directory structure look sensible to you?
I tried with both the libsteam_api.dylib v1.35a (15th January 2016 ) and the most recent v1.45 (25th June 2019)
(uh, thanks for the replies/assistance!)
That does indeed look correct. It's weird you're getting achievements but still getting the missing primitives message. Did you try building the example test app? Does that have trouble too? My gut feeling is still that there's a mismatch in library files somewhere. If you're rebuilding the binaries yourself you want to make sure that the .h files imported from the script setup correspond to the dylib file that eventually makes it into your app.
Ok I tried building SteamWrap again from scratch, being very careful to use the sdk version you recommended and not accidentally referencing the wrong library versions. And now it works, as if by magic... thanks for the tips!
is this normal? (on macos 10.14, haxe 4.0.0-preview.4+1e3e5e0)
On the plus side, achievements and the like are working. On the scary side, there're a lot of "Could not find primitive" messages. Is that normal?