Giter Club home page Giter Club logo

Comments (8)

 avatar commented on April 27, 2024

Hmmm I am just jumping on this and looking...

/usr/bin/i686-w64-mingw32-ld: cannot find -ldiabloui
/usr/bin/i686-w64-mingw32-ld: cannot find -lstorm

these files cannot be found.

from devilution.

Vthyarilops avatar Vthyarilops commented on April 27, 2024

Well I can see that but the binary /usr/bin/i686-w64-mingw32-ld does exist, I have no clue about the -lbiabloui and -lstorm I honestly have no clue why/how/what they are (well I guess source code to generate the dll's?) maybe it calls the relative path and can't find it. again idk I'm not a developer so am not very familiar with gcc/g++/MinGW-W64

from devilution.

Vthyarilops avatar Vthyarilops commented on April 27, 2024

Found the issue DiabloUI.lib and Storm.lib have to be rename to diabloui.lib and storm.lib, also side note diabloui.dll has to be renamed to DiabloUI.dll before you can compile. Another thing that should be mentioned is that STANDARD.snp has to be in the directory for Single Player mode to launch otherwise it will not get passed the menu.

Here is a fixed makefile for Linux that uses the correct case sensitivity https://pastebin.com/ybwykFcA

from devilution.

mewmew avatar mewmew commented on April 27, 2024

Found the issue DiabloUI.lib and Storm.lib have to be rename to diabloui.lib and storm.lib, also side note diabloui.dll has to be renamed to DiabloUI.dll before you can compile.

These issues related to upper and lower casing of files are likely to come up also in the future. Windows is case insensitive, while Linux (and Mac?) are case sensitive.

@galaxyhaxz Would it be worth lowercasing all file names? Or is it better to try to keep closer to the original and pertain the casing.

from devilution.

Vthyarilops avatar Vthyarilops commented on April 27, 2024

One thing I want to point out is that the original disk names the required files like
diabloui.dll
Storm.dll
SMACKW32.dll
DIABDAT.MPQ
STANDARD.snp
So it might be a good idea to just use the default case, anyways game plays great thanks again

from devilution.

 avatar commented on April 27, 2024

Thanks for the info, I'll update the readme accordingly (forgot about the SNP files, though BATTLE.snp isn't needed).

@mewmew Another fail on my end, forgot that POSIX environments are case sensitive. Makefiles will use lowercase from now on. Also added your warning to suppress the strings.
galaxyhaxz/devilution@67f8485

from devilution.

mewmew avatar mewmew commented on April 27, 2024

Good :)

from devilution.

OvermindDL1 avatar OvermindDL1 commented on April 27, 2024

forgot that POSIX environments are case sensitive

Not just posix, don't forget that Windows 10 has an optional case sensitive mode now too.

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.