Package Details: vcmi 1.6.3-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: 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: 51
Popularity: 0.94
First Submitted: 2013-03-12 14:11 (UTC)
Last Updated: 2025-01-10 13:57 (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

1 2 3 4 5 6 .. 8 Next › Last »

mirandir commented on 2025-02-01 13:27 (UTC)

FYI, you'll need -DENABLE_INNOEXTRACT=ON to install Heroes Chronicles [https://github.com/vcmi/vcmi/blob/develop/docs/players/Heroes_Chronicles.md] With -DENABLE_INNOEXTRACT=OFF, VCMI segfaults when importing GOG files.

michaldybczak commented on 2025-01-06 12:15 (UTC) (edited on 2025-01-06 12:16 (UTC) by michaldybczak)

Build error, something with the font: [ 88%] Building CXX object client/CMakeFiles/vcmiclientcommon.dir/renderSDL/CTrueTypeFont.cpp.o In file included from /home/michaldybczak/.build/vcmi/src/vcmi-1.6.2/client/renderSDL/CTrueTypeFont.cpp:23: /usr/include/SDL2/SDL_ttf.h:165:16: error: using typedef-name ‘using TTF_Font = struct _TTF_Font’ after ‘struct’ 165 | typedef struct TTF_Font TTF_Font; | ^~ In file included from /home/michaldybczak/.build/vcmi/src/vcmi-1.6.2/client/renderSDL/CTrueTypeFont.cpp:11: /home/michaldybczak/.build/vcmi/src/vcmi-1.6.2/client/renderSDL/CTrueTypeFont.h:20:7: note: ‘using TTF_Font = struct _TTF_Font’ has a previous declaration here 20 | using TTF_Font = struct _TTF_Font; | ^~ /usr/include/SDL2/SDL_ttf.h:165:25: error: conflicting declaration ‘typedef int TTF_Font’ 165 | typedef struct TTF_Font TTF_Font; | ^~ /home/michaldybczak/.build/vcmi/src/vcmi-1.6.2/client/renderSDL/CTrueTypeFont.h:20:7: note: previous declaration as ‘using TTF_Font = struct _TTF_Font’ 20 | using TTF_Font = struct _TTF_Font; | ^~ make[2]: *** [client/CMakeFiles/vcmiclientcommon.dir/build.make:1472: client/CMakeFiles/vcmiclientcommon.dir/renderSDL/CTrueTypeFont.cpp.o] Error 1 make[2]: *** Waiting for the unfinished tasks.... make[1]: *** [CMakeFiles/Makefile2:1248: client/CMakeFiles/vcmiclientcommon.dir/all] Error 2 make: *** [Makefile:156: all] Error 2 ==> ERROR: Error in build(). Aborting...

By the way, what type of markings (code?) I have to use to make the output not be clamped together, like others did below?

Crandel commented on 2025-01-06 09:28 (UTC)

If you do not want to wait for the fix from devs here is a dirty working solution

Gigas002 commented on 2025-01-06 07:28 (UTC)

@Crandel I think sdl2_ttf update caused this to happen. Similar issue is open in upstream: https://github.com/vcmi/vcmi/issues/5207

Crandel commented on 2025-01-06 06:57 (UTC)

Somehow it was not working for both gcc and clang with the same error

In file included from /data/linux/bb/vcmi/src/vcmi-1.6.2/client/renderSDL/CTrueTypeFont.cpp:23:
/usr/include/SDL2/SDL_ttf.h:165:16: error: type alias 'TTF_Font' cannot be referenced with a struct specifier
  165 | typedef struct TTF_Font TTF_Font;
      |                ^
/data/linux/bb/vcmi/src/vcmi-1.6.2/client/renderSDL/CTrueTypeFont.h:20:7: note: declared here
   20 | using TTF_Font = struct _TTF_Font;
      |       ^
[ 91%] Building CXX object client/CMakeFiles/vcmiclientcommon.dir/globalLobby/GlobalLobbyServerSetup.cpp.o
1 error generated.
make[2]: *** [client/CMakeFiles/vcmiclientcommon.dir/build.make:1472: client/CMakeFiles/vcmiclientcommon.dir/renderSDL/CTrueTypeFont.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:1428: client/CMakeFiles/vcmiclientcommon.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: vcmi-exit status 4

mk_root commented on 2024-09-29 04:50 (UTC) (edited on 2024-09-29 04:51 (UTC) by mk_root)


[ 98%] Building CXX object client/CMakeFiles/vcmiclient.dir/ServerRunner.cpp.o
/var/tmp/pamac-build-mk/vcmi/src/vcmi-1.5.7/client/ServerRunner.cpp:13:10: fatal error: boost/process/v1/child.hpp: No such file or directory
   13 | #include <boost/process/v1/child.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [client/CMakeFiles/vcmiclient.dir/build.make:2701: client/CMakeFiles/vcmiclient.dir/ServerRunner.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:951: client/CMakeFiles/vcmiclient.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Looks like it similar to related bug https://github.com/vcmi/vcmi/issues/4561#issuecomment-2333877704

Version 1.5.7-2

Gigas002 commented on 2024-09-06 16:07 (UTC)

@Crandel Thank you for the contribution! I've tested the patch and everything seems to work for me. Added to a package until 1.6.x releases

Crandel commented on 2024-09-06 11:47 (UTC)

@Gigas002

there is a patch available in the comments of my issue https://github.com/vcmi/vcmi/issues/4561#issuecomment-2333877704

Crandel commented on 2024-09-04 09:08 (UTC)

The issue was created https://github.com/vcmi/vcmi/issues/4561

Gigas002 commented on 2024-09-03 15:08 (UTC)

My bad, tested on a wrong machine. Could you please report this upstream, as the issue for it got removed, it seems? The flatpak maintainer just downgraded the boost version to 1.85 for now