Retrogamecoding and Basicprogramming Forum

Retrogamecoding(.org) => EGSL => Topic started by: johnno56 on 04. June 2014, 02:25:40

Title: Stupid Question
Post by: johnno56 on 04. June 2014, 02:25:40
Hi,

I have just installed lua5.2.3 on my Linux Mint machine and have also installed egsl. I have also downloaded the 'introduction' pdf and tried the very first example

openwindow (600, 400, 32, "Test")
inkey()
closewindow()

I tried this program using the egsl-ide (nothing. No output display of any kind. - ide and makeexe pathways are ok). Executed from another ide and from a lua terminal prompt and received the following message

lua: test.lua:1: attempt to call global 'openwindow' (a nil value)
stack traceback:
   test.lua:1: in main chunk
   [C]: in ?

I am suspecting that lua may be the problem. Any ideas on how to fix this?

J
Title: Re: Stupid Question
Post by: johnno56 on 04. June 2014, 04:32:24
Problem solved. Found that the libSDL-gfx files were not installed. Installed and esgl-ide functions as it should.

(I do not know how to close this thread...)

J