Package Details: vcmi 1.4.5-1

Git Clone URL: https://aur.archlinux.org/vcmi.git (read-only, click to copy)
Package Base: vcmi
Description: Open-source engine for Heroes of Might and Magic III
Upstream URL: http://vcmi.eu
Keywords: homm3 vcmi
Licenses: GPL2
Conflicts: vcmi
Provides: vcmi
Submitter: Raziel23
Maintainer: Gigas002
Last Packager: Gigas002
Votes: 46
Popularity: 0.42
First Submitted: 2013-03-12 14:11 (UTC)
Last Updated: 2024-01-25 11:54 (UTC)

Pinned Comments

Gigas002 commented on 2022-12-13 13:33 (UTC) (edited on 2022-12-13 13:33 (UTC) by Gigas002)

Updated the package to version 1.0.0. Used vcmi-git for reference. Works on my machine (c)

Removed the outdated patches, since the bug seems to be fixed (https://github.com/vcmi/vcmi/commit/5d8e943787666543df6b858c001ab4e59b09fe2d)

Use stable ffmpeg instead of ffmpeg4.4 (https://github.com/vcmi/vcmi/pull/737)

Try to use fuzzylite-git if you can't build fuzzylite package

jstamant commented on 2017-10-22 22:28 (UTC)

WARNING! There's a bug where your home directory will be wiped if you uninstall any mods using the vcmi launcher. It has been fixed in the development branch, but is still present in v0.99. Yes: I lost all my personal files. Luckily I have daily backups. https://bugs.vcmi.eu/view.php?id=2673

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

gonciarz commented on 2016-10-03 15:19 (UTC)

Thanks, anyway I'm not able to install anything from vcmilauncher. Example scenario: 1. rm -rf ~/.local/share/vcmi ~/.cache/vcmi ~/.config/vcmi ~/.local/share/vcmi/Saves 2. vcmibuilder --data ~/heroes3_complete_installation 3. vcmilauncher 4. From Launcher, install WOG causes crash. If you are able to recreate it on your arch, then please add the proper comment in http://bugs.vcmi.eu/view.php?id=2511 otherwise please let me know if I'm doing something wrong.

bwrsandman commented on 2016-09-24 14:39 (UTC)

Fixed the compile issues. Your issue was an ambiguity with boost and std's make_shared() There also was an issue with ffmpeg.

gonciarz commented on 2016-09-24 11:03 (UTC)

Does not compile: [ 30%] Building CXX object lib/CMakeFiles/vcmi.dir/Connection.cpp.o /home/ruppertus/work/src/archlinux/vcmi/src/vcmi-0.98/lib/Connection.cpp: In member function ‘CTypeList::TypeInfoPtr CTypeList::registerType(const std::type_info*)’: /home/ruppertus/work/src/archlinux/vcmi/src/vcmi-0.98/lib/Connection.cpp:443:45: error: call of overloaded ‘make_shared()’ is ambiguous auto newType = make_shared<TypeDescriptor>(); ^ In file included from /usr/include/c++/6.2.1/memory:82:0, from /home/ruppertus/work/src/archlinux/vcmi/src/vcmi-0.98/lib/../Global.h:114, from /home/ruppertus/work/src/archlinux/vcmi/src/vcmi-0.98/lib/StdInc.h:3, from /home/ruppertus/work/src/archlinux/vcmi/src/vcmi-0.98/lib/cotire/vcmi_CXX_prefix.cxx:4, from /home/ruppertus/work/src/archlinux/vcmi/src/vcmi-0.98/lib/cotire/vcmi_CXX_prefix.hxx:4: /usr/include/c++/6.2.1/bits/shared_ptr.h:632:5: note: candidate: std::shared_ptr<_Tp1> std::make_shared(_Args&& ...) [with _Tp = CTypeList::TypeDescriptor; _Args = {}] make_shared(_Args&&... __args) ^~~~~~~~~~~ In file included from /usr/include/boost/smart_ptr/make_shared.hpp:15:0, from /usr/include/boost/thread/future.hpp:61, from /usr/include/boost/thread.hpp:24, from /home/ruppertus/work/src/archlinux/vcmi/src/vcmi-0.98/lib/../Global.h:157, from /home/ruppertus/work/src/archlinux/vcmi/src/vcmi-0.98/lib/StdInc.h:3, from /home/ruppertus/work/src/archlinux/vcmi/src/vcmi-0.98/lib/cotire/vcmi_CXX_prefix.cxx:4, from /home/ruppertus/work/src/archlinux/vcmi/src/vcmi-0.98/lib/cotire/vcmi_CXX_prefix.hxx:4: /usr/include/boost/smart_ptr/make_shared_object.hpp:246:87: note: candidate: typename boost::detail::sp_if_not_array<T>::type boost::make_shared(Args&& ...) [with T = CTypeList::TypeDescriptor; Args = {}; typename boost::detail::sp_if_not_array<T>::type = boost::shared_ptr<CTypeList::TypeDescriptor>] template< class T, class... Args > typename boost::detail::sp_if_not_array< T >::type make_shared( Args && ... args ) ^~~~~~~~~~~ make[2]: *** [lib/CMakeFiles/vcmi.dir/build.make:2102: lib/CMakeFiles/vcmi.dir/Connection.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:190: lib/CMakeFiles/vcmi.dir/all] Error 2 make: *** [Makefile:150: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

KozRoss commented on 2016-01-10 00:36 (UTC)

Does not build for me: [ 61%] Building CXX object lib/CMakeFiles/vcmi.dir/NetPacksLib.cpp.o /tmp/yaourt-tmp-koz/aur-vcmi/src/vcmi-0.98/lib/Connection.cpp: In member function ‘CTypeList::TypeInfoPtr CTypeList::registerType(const std::type_info*)’: /tmp/yaourt-tmp-koz/aur-vcmi/src/vcmi-0.98/lib/Connection.cpp:443:45: error: call of overloaded ‘make_shared()’ is ambiguous auto newType = make_shared<TypeDescriptor>(); ^

Raziel23 commented on 2015-06-10 13:57 (UTC)

@oppsig: You are not using current 0.98-2 tarball which include a compile fix for this (precisely speaking 0001-Fix-building-with-Boost-1.58.patch file), but you are using the old 0.98-1 tarball. I suspect that this is an AUR wrapper (yaourt) fault which you are using. It simply use the tarball from the old AUR (aur.archlinux.org), not from new one (aur4.archlinux.org). You can manually download the new tarball and manually build the package by using makepkg.

oppsig commented on 2015-06-10 07:45 (UTC)

0.98-2 Does not build for me. [ 20%] Building CXX object lib/CMakeFiles/vcmi.dir/CArtHandler.cpp.o /tmp/yaourt-tmp-judas/aur-vcmi/src/vcmi-0.98/lib/CArtHandler.cpp: In member function ‘boost::optional<std::vector<CArtifact*>&> CArtHandler::listFromClass(CArtifact::EartClass)’: /tmp/yaourt-tmp-judas/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-judas/aur-vcmi/src/vcmi-0.98/lib/spells/CSpellHandler.h:15:0, from /tmp/yaourt-tmp-judas/aur-vcmi/src/vcmi-0.98/lib/CArtHandler.cpp:18: /tmp/yaourt-tmp-judas/aur-vcmi/src/vcmi-0.98/lib/spells/../int3.h: At global scope: /tmp/yaourt-tmp-judas/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 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build vcmi. ==> Restart building vcmi ? [y/N] ==> ----------------------------- ==>

Raziel23 commented on 2015-04-01 13:50 (UTC)

[Bump to version 0.98-1]. New upstream release. The changelog is as follows: http://forum.vcmi.eu/viewtopic.php?p=14153#14153 Also the PKGBUILD was cleaned up.

Raziel23 commented on 2014-11-02 10:47 (UTC)

[Bump to version 0.97-1]. New upstream release. The changelog is as follows: http://forum.vcmi.eu/viewtopic.php?p=13381#13381 I switched from SDL 1 to SDL 2, added minizip dependency and updated the installation instructions.

Raziel23 commented on 2014-10-11 06:17 (UTC)

@salviati: Why you flag this package out of date? There isn't newer stable version of vcmi than 0.96. Version 0.96b is a development version (not stable one). If you want use it please use vcmi-git package.

Raziel23 commented on 2014-08-24 14:22 (UTC)

[Update without bump the pkgver]. Set MAKEFLAGS="-j1" in the PKGBUILD in order to avoid running out of memory during compilation, because some people have problems with exceeding their memory during compilation with more than one job. Better safe than sorry. This change doesn't affect the package (only compilation) so I didn't bump the pkgver to avoid recompilation for other people.