Cuberite Forum
Is anyone else getting an E_ITEMS_PAINTINGS undeclared message? - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Development (https://forum.cuberite.org/forum-13.html)
+--- Thread: Is anyone else getting an E_ITEMS_PAINTINGS undeclared message? (/thread-1390.html)



Is anyone else getting an E_ITEMS_PAINTINGS undeclared message? - Narroo - 02-22-2014

So, I updated today before beginning work. I made some edits and went to compile, then I got the following error:

"E_ITEMS_PAINTINGS undeclared"
The source of this issue is
tolua_constant(tolua_S,"E_ITEM_PAINTINGS",E_ITEM_PAINTINGS);

I figured I'd ask if anyone else got this error before starting an issue.


RE: Is anyone else getting an E_ITEMS_PAINTINGS undeclared message? - NiLSPACE - 02-22-2014

Yea I think you're right, because it's called "E_ITEM_PAINTING" in "BlockID.h"


RE: Is anyone else getting an E_ITEMS_PAINTINGS undeclared message? - tigerw - 02-22-2014

Regenerate your Lua bindings, I guess? I changed that value in the paintings PR - 'paintings' sounded strangeTongue

There is a AllToLua.bat / .sh file in src/Bindings; run that.


RE: Is anyone else getting an E_ITEMS_PAINTINGS undeclared message? - Narroo - 02-22-2014

Okay, that fixed it.