You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both of them work, they both produce "odbc.dll"; Makefile.msvc also produces exp and lib files.
For the GCC approach, I used dumpfile /EXPORTS odbc.dll > odbc.exports and created a DEF file to then create a LIB/EXP file from using the Microsoft lib tool.
This works for GCC, so end result after building I end up with the same files:
odbc.dll
odbc.lib
odbc.exp
The problem is, odbc.dll cannot be loaded by ammer_odbc.hdll (presumably that's where this failure happens). I get this error: src\module.c(321) : FATAL ERROR : Failed to load library ammer_odbc.hdll
Does anyone have experience using GCC built DLLs with Ammer in Windows? I know other platforms require GCC, so I imagine it has to be possible on windows as well.
The text was updated successfully, but these errors were encountered:
I don't think that a different compiler framework should cause a DLL to not work properly. However, a version mismatch might be the cause? Anyway, I think these types of issues might be resolved when I get CI setup (#24).
I'm really not sure what domain this problem falls within or if any (maybe something I can fix on my own), but I have a native library,
take these two Makefiles:
Makefile.win:
and Makefile.msvc:
Both of them work, they both produce "odbc.dll"; Makefile.msvc also produces
exp
andlib
files.For the GCC approach, I used
dumpfile /EXPORTS odbc.dll > odbc.exports
and created a DEF file to then create a LIB/EXP file from using the Microsoftlib
tool.This works for GCC, so end result after building I end up with the same files:
The problem is, odbc.dll cannot be loaded by ammer_odbc.hdll (presumably that's where this failure happens). I get this error:
src\module.c(321) : FATAL ERROR : Failed to load library ammer_odbc.hdll
Does anyone have experience using GCC built DLLs with Ammer in Windows? I know other platforms require GCC, so I imagine it has to be possible on windows as well.
The text was updated successfully, but these errors were encountered: