简体   繁体   中英

Jar Dependencies in Visual C++ Development in Visual Studio 2015

I'm attempting to add fmod to a cross-platform project in Visual Studio 2015.

I need to reference fmod.jar in my project, but I'm not sure how.

I've added fmod.jar (and the corresponding folders+files) into a folder I've called lib, and I've updated my project.properties to include jar.libs.dir=lib, but when I attempt to call System.loadLibrary("fmod") in my activity, it says it cannot find fmod.so.

I know it's aware of the fmod.so files during build (they are in each of the corresponding sub-folders: arm64-v8a, armeabi, armeabi-v7a, and x86) because it complains if I move/remove any of them.

Any help would be greatly appreciated.

似乎问题出在Visual Studio 2015 Update 1.安装Update 2后,一切都链接并运行正常。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM