Building .dll files using Makefile
-
I downloaded Argon2 source[^] for Java, and in it's code it's using JNA, so I also got JNA source[^]. Now the problem I have is that the JNA code also needs some DLL files, but inside the repository for JNA[^] it doesn't contain a .sln project to use that with Visual Studio and build the .dll files, but instead it has makefile, and I don't know how to use it. Can someone help me on how to build the .dll files from that repository? I need jnidispatch.dll. For both Argon2 and JNA I choose the path using the source code and building them myself because that is what I need for the project I have, and I can't use them already compiled/jars. C/C++ isn't something that I use as main language for any of my projects, but I can make some basic .dll files using Visual Studio for stuff that can't be made inside Java, but I never had to use makefiles, and they aren't something I was able to understand. Even tho Java can be used on multiple OS, I only need it for Windows.
-
I downloaded Argon2 source[^] for Java, and in it's code it's using JNA, so I also got JNA source[^]. Now the problem I have is that the JNA code also needs some DLL files, but inside the repository for JNA[^] it doesn't contain a .sln project to use that with Visual Studio and build the .dll files, but instead it has makefile, and I don't know how to use it. Can someone help me on how to build the .dll files from that repository? I need jnidispatch.dll. For both Argon2 and JNA I choose the path using the source code and building them myself because that is what I need for the project I have, and I can't use them already compiled/jars. C/C++ isn't something that I use as main language for any of my projects, but I can make some basic .dll files using Visual Studio for stuff that can't be made inside Java, but I never had to use makefiles, and they aren't something I was able to understand. Even tho Java can be used on multiple OS, I only need it for Windows.
Looking at the JNA repo, if the DLL you need is libffi, I see a vcxproj file in msvc_build directory jna/native/libffi/msvc_build/aarch64 at master · java-native-access/jna · GitHub[^]
Mircea
-
Looking at the JNA repo, if the DLL you need is libffi, I see a vcxproj file in msvc_build directory jna/native/libffi/msvc_build/aarch64 at master · java-native-access/jna · GitHub[^]
Mircea
Mircea Neacsu wrote:
if the DLL you need is libffi
JohnCodding wrote:
I need jnidispatch.dll.
That is the DLL file I need. At least that is the first exception I get, maybe after I add that DLL I'll need another, or not, not sure.
-
Mircea Neacsu wrote:
if the DLL you need is libffi
JohnCodding wrote:
I need jnidispatch.dll.
That is the DLL file I need. At least that is the first exception I get, maybe after I add that DLL I'll need another, or not, not sure.
Don't know much but looking at the comments in jna/native/Makefile at master · java-native-access/jna · GitHub[^], seems you need to have Cygwin installed.
Mircea
-
Don't know much but looking at the comments in jna/native/Makefile at master · java-native-access/jna · GitHub[^], seems you need to have Cygwin installed.
Mircea
-
I downloaded Argon2 source[^] for Java, and in it's code it's using JNA, so I also got JNA source[^]. Now the problem I have is that the JNA code also needs some DLL files, but inside the repository for JNA[^] it doesn't contain a .sln project to use that with Visual Studio and build the .dll files, but instead it has makefile, and I don't know how to use it. Can someone help me on how to build the .dll files from that repository? I need jnidispatch.dll. For both Argon2 and JNA I choose the path using the source code and building them myself because that is what I need for the project I have, and I can't use them already compiled/jars. C/C++ isn't something that I use as main language for any of my projects, but I can make some basic .dll files using Visual Studio for stuff that can't be made inside Java, but I never had to use makefiles, and they aren't something I was able to understand. Even tho Java can be used on multiple OS, I only need it for Windows.
Due to all the problems in getting this to work, and also because in the project that I was going to use I'm not saving any really personal information, I'm going to stick with PBKDF2WithHmacSHA512 for password hashing.