FMOD native extension


#21

I think the last editor update broke my “running in editor” detection for loading the DLLs (because build/x86-64-darwin was renamed to build/x86_64-osx). I released an update fixing this:


#22

Was this changed? @vilse and @Mathias_Westerdahl


#23

We shouldn’t have changed anything afaik.

Bob.jar and Editor 2 does output the files into different folders though, but that has been the case from the start


#24

I don’t think this has changed, at least not recently. It might be a bit of confusion that the engine build etc uses the ‘darwin’ tag but the extender platforms in editor2 has been named ‘osx’ a long while as far as I can tell.


#25

After this update extension no longer working on macos.

WARNING:fmod: dlopen(/Users/.../defold-fmod-master/build/x86_64-darwin/libfmod.dylib, 10): image not found
WARNING:fmod: dlopen(/Users/.../defold-fmod-master/build/x86_64-darwin/libfmodstudio.dylib, 10): image not found
WARNING:fmod: FMOD libraries could not be loaded. FMOD will be disabled for this session

Previously it working fine on 1.2.144.


#26

Still working on Windows (I updated recently but there may still be another update that I have not got yet).


#27

Are you using Defold FMOD v1.0.2 on the latest editor? This is exactly what I solved in 1.0.2.

This is the dependency URL:
https://github.com/dapetcu21/defold-fmod/archive/v1.0.2.zip


#28

I open and run project from zip on github. Editor 1.2.144.
“master” is not 1.0.2?


#29

It is, but I updated master 2 hours ago. Make sure you pulled the latest version.


#30

macOS 10.13.6. Defold Editor 1.2.144 8def4b50c9aa049670e698d7dff3dc00d77e42d5
Run from editor (Project -> Build).
Defold FMOD 1.0.2 — Not working.
Defold FMOD 1.0.1 — Working.


#31

I’m on the alpha editor channel, where it’s osx instead of darwin. You’re probably on the stable version where, according to the log you gave me, it is indeed darwin. Ok. I’ll put the work in and make it backwards compatible, then


#32

I think I really fixed it now. Try:
https://github.com/dapetcu21/defold-fmod/archive/v1.0.3.zip


#33

So that’s the thing!
Now it works again. Thank you very much.


#34

Made a new release, updating FMOD to 1.10.11 and fixing the iOS build on Defold 1.2.147 (it’s now compiled on iOS 12 SDK):