c:\msys64\mingw64.exe) for the whole compilation process.
C:\msys64\mingw64\bin(or where ever you have decided to install msys2). If you have IntelliJ (or another IDE) open, you will have to restart it before this change takes effect for applications started through them. If you don't, you probably will see a "Can't find dependent libraries" error.
buildnativeoperations.shscript you could use:
vcvars64.bat. But first, set the system environment variable
true, so all of the variables that
vcvars64.batsets up, are passed to the mingw shell. Additionally, you need to open the
mingw64.iniin your msys64 installation folder and add the command:
MSYS2_PATH_TYPE=inherit. Replace YOUR VERSION with the target version. 14.0 is known to work.
C:\Program Files (x86)\Microsoft Visual Studio *YOUR VERSION*\VC\bin\amd64\vcvars64.bat
./buildnativeoperations.sh -c cuda -сс YOUR_DEVICE_ARCH
event not foundfrom your shell. If this doesn't work, make sure you have a current version of maven installed.
jniNativeOps.dll: Can't find dependent librarieserrors
Can't find dependent librarieserror, then you have to setup your PATH correctly (see the introduction to this document).
where libgcc_s_seh-1.dll; these should list the msys/mingw directories (and/or list them first, if there are other copies on the PATH).
mainmethod you will need to add: