且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Cygwin编译错误问题帧:#C [cygwin1.dll + 0xd6d47]使用JNI

更新时间:2023-12-03 22:40:10

我无法让JNI与Cygwin的g++一起使用-导致对cygwin1.dll的依赖,这与JNI机制冲突,导致碰撞.但是使用/bin/x86_64-w64-mingw32-g++.exe可以解决我的问题.

I couldn't get JNI to work with Cygwin's g++ -- that induces a dependency on cygwin1.dll, which ***es with the JNI mechanism, causing a crash. But using /bin/x86_64-w64-mingw32-g++.exe fixed the problem for me.