[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Query-Calling Lua from C
- From: santhosh reddy <santhoshreddy539@...>
- Date: Thu, 24 Nov 2011 18:45:32 +0530
Thanks a ton for your reply. Yes you are exactly right. It throws the
error that it requires fltk.
But when I run lua program alone, it runs fine.
Problem comes only when I call that lua program from C.
Please help me giving a sample program. I am new to this Lua started
one week back.
So please help me with the libraries if I need. And also if you can
make some changes to my program that would help me a lot.
On 11/24/11, steve donovan <email@example.com> wrote:
> On Thu, Nov 24, 2011 at 2:27 PM, santhosh reddy
> <firstname.lastname@example.org> wrote:
>> I ran the Lua program alone. It runs fine. I have all FLTK packages.
> You think it runs fine, because you did not check the error return
> from luaL_dofile.
> I bet you if you did check you would get the expected error, that is,
> cannot find fltk.
> Maybe require 'fltk' ?
> steve d.