From: John L. <jla...@gm...> - 2012-08-31 03:27:54
|
On Wed, Aug 29, 2012 at 4:47 PM, Milind Gupta <mil...@gm...> 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 |