On Thu, Mar 7, 2019 at 9:27 AM Matthias Apitz <g...@unixarea.de> wrote: > > El día Wednesday, March 06, 2019 a las 11:20:05AM -0800, David Grayson > escribió: > > > Your experience matches mine: the Cygwin ldd utility does not work properly > > with MinGW DLLs and prints a bunch of question marks. There is an ntldd > > utility you can use instead. If it's not on your path already, I'm not > > sure the best way to obtain it. I just use MSYS2, because it's basically a > > fork of Cygwin that makes it easy to install MinGW compilers and all the > > other open source utilities you would need to build software on Linux, > > including ntldd. > > > > --David > > David, thanks for your reply. Does this mean I could move to a Linux system > with Mingw-w64 to produce the DLL for Windows there? This would be the first > option as I do know less as nothing about Windows, but 30++ years about > UNIX :-) > > This also would allow to produce the DLL together with the Java software > on our Jenkins server hosted on Linux... > > Re/ my problem "Can't find dependent libraries." from the Java DLL loader, I > found > a thread in stackoverflow > https://stackoverflow.com/questions/6092200/how-to-fix-an-unsatisfiedlinkerror-cant-find-dependent-libraries-in-a-jni-pro/6092576#6092576 > with a hint to a tool which analyses the DLL for missing dependencie (etc.)
dependency walker is a very nice tool too. > Below is the (very short) list of missing pieces which I can't see on my > Windows file system. > > Any ideas? > ----- --------------------------------------------- ---------------- > ---------------- ---------- > [ ? ] LIBGCC_S_SEH-1.DLL Error opening file. Das > System kann die angege > [ ? ] LIBSTDC++-6.DLL Error opening file. Das > System kann die angege those 2 files are in your gcc installation directory. They must be copied in the directory of your DLL > [D? ] API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.DLL Error opening file. Das > System kann die angege > [D? ] API-MS-WIN-CORE-WINRT-L1-1-0.DLL Error opening file. Das > System kann die angege > [D? ] API-MS-WIN-CORE-WINRT-ROBUFFER-L1-1-0.DLL Error opening file. Das > System kann die angege > [D? ] API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL Error opening file. Das > System kann die angege > [D? ] DCOMP.DLL Error opening file. Das > System kann die angege > [D? ] IESHIMS.DLL Error opening file. Das > System kann die angege these above should be part of Windows. normally you only need to copy the 2 above gcc dll where your dll is located. Vincent Torri > [ 6] API-MS-WIN-CORE-THREADPOOL-L1-1-0.DLL 09.01.2019 04:06 > 09.01.2019 04:07 4.608 > [D 6] DWMAPI.DLL 09.07.2015 18:58 > 09.07.2015 18:53 82.944 > [DE6] ESENT.DLL 11.03.2011 07:33 > 11.03.2011 07:22 2.565.632 _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public