[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: embedded c++ and 'require'
- From: Jeff Pohlmeyer <yetanothergeek@...>
- Date: Tue, 22 Dec 2009 18:44:29 -0600
On Tue, Dec 22, 2009 at 6:21 PM, James Hearon <firstname.lastname@example.org> wrote:
> when I try to run the .lua file from c++, ex. luaL_dofile(L, "myfile.lua"),
> after compiling and trying to run, the app just exits.
> Without require in the .lua, I can run .lua from c++ no problem.
You might need to add something like:
to the linker flags when you build your application.