JNI UnsatisfiedLinkError

感情迁移 提交于 2019-12-02 10:21:11

Could you tell me what kind of JVM are you using, 32 or 64-bit? Your library is 640bit dll, but in your path I can see C:\Program Files (x86)... so maybe this is the problem.

user1051577

I figured out the solution.

My project had use precompiled headers option set, so the compiler was skipping the statement:

#include "com_tpd_vcdba_console_TaskScheduler_vcdbaTaskSchedulerNative.h"

Once I removed that option it worked like magic.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!