JNI Hello World Unsatisfied Link Error

后端 未结 5 1216
抹茶落季
抹茶落季 2020-11-30 13:58

This is my first attempt at JNI. My ultimate goal is to get all tasks currently running on a machine, but need to get even a simple example running. I keep getting this erro

5条回答
  •  半阙折子戏
    2020-11-30 14:37

    I'm not claiming to understand the situation enough to explain it, however some users reported the error when using the "-MD" compiler flag.

    For more information see Java Native Interface (JNI) - Impossible to use VS2005 with Java? which discusses this problem and offers possible work-arounds and think techie blog for alternatives.

提交回复
热议问题