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.sh
script you could use:vcvars64.bat
. But first, set the system environment variable SET_FULL_PATH
to true
, so all of the variables that vcvars64.bat
sets up, are passed to the mingw shell. Additionally, you need to open the mingw64.ini
in 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
c:\msys64\mingw64.exe
inside that./buildnativeoperations.sh -c cuda -сс YOUR_DEVICE_ARCH
libnd4j
folder, run:event not found
from your shell. If this doesn't work, make sure you have a current version of maven installed.jniNativeOps.dll: Can't find dependent libraries
errorsCan't find dependent libraries
error, then you have to setup your PATH correctly (see the introduction to this document).where libstdc++-6.dll
and 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).main
method you will need to add:cygwin1.dll