Code Monkey home page Code Monkey logo

Comments (6)

silverhammermba avatar silverhammermba commented on May 4, 2024 1

The symlink fixed it for me, though I see this is now mentioned in the windows install file.

from devilution.

cengiz-io avatar cengiz-io commented on May 4, 2024

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

from devilution.

cengiz-io avatar cengiz-io commented on May 4, 2024

Two findings after creating this issue:

  1. diabloui.lib and storm.lib are created as empty files whenever dlltool fails. Had to remove them to retry creating them.

  2. 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 ?

from devilution.

Saibamen avatar Saibamen commented on May 4, 2024

https://stackoverflow.com/questions/5713894/file-not-recognized-file-truncated-gcc-error

from devilution.

Saibamen avatar Saibamen commented on May 4, 2024

And try to update your GCC/MSYS

from devilution.

cengiz-io avatar cengiz-io commented on May 4, 2024

@Saibamen thanks for the suggestion. However it's not related to GCC version nor MSYS version.

from devilution.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.