Author Topic: Help with opening libtcode  (Read 6203 times)

Eternal_Potato

  • Newcomer
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Help with opening libtcode
« on: June 29, 2016, 02:37:29 PM »
libtcode immediately closes after i open it
im using libtcod 1.5.1 mingw32 and python 2.7
any idea why?
also i never did anything related to programming before..so i'd be happy if you explained it like to an idiot
« Last Edit: June 29, 2016, 02:42:05 PM by Eternal_Potato »

Krice

  • (Banned)
  • Rogueliker
  • ***
  • Posts: 2316
  • Karma: +0/-2
    • View Profile
    • Email
Re: Help with opening libtcode
« Reply #1 on: June 29, 2016, 08:51:02 PM »
When program exits like that the most common explanation is that it's trying to load some file which is not where it should be.

Cfyz

  • Rogueliker
  • ***
  • Posts: 194
  • Karma: +0/-0
    • View Profile
    • Email
Re: Help with opening libtcode
« Reply #2 on: June 30, 2016, 01:25:55 AM »
The question is, well, vague so it is hard to guess anything.

Try to run the program from the console window (cmd.exe), this usually produces some informative output in case of error. Run cmd.exe, navigate to the directory your program is in and run it from there. Also if the app is a python script then you'll have to manually run 'python smth.py' command, console won't start the interpreter by itself.