Package Details: vcmi 1.5.7-2

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: homm homm3 vcmi
Licenses: GPL-2.0-or-later AND CC-BY-SA-4.0
Conflicts: vcmi
Provides: vcmi
Submitter: Raziel23
Maintainer: Gigas002
Last Packager: Gigas002
Votes: 48
Popularity: 0.31
First Submitted: 2013-03-12 14:11 (UTC)
Last Updated: 2024-09-06 16:07 (UTC)

Pinned Comments

Gigas002 commented on 2024-05-29 15:08 (UTC)

PKGBUILD tweaks

If you want to build with clang, add this part to cmake flags:

    -DCMAKE_CXX_COMPILER='clang++' \
    -DCMAKE_C_COMPILER='clang' \

If you want to use bundled fuzzylite:

    -DFORCE_BUNDLED_FL=ON \

If you want to use innoextract (system-wide installation won't work since vcmi has a temporary? fork of innoextract for now):

    -DENABLE_INNOEXTRACT=ON \

Latest Comments

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

otlet commented on 2023-04-18 13:50 (UTC) (edited on 2023-04-18 13:50 (UTC) by otlet)

if error:

CMake Error at CMakeLists.txt:417 (find_package):
Found package configuration file:

/usr/lib/cmake/Qt6/Qt6Config.cmake

but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
FOUND.  Reason given by package:

Failed to find required Qt component "LinguistTools".

Expected Config file at
"/usr/lib/cmake/Qt6LinguistTools/Qt6LinguistToolsConfig.cmake" does NOT
exist

Configuring with --debug-find-pkg=Qt6LinguistTools might reveal details why
the package was not found.

Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
of the path variables that find_package uses to try and find the package.

Solution: Install qt6-tools

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

GolD_R0ger commented on 2020-01-08 18:45 (UTC) (edited on 2020-01-08 19:00 (UTC) by GolD_R0ger)

doesn't build for me

Scanning dependencies of target vcmi [ 1%] Building CXX object lib/CMakeFiles/vcmi.dir/serializer/Connection.cpp.o /home/arch/aur/vcmi/src/vcmi-0.99/lib/serializer/Connection.cpp: In constructor ‘CConnection::CConnection(TSocket, std::string)’: /home/arch/aur/vcmi/src/vcmi-0.99/lib/serializer/Connection.cpp:120:62: error: ‘TSocket’ {aka ‘class boost::asio::basic_stream_socket<boost::asio::ip::tcp>’} has no member named ‘get_io_service’ 120 | :iser(this), oser(this), socket(Socket),io_service(&Socket->get_io_service()), name(Name)//, send(this), rec(this) | ^~~~~~~~~~~~~~ make[2]: [lib/CMakeFiles/vcmi.dir/build.make:819: lib/CMakeFiles/vcmi.dir/serializer/Connection.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:348: lib/CMakeFiles/vcmi.dir/all] Error 2 make: ** [Makefile:152: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

Linuxman commented on 2018-09-28 06:04 (UTC)

Hi! It is don't wanna rebuild with 1.68 version of boost library

[code] In file included from /usr/include/boost/range/algorithm/max_element.hpp:12, from /usr/include/boost/range/algorithm.hpp:97, from /home/user/.cache/yay/vcmi/src/vcmi-0.99/AI/VCAI/../../Global.h:178, from /home/user/.cache/yay/vcmi/src/vcmi-0.99/AI/VCAI/StdInc.h:2, from /home/user/.cache/yay/vcmi/src/vcmi-0.99/AI/VCAI/cotire/VCAI_CXX_prefix.cxx:4, from /home/user/.cache/yay/vcmi/src/vcmi-0.99/AI/VCAI/cotire/VCAI_CXX_prefix.hxx:4: /usr/include/boost/algorithm/minmax_element.hpp: In instantiation of ‘bool boost::detail::binary_pred_over_iter<iterator, binarypredicate="">::operator()(const Iterator&, const Iterator&) const [with Iterator = gnu_cxx::normal_iterator<const cgdwelling*="" cgdwelling**,="" std::vector<const=""> >; BinaryPredicate = CDistanceSorter]’: /usr/include/boost/algorithm/minmax_element.hpp:218:15: required from ‘ForwardIter boost::detail::basic_first_min_element(ForwardIter, ForwardIter, BinaryPredicate) [with ForwardIter = gnu_cxx::normal_iterator<const cgdwelling*="" cgdwelling**,="" std::vector<const=""> >; BinaryPredicate = boost::detail::binary_pred_over_iter<gnu_cxx::normal_iterator<const cgdwelling*="" cgdwelling**,="" std::vector<const=""> >, CDistanceSorter>]’ /usr/include/boost/algorithm/minmax_element.hpp:276:43: required from ‘ForwardIter boost::first_min_element(ForwardIter, ForwardIter, BinaryPredicate) [with ForwardIter = gnu_cxx::normal_iterator<const cgdwelling*="" cgdwelling**,="" std::vector<const=""> >; BinaryPredicate = CDistanceSorter]’ /usr/include/boost/range/algorithm/min_element.hpp:53:36: required from ‘typename boost::range_iterator<c>::type boost::range::min_element(ForwardRange&, BinaryPredicate) [with ForwardRange = std::vector<const cgdwelling*="">; BinaryPredicate = CDistanceSorter; typename boost::range_iterator<c>::type = gnu_cxx::normal_iterator<const cgdwelling*="" cgdwelling**,="" std::vector<const=""> >]’ /home/user/.cache/yay/vcmi/src/vcmi-0.99/AI/VCAI/Goals.cpp:927:88: required from here /usr/include/boost/algorithm/minmax_element.hpp:47:73: error: no match for call to ‘(const CDistanceSorter) (const CGDwelling&, const CGDwelling&)’ Iterator const& it2) const { return m_p(it1, it2); } ^ In file included from /home/user/.cache/yay/vcmi/src/vcmi-0.99/AI/VCAI/Goals.h:7, from /home/user/.cache/yay/vcmi/src/vcmi-0.99/AI/VCAI/Goals.cpp:2: /home/user/.cache/yay/vcmi/src/vcmi-0.99/AI/VCAI/AIUtility.h:170:7: note: candidate: ‘bool CDistanceSorter::operator()(const CGObjectInstance, const CGObjectInstance)’ <near match=""> bool operator ()(const CGObjectInstance lhs, const CGObjectInstance rhs); ^~~~~~~~ /home/user/.cache/yay/vcmi/src/vcmi-0.99/AI/VCAI/AIUtility.h:170:7: note: passing ‘const CDistanceSorter’ as ‘this’ argument discards qualifiers /home/user/.cache/yay/vcmi/src/vcmi-0.99/AI/VCAI/Goals.cpp: In member function ‘std::__cxx11::string Goals::AbstractGoal::name() const’: /home/user/.cache/yay/vcmi/src/vcmi-0.99/AI/VCAI/Goals.cpp:69:45: warning: this statement may fall through [-Wimplicit-fallthrough=] desc = "GET OBJ " + obj->getObjectName(); ^ /home/user/.cache/yay/vcmi/src/vcmi-0.99/AI/VCAI/Goals.cpp:71:3: note: here case FIND_OBJ: ^~~~ make[2]: [AI/VCAI/CMakeFiles/VCAI.dir/build.make:105: AI/VCAI/CMakeFiles/VCAI.dir/Goals.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:877: AI/VCAI/CMakeFiles/VCAI.dir/all] Error 2 make: ** [Makefile:152: all] Error 2 [/code]</near></const></c></const></c></const></const></const></const></iterator,>

axfelix commented on 2018-05-07 05:01 (UTC)

Anyone feel like making a precompiled binary package? For a recreation of a game engine from 1999 this takes a surprisingly long time to build (it filled up my 2GB /tmp and I haven't felt like trying again yet)...

yktor commented on 2018-02-15 22:45 (UTC) (edited on 2018-02-15 22:45 (UTC) by yktor)

Patch to prevent $HOME deletion: https://hastebin.com/obozorezox.cpp

Patch to fix compilation with new boost: https://hastebin.com/womijexiyi.cpp

Please update PKGBUILD

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

MarcinWieczorek commented on 2017-10-17 17:08 (UTC)

Hello, please rename the tarball to $pkgname-$pkgver like format, so it is possible to use shared source directory. Thank you.

argarak commented on 2016-10-23 22:51 (UTC)

@gonciarz I've documented the problem on your VCMI issues page (http://bugs.vcmi.eu/view.php?id=2511) so see the most recent note for more details. And @bwrsandman, please remove the `minizip` dependency (also in vcmi-git), as currently, one has to remove it to get any mods to install.

gonciarz commented on 2016-10-04 22:18 (UTC)

I retested the newest vcmi package. I'm able to compile it but when I try to install WOG from vcmilauncher I got Segmentation fault: vcmilauncher Failed to open file /home/ruppertus/.config/vcmi/modSettings.json File <unknown> is not a valid JSON file! At line 21, position 2 warning: Comma expected! At line 36, position 1 warning: Comma expected! File <unknown> is not a valid JSON file! At line 21, position 2 warning: Comma expected! At line 36, position 1 warning: Comma expected! Segmentation fault (core dumped)