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: 50
Popularity: 0.78
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 »

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.

Raziel23 commented on 2014-08-24 13:51 (UTC)

@bladedglove: Good catch. Thank you for the tip. With my 2 cores (2 threads) memory usage doesn't exceed my 8 GB. I think that instead of changing /etc/makepkg.conf I will set the variable MAKEFLAGS="-j1" in the PKGBUILD to avoid such situations. The compilation time will take longer (for me with -j1 it takes about 40 minutes), but at least more people will be able build the vcmi successfully.

bladedglove commented on 2014-08-24 08:15 (UTC)

To avoid running out of memory and freezing your system on multicore computers, set a lower value for MAKEFLAGS="-jX" in /etc/makepkg.conf before running makepkg -s. Compiling with "-j4" (forcing the compiler to use all 4 cores of my i5 CPU) resulted in running out of memory (8GB) and failing at 56%, but the "-j1" value forced the compiler to use only 1 core and the top memory usage was at around ~3-4GB. Of course, using a huge swap partition/file is also a solution, but that's another story.

Raziel23 commented on 2014-08-02 12:56 (UTC)

@KlavKalashj: I've experienced freezing the system during compilation vcmi version 0.95. Even with the frozen system I was able successfully compile vcmi 0.95. For me with vcmi version 0.96 and with vcmi-git this issue not exist. I can only speak for myself, because the problem doesn't exist for me. I presume that this issue may that exist during compilation registerTypes. This part of compilation takes most memory and time compilation. I'm not vcmi developer, I'm only the package maintainer and I don't know how solve this problem. You can write about this issue in the vcmi forum. Here it is the related topic about this problem: http://forum.vcmi.eu/viewtopic.php?p=11612