News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
Problems with scite editor and murgalua
Author Message
xleitex
Junior Member
**


Posts: 5
Group: Registered
Joined: Jun 2007
Status: Offline
Reputation: 0
Post: #1
Problems with scite editor and murgalua

Hi all,

i use scite editor to make my lua scripts, when i use the oficiall lua interpreter they return a output, but murgalua give me an error, this error occur when i use fltk library...
[code]
>win = fltk.Fl_Window( 100, 100, "my window!")
>win:show()
>Fl:run()
[code]
so i wait for a output replye and ... nothing, i saw the systems process and murgalua took 90% of Processor, but if i use a interface of murgalua the things occur very well. what is the problem?

...j. murga thanx to replye my thread and explain something
but i´m a searching for something looks like a fltk library to use together...

Thanx in advance!

06-05-2007 12:23 PM
Find all posts by this user Quote this message in a reply
iGame3D
Moderator
***


Posts: 231
Group: Moderators
Joined: Apr 2007
Status: Offline
Reputation: 0
Post: #2
RE: Problems with scite editor and murgalua

Scite editor is using definitions from its API files found here

I don't think it knows to pass anything in its interface over to murgaLua,
and vanilla Lua won't know FLTK so it reports everything as undefined.
I have the same problem with Lua when it encounters murgaLua  and when either of those encounters iGame3D commands.

I believe you'll have to modify or duplicate and rename SCITE's Lua API files to make it work with murgaLua.

Also  the syntax is wrong in your example.
Should be a colon instead of period between fltk and Fl_Window.

Code:
win = fltk:Fl_Window( 100, 100, "my window!")
win:show()
Fl:run()

This post was last modified: 06-05-2007 01:39 PM by iGame3D.

06-05-2007 01:38 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: