Giter Club home page Giter Club logo

Comments (6)

HexDecimal avatar HexDecimal commented on May 21, 2024

This error usually means something happened to prevent tdl from finding its bundled SDL.dll library. There should be a subfolder in ...\venv\lib\site-packages\tcod with SDL in it. If the virtual environment ended up putting that file somewhere else then it won't be found by tdl.

One option could be to manually place the latest version of SDL.dll in the working directory, but this will only fix it for the one program.

I might need more information. Where is SDL.dll currently located? Does the above suggestion work?

from python-tcod.

gigsim avatar gigsim commented on May 21, 2024

The SDL2.dll is in the folder : C:\Users\GigSim\Documents\Python\RLFood\venv\Lib\site-packages\tcod\x86
I copy it to the folder C:\Users\GigSim\Documents\Python\RLFood\venv\Lib\site-packages\tcod
Still the same issue.

from python-tcod.

HexDecimal avatar HexDecimal commented on May 21, 2024

This type of run-time error is always hard to debug. The next thing I'd check would be the latest Microsoft Visual C++ Redistributables, make sure those are installed:
https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

If that doesn't fix it then I'm out of ideas and I'll need more info: Did you use the same method of installing tdl on the other Windows computer you tested?

from python-tcod.

gigsim avatar gigsim commented on May 21, 2024

I got Microsoft Visual C++ Redistributables : 2012, 2013.
I will try to install the recet one.
I will check what I got on my other machine, tonight

from python-tcod.

gigsim avatar gigsim commented on May 21, 2024

I use pycharm, projet interpreter to install it. I try with pip.
I did installer 2013 and 2017 MS Visual C++ Redistribuatable and still got the same issue.
But that ok. I'm sure it is on my side, This issue can be close.
Thank for all the help I will continue to dig on it. If I find anything I will left you know.

from python-tcod.

HexDecimal avatar HexDecimal commented on May 21, 2024

If you plan on debugging it yourself then you could try loading tcod/_libtcod.pyd with Dependency Walker.

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.