c++.windows.32-bits - implib with mingw-w64 compiled DLL
- CounterPillow (12/14) Nov 16 2013 Digital Mars Import Library Manager Version 7.6B1n
- Jeremy DeHaan (10/24) Nov 19 2013 If you compiled it using mingw-w64, then you are out of luck in
- Kagamin (2/2) Jun 22 2014 Aren't .def files compiled with dlltool?
Hello there. I'm trying to run implib on a mingw-w64 DLL/.def, both fail.implib ncursesw.lib ncursesw.defDigital Mars Import Library Manager Version 7.6B1n Copyright (C) Digital Mars 2000. All Rights Reserved. Error(e): Error ncursesw.def(9): error number 80, token: COLORS (it always fails on the same line, no matter what the content) Using the DLL instead:implib ncursesw.lib ncursesw.dllDigital Mars Import Library Manager Version 7.6B1n Copyright (C) Digital Mars 2000. All Rights Reserved. Error(9): Corrupt NT DLL (too short for export table) The DLL should be a valid DLL. Is it impossible to use implib on MinGW-compiled DLLs?
Nov 16 2013
On Saturday, 16 November 2013 at 17:07:53 UTC, CounterPillow wrote:Hello there. I'm trying to run implib on a mingw-w64 DLL/.def, both fail.If you compiled it using mingw-w64, then you are out of luck in using implib. implib is for creating import libraries for 32 bit dll's. Now, assuming you are wanting to make an import library for usage in DMD64, you can use gendef(http://sourceforge.net/apps/trac/mingw-w64/wiki/gendef) to create the correct .def file, and then use VS's lib.exe to create the import library from the .def file(http://msdn.microsoft.com/en-us/library/vstudio/0b9xe492%28v=vs.120%29.aspx)implib ncursesw.lib ncursesw.defDigital Mars Import Library Manager Version 7.6B1n Copyright (C) Digital Mars 2000. All Rights Reserved. Error(e): Error ncursesw.def(9): error number 80, token: COLORS (it always fails on the same line, no matter what the content) Using the DLL instead:implib ncursesw.lib ncursesw.dllDigital Mars Import Library Manager Version 7.6B1n Copyright (C) Digital Mars 2000. All Rights Reserved. Error(9): Corrupt NT DLL (too short for export table) The DLL should be a valid DLL. Is it impossible to use implib on MinGW-compiled DLLs?
Nov 19 2013
Aren't .def files compiled with dlltool? https://sourceware.org/binutils/docs-2.24/binutils/dlltool.html
Jun 22 2014