lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


  Hi Roman,

  Thanks for reporting all the errors.

> Tecmake: linking iuplua51 ...
> g++ -o ../bin/MacOS106/iuplua51 ../obj/iuplua51/MacOS106/iup_lua51.o
> -L../../lua5.1/lib/MacOS106 -lreadline -llua5.1 -lm
> ld: in ../../lua5.1/lib/MacOS106/liblua5.1.so, can't link with bundle
> (MH_BUNDLE) only dylibs (MH_DYLIB)

  That was an error in the Makefile. Fixed. 


> lua: error loading module 'iupluacontrols' from file
> '/usr/local/lib/lua/5.1/libiupluacontrols51.so':
> 	dlopen(/usr/local/lib/lua/5.1/libiupluacontrols51.so, 2): Symbol not
> found: _cdlua_pushcanvas

  This is a problem with the loadlib used by Lua when in MacOSX. If you compile Lua using LUA_USE_MACOSX, default for the standard Lua makefile, that problem will rise. Remove that define so Lua will use the dl* functions just like in Lua 5.2.


> lua: error loading module 'iupluagl' from file
> '/usr/local/lib/lua/5.1/libiupluagl51.so':
> 	dlopen(/usr/local/lib/lua/5.1/libiupluagl51.so, 2): Symbol not found:
> _IupGLCanvas

 This was an error in the iupgl Makefile. Fixed.


> - The example file pplot.wlua gives me the following error:
> lua: pplot.wlua:1: attempt to index global 'iup' (a nil value)

 It was missing "require("iuplua_pplot")" in the example. Fixed.


> - The example file image.wlua stops with the following message: Abort trap
 
  That was a bug. Fixed.

  All fixes committed to CVS.

Thanks,
Scuri