I download a autotrace library to use in my java project but it contains only (libautotrace.a, libautotrace.la, libautotrace.dll.a and header)
my question: is it possible to convert libautotrace.dll.a to dll library?
I download a autotrace library to use in my java project but it contains only (libautotrace.a, libautotrace.la, libautotrace.dll.a and header)
my question: is it possible to convert libautotrace.dll.a to dll library?
You can not.
The dot-a files you have were compiled for a Unix system, and can not be directly converted to a Windows format.
You will need to find a windows-native build or the source code to build it yourself.
I found this command for generat a dll:
gcc -shared -o libproj.dll -Wl,--out-implib=libproj.dll.a -Wl,--export-all-symbols -Wl,\ --enable-auto-import -Wl,--whole-archive libproj.a -Wl,--no-whole-archive /c/mingw/lib/libmingw32.a
but I have this error : "undefined reference to " ( in many classes)
I try also :
ar -x libautotrace.a to have .o and generat a dll with
gcc -Xlinker --add-stdcall-alias -shared -o but I have the same error