Cuberite Forum
Unable to compile - 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: Unable to compile (/thread-1160.html)



Unable to compile - DrkCodeman - 06-15-2013

When I try to compile for ARM I am getting the following:

Code:
source/BlockEntities/HopperEntity.cpp: In member function âbool cHopperEntity::MoveItemsFromSlot(const cItem&, bool)â:
source/BlockEntities/HopperEntity.cpp:282:64: error: no matching function for call to âcItemGrid::AddItem(cItem, bool&)â
source/BlockEntities/HopperEntity.cpp:282:64: note: candidate is:
source/BlockEntities/../ItemGrid.h:82:6: note: int cItemGrid::AddItem(cItem&, bool)
source/BlockEntities/../ItemGrid.h:82:6: note:   no known conversion for argument 1 from âcItemâ to âcItem&â
make: *** [build/release/source/BlockEntities/HopperEntity.o] Error 1
This is with a fresh copy of the latest trunk


RE: Unable to compile - DrkCodeman - 06-15-2013

I'm taking this is from the committ from the 13th that recently occured...


RE: Unable to compile - xoft - 06-15-2013

Sorry 'bout that, try now, with rev 1589