Giter Club home page Giter Club logo

Comments (5)

zetashift avatar zetashift commented on June 18, 2024 1

It was not! It was related that font variable wasn't a correct path to the font. Weird error but I got it.
Thanks for the great library :D.

from libtcod_nim.

zetashift avatar zetashift commented on June 18, 2024

if I remove the renderer argument from consoleInitRoot I get:

libtcod 1.12.3 FATAL ERROR:
SDL : failed to create scaling surface
terminate called without an active exception
Traceback (most recent call last)
C:\Users\rishiPC\stack\dev\gamedev\ndtrl\src\main.nim(20) main
SIGABRT: Abnormal termination.

seems to be related to consoleFlush()

from libtcod_nim.

Skaruts avatar Skaruts commented on June 18, 2024

I get this error (and a crash) when switching to SDL or SDL2 renderers. The error always points to the consoleFlush() line. I'm reproducing this on the samples112, and I have no issues switching between other renderers, and everything seems to be working fine, so I'm quite clueless what the problem could be.

To be clear, I can use any SDL renderer if it's set as the starting renderer, but I can't switch to any of them.

from libtcod_nim.

Vladar4 avatar Vladar4 commented on June 18, 2024

Can't reproduce with libtcod 1.15.1. If you are using older version of the lib, try to update to the latest one.

from libtcod_nim.

Skaruts avatar Skaruts commented on June 18, 2024

Oh. I thought I needed 1.12.2, as it says in the readme.

Seems like on 1.16.0-alpha-12 I have no more crashes.
Thanks.

from libtcod_nim.

Related Issues (15)

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.