On Wed, Aug 29, 2012 at 4:47 PM, Milind Gupta <[email protected]> wrote:
> Hello,
> I was having this problem where the exe I created from wxluafreeze
> would not run since it was not able to find the dll file that I was
> requiring in the code. The dll was in the same directory as the exe.
> Strangely the problem got fixed when I put lua51.dll in the same directory
> as the exe as well. Is there any particular reason it behaves this way?
To make a completely standalone app you want:
BUILD_SHARED_LIBS=FALSE
wxLua_LUA_LIBRARY_BUILD_SHARED=FALSE
and, of course, you need wxWidgets built staticly, too. That way
everything will be staticly linked into a single executable.
Regards,
John
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users