[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LuaProfiler on MacOSX?
- From: Antero Vipunen <antero@...>
- Date: Mon, 15 Aug 2005 09:54:55 +0700
You are using incorrect version of Lua. I think Profiler was designed
for Lua5.0, but you are using Lua 5.1(w6), and this version's API
doesn't contain lua_dostring anymore. Proposed replacement (I think) is
status = (luaL_loadbuffer(L, string, strlen(string), name) ||
lua_pcall(L, 0, 0, 0));
I'm trying to use LuaProfiler (2.0) on Mac OS X (10.3.9) with Lua 5.1
require( "profiler" )
dyld: lua Undefined symbols:
./Library/Modules/profiler.so undefined reference to _lua_dostring
expected to be defined in a dynamic image
Any ideas on what I might be doing wrong?