Closed cengiz-io closed 6 years ago
I have copied my DiabloUI.dll
into the working directory and it seems to be the correct DLL
$ file diabloui.dll
diabloui.dll: PE32 executable (DLL) (GUI) Intel 80386, for MS Windows
Two findings after creating this issue:
diabloui.lib
and storm.lib
are created as empty files whenever dlltool
fails. Had to remove them to retry creating them.
dlltool
can not find as
binary, that seems to be the actual problem.
$ i686-w64-mingw32-dlltool -v -d 3rdParty/Storm/Source/storm_gcc.def -D storm.dll -l storm.lib
C:\msys64\usr\bin\i686-w64-mingw32-dlltool.exe: Using file: C:\msys64\usr\bin\i686-w64-mingw32-as
C:\msys64\usr\bin\i686-w64-mingw32-dlltool.exe: Processing def file: 3rdParty/Storm/Source/storm_gcc.def
C:\msys64\usr\bin\i686-w64-mingw32-dlltool.exe: LIBRARY: Storm base: ffffffff
C:\msys64\usr\bin\i686-w64-mingw32-dlltool.exe: Processed def file
C:\msys64\usr\bin\i686-w64-mingw32-dlltool.exe: Processing definitions
C:\msys64\usr\bin\i686-w64-mingw32-dlltool.exe: Processed definitions
C:\msys64\usr\bin\i686-w64-mingw32-dlltool.exe: Creating library file: storm.lib
C:\msys64\usr\bin\i686-w64-mingw32-dlltool.exe: run: C:\msys64\usr\bin\i686-w64-mingw32-as -o dqwkh.o dqwkh.s
C:\msys64\usr\bin\i686-w64-mingw32-dlltool.exe: No such file or directory
C:\msys64\usr\bin\i686-w64-mingw32-dlltool.exe: CreateProcess
Maybe we should also link i686-w64-mingw32-as.exe
to /usr/bin
?
And try to update your GCC/MSYS
@Saibamen thanks for the suggestion. However it's not related to GCC version nor MSYS version.
The symlink fixed it for me, though I see this is now mentioned in the windows install file.
Hello,
I'm getting a linker error with
MSYS2
on Windows 10.Here are the last lines from
make
output:I've followed the instructions from Support/INSTALL_windows.md.
Any ideas?