jiayouxjh / grafx2

Automatically exported from code.google.com/p/grafx2
0 stars 0 forks source link

Make error under Ubuntu #268

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi

I am trying to install the latest version from the source and I am getting
some errors. I have installed all the necessary libraries that are
mentioned in the wiki

here is the error from make nottf=1

factory.c:203: error: ‘L_SetBrushSize’ undeclared (first use in this 
function)
factory.c:204: error: ‘L_SetPictureSize’ undeclared (first use in this
function)
factory.c:205: error: ‘L_GetBrushSize’ undeclared (first use in this 
function)
factory.c:206: error: ‘L_GetPictureSize’ undeclared (first use in this
function)
factory.c:207: error: ‘L_SetColor’ undeclared (first use in this function)
factory.c:208: error: ‘L_GetColor’ undeclared (first use in this function)
factory.c:217: warning: implicit declaration of function ‘luaL_loadfile’
factory.c:218: warning: implicit declaration of function ‘lua_tostring’
factory.c:218: warning: passing argument 1 of ‘Verbose_error_message’ makes
pointer from integer without a cast
windows.h:77: note: expected ‘const char *’ but argument is of type 
‘int’
factory.c:219: warning: implicit declaration of function ‘lua_pcall’
factory.c:220: warning: passing argument 1 of ‘Verbose_error_message’ makes
pointer from integer without a cast
windows.h:77: note: expected ‘const char *’ but argument is of type 
‘int’
factory.c:222: warning: implicit declaration of function ‘lua_close’
make: *** [obj/unix/factory.o] Error 1

Original issue reported on code.google.com by maymunbe...@gmail.com on 30 Nov 2009 at 4:40

GoogleCodeExporter commented 9 years ago
You need to disable the lua binding (make NOLUA=1) or install the lua libraries 
to 
get it working (it's package 'liblua5.1-0-dev').

Original comment by pulkoma...@gmail.com on 30 Nov 2009 at 5:49

GoogleCodeExporter commented 9 years ago
Hey thanks, that works.

Great application

Original comment by maymunbe...@gmail.com on 30 Nov 2009 at 6:04

GoogleCodeExporter commented 9 years ago

Original comment by pulkoma...@gmail.com on 30 Nov 2009 at 6:13