Git Product home page Git Product logo

Comments (6)

HexDecimal avatar HexDecimal commented on May 29, 2024

I'll need to see some of your error output to know what's going on.

The installation instructions should give you the latest release (7.0.1), but the commit you mentioned hasn't been released yet.

from python-tcod.

ryfactor avatar ryfactor commented on May 29, 2024

Hmm, I see. Maybe the commit patches my problem? The earliest I can get back to you is Monday next week. I'll check the error message and version then :)

from python-tcod.

HexDecimal avatar HexDecimal commented on May 29, 2024

There's a frequent issue where people try to load the font file relative to the current Python module, but you're supposed to load the file relative to the working directory. That patch clarifies things by printing the full path of the file if it doesn't exist at the given location.

from python-tcod.

HexDecimal avatar HexDecimal commented on May 29, 2024

I've released a new version with the patch. You should still get an error but it should be more clear what's going wrong.

If you get any error other than the full path of the file then that'd mean something in libtcod was recently broken, or that the font file itself is corrupt.

from python-tcod.

ryfactor avatar ryfactor commented on May 29, 2024

I'm terribly sorry, I have got my wires crossed. I'm using the setup from Roguebasin which uses the bitbucket C++ version of libtcod.
Turns out I was missing libwinpthread-1.dll, which I grabbed from the bin folder of my msys2 64bit install.

Sorry for the confusion. I should've known the difference based from the presence of the dlls :( Will there be a roguelike tutorial based on python-tcod in future?

from python-tcod.

HexDecimal avatar HexDecimal commented on May 29, 2024

I'm not sure when there will be a new tutorial, but you can still use any libtcodpy tutorial with python-tcod once it's installed.

from python-tcod.

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.