You are not logged in.
As in thread, I can't compile VCMI, using aur/vcmi package. This is the error
/tmp/yaourt-tmp-lich/aur-vcmi/src/vcmi-0.98/lib/CArtHandler.cpp: In member function ‘boost::optional<std::vector<CArtifact*>&> CArtHandler::listFromClass(CArtifact::EartClass)’:
/tmp/yaourt-tmp-lich/aur-vcmi/src/vcmi-0.98/lib/CArtHandler.cpp:674:10: error: could not convert ‘nullptr’ from ‘std::nullptr_t’ to ‘boost::optional<std::vector<CArtifact*>&>’
return nullptr;
^
In file included from /tmp/yaourt-tmp-lich/aur-vcmi/src/vcmi-0.98/lib/spells/CSpellHandler.h:15:0,
from /tmp/yaourt-tmp-lich/aur-vcmi/src/vcmi-0.98/lib/CArtHandler.cpp:18:
/tmp/yaourt-tmp-lich/aur-vcmi/src/vcmi-0.98/lib/spells/../int3.h: At global scope:
/tmp/yaourt-tmp-lich/aur-vcmi/src/vcmi-0.98/lib/spells/../int3.h:157:19: warning: ‘dirs’ defined but not used [-Wunused-variable]
static const int3 dirs[] = { int3(0,1,0),int3(0,-1,0),int3(-1,0,0),int3(+1,0,0),
^
lib/CMakeFiles/vcmi.dir/build.make:1343: recipe for target 'lib/CMakeFiles/vcmi.dir/CArtHandler.cpp.o' failed
make[2]: *** [lib/CMakeFiles/vcmi.dir/CArtHandler.cpp.o] Error 1
CMakeFiles/Makefile2:145: recipe for target 'lib/CMakeFiles/vcmi.dir/all' failed
make[1]: *** [lib/CMakeFiles/vcmi.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2And it crashes, the same thing on vcmi-git package.
Last edited by Anticitizen (2015-07-23 19:04:31)
Offline
Please always check comments on aur packages before opening new threads. This exact error was noted and solved here:
https://aur4.archlinux.org/packages/vcmi/
EDIT: this is not a multimedia & games issue. Moving to AUR issues.
Last edited by Trilby (2015-07-23 11:12:02)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Using aur4 package solved, the problem, waiting for yaourt to move to aur4.
Offline
waiting for yaourt to move to aur4.
It won't, as aur4 is a temporary thing going away soon.
Offline