Author Topic: Stupid Question  (Read 2717 times)

johnno56

  • Guest
Stupid Question
« on: June 04, 2014, 12:25:40 AM »
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

johnno56

  • Guest
Re: Stupid Question
« Reply #1 on: June 04, 2014, 02:32:24 AM »
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