@Miziakmwa: I can successfully compile vcmi-svn at 3696 svn revision. The error message clearly says that
"librtmp.so.1, needed by libavformat.so, not found" and this problem was solved in the ffmpeg package
version 1:2.1.1-3 (the ffmpeg wasn't rebuilded against the rtmpdump):
https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/ffmpeg&id=6adaddd529409e0f3d1ac7b6980f19f92b5a6f0b
So if you have installed the newest ffmpeg version from the repository (version 1:2.1.1-3) and the newest
rtmpdump package (version 20131205-1) you should compile successfully vcmi-svn at 3696 revision. Please keep
in mind that this the svn version of vcmi, and not always every svn revision may compiled successfully.
You can always use the release version of vcmi which is generally more stable version:
https://aur.archlinux.org/packages/vcmi/
Search Criteria
Package Details: vcmi-git 1.6.5.41.g7c0a43908-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/vcmi-git.git (read-only, click to copy) |
---|---|
Package Base: | vcmi-git |
Description: | Open-source engine for Heroes of Might and Magic III |
Upstream URL: | http://vcmi.eu |
Keywords: | homm3 |
Licenses: | GPL2 |
Conflicts: | vcmi |
Provides: | vcmi |
Submitter: | Raziel23 |
Maintainer: | fenuks |
Last Packager: | fenuks |
Votes: | 47 |
Popularity: | 0.002568 |
First Submitted: | 2014-04-07 07:23 (UTC) |
Last Updated: | 2025-02-04 16:18 (UTC) |
Dependencies (19)
- boost-libs
- desktop-file-utils (desktop-file-utils-gitAUR)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-ffplayoutAUR, ffmpeg-gitAUR, ffmpeg-amd-full-gitAUR, ffmpeg-fullAUR, ffmpeg-full-gitAUR, ffmpeg-libfdk_aacAUR, ffmpeg-headlessAUR, ffmpeg-obsAUR)
- gtk-update-icon-cache (gtk-update-icon-cache-gitAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- libxkbcommon-x11 (libxkbcommon-x11-gitAUR)
- luajit (luajit-2.1-lua52-gitAUR, luajit-gitAUR, luajit-openrestyAUR)
- qt5-base (qt5-base-gitAUR, qt5-base-headlessAUR)
- sdl2_image
- sdl2_mixer
- sdl2_ttf
- tbb (onetbb-gitAUR, onetbb)
- boost (boost-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- qt5-tools (make)
- innoextract (innoextract-gitAUR) (optional) – required by vcmibuilder
- unshield (unshield-gitAUR) (optional) – required by vcmibuilder
- unzip (unzip-natspecAUR, unzip-zstdAUR) (optional) – required by vcmibuilder
Required by (1)
- vcmi-demo (requires vcmi)
Sources (4)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 Next › Last »
Raziel23 commented on 2014-01-01 21:03 (UTC)
miziakmwa commented on 2014-01-01 18:05 (UTC)
Hello, I'm trying to install VCMI and in during of compilation get error.
I think it's probably an error in connection with ffmpeg newest library version but I don't know how solve this problem.
Error:
Linking CXX executable vcmiclient
/usr/bin/ld: warning: librtmp.so.1, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libavformat.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libavformat.so: undefined reference to `RTMP_Write'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libavformat.so: undefined reference to `RTMP_Pause'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libavformat.so: undefined reference to `RTMP_Read'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libavformat.so: undefined reference to `RTMP_EnableWrite'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libavformat.so: undefined reference to `RTMP_LogSetLevel'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libavformat.so: undefined reference to `RTMP_LogSetCallback'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libavformat.so: undefined reference to `RTMP_Connect'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libavformat.so: undefined reference to `RTMP_Close'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libavformat.so: undefined reference to `RTMP_ConnectStream'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libavformat.so: undefined reference to `RTMP_SetupURL'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libavformat.so: undefined reference to `RTMP_SendSeek'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libavformat.so: undefined reference to `RTMP_Init'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libavformat.so: undefined reference to `RTMP_Socket'
collect2: error: ld returned 1 exit status
client/CMakeFiles/vcmiclient.dir/build.make:956: polecenia dla obiektu 'client/vcmiclient' nie powiodły się
make[2]: *** [client/vcmiclient] Błąd 1
CMakeFiles/Makefile2:129: polecenia dla obiektu 'client/CMakeFiles/vcmiclient.dir/all' nie powiodły się
make[1]: *** [client/CMakeFiles/vcmiclient.dir/all] Błąd 2
Makefile:136: polecenia dla obiektu 'all' nie powiodły się
make: *** [all] Błąd 2
Raziel23 commented on 2013-09-09 09:25 (UTC)
[Bump to version 3541-1]. The change is as follow:
- added qt5-base dependency in order to compile and run properly vcmilauncher (mod manager).
vcmilauncher can automatically download and manage available mods for vcmi.
Cravix commented on 2013-06-14 09:57 (UTC)
@nodig:
you need hoh3 data files as well :) you can read this:
http://wiki.vcmi.eu/index.php?title=Installation_on_Linux#Installing_Heroes_III_data_files
nodig commented on 2013-06-14 07:16 (UTC)
$ vcmiclient
Starting...
Creating console 0
Initialization: 0
Data loading: 0
Mod handler: 0
Mod filesystems: 0
Basic initialization: 0
File CONFIG/SETTINGS is not a valid JSON file!
At line 1, position 0 error: Unexpected end of file!
Initialized logging system based on settings successfully.
Error: Heroes III data was not found!
Error: campaign movies was not found!
Error: campaign music was not found!
Loading settings: 0
VCMI 0.93 (client)
Note: SDL suggests to use 32 bpp instead of24 bpp
New screen flags: 0
Initializing screen: 50
Initializing video: 0
Error: video VIDEO/3DOLOGO was not found
Error: video VIDEO/AZVS was not found
Initializing minors: 0
Initializing sound: 10
Initializing screen and sound handling: 10
Bonus type handler: 10
Resource with name DATA/VCDESC and type TEXT wasn't found.
terminate called after throwing an instance of 'std::runtime_error'
what(): Resource with name DATA/VCDESC and type TEXT wasn't found.
Raziel23 commented on 2013-06-08 20:15 (UTC)
[Bump to version 3408-1]. Update the svn repository url due to svn repository migration on sourceforge.
Here it is an appropriate message about it: http://forum.vcmi.eu/viewtopic.php?t=703
Raziel23 commented on 2013-05-09 07:42 (UTC)
[Bump to version 3371-1]. I have take advantage of pacman version 4.1 which now officially
support version control systems. The changes I have made are:
- added a pkgver() function which should automatically update the pkgver variable
- added a prepare() function which creates an empty build directory
- added three new dependencies (desktop-file-utils, gtk-update-icon-cache, hicolor-icon-theme)
in order to update icon and desktop files after installing, updating and removing
the vcmi-svn package
- removed two dependencies (sdl, zlib) because they are already satisfied by other packages
(respectively by boost-libs and sdl_image)
- added a post remove message which tells that in order to completely remove the vcmi-svn
package you have to manually remove the ~/.vcmi directory
If you encounter any problems with new PKGBUILD please leave here a comment.
Raziel23 commented on 2013-03-12 14:15 (UTC)
Bump to version 3288-1. I have only add to the PKGBUILD fields conflicts and provides, because
I have created a new package named vcmi:
https://aur.archlinux.org/packages/vcmi/
This is the release version of vcmi and it is generally more stable version. Also in the svn
version the save format may change very often (between next svn revisions) and in this way may not be
compatible between each other (unable to load game that was saved in previous version of vcmi-svn).
Raziel23 commented on 2013-03-02 09:11 (UTC)
@istokin: The problem occurs because you use two different version of ffmpeg, one is the current one (ffmpeg)
and one is the older one (ffmpeg-compat) use by programs those don't work with current version of ffmpeg.
Three programs currently use ffmpeg-compat:
https://www.archlinux.org/packages/community/x86_64/ffmpeg-compat/
I don't have installed those programs and ffmpeg-compat package so for me issue didn't occur. Even I tried
to install ffmpeg-compat package and then compile vcmi, but the problem didn't show up. For some reasons
the problem is specific for your system. The problem may be how vcmi find the appropriate version of ffmpeg
during compilation, but for me even with installed ffmpeg-compat it didn't show up. I assume that this cmake
script is responsible for that:
http://sourceforge.net/apps/trac/vcmi/browser/trunk/cmake_modules/FindFFmpeg.cmake
My knowledge about cmake is limited. This problem is very specific and I don't know if it can be resolved in
the simply way without breaking compilation on other Linux distributions and other systems. You can fill
the problem on bugtracker:
http://bugs.vcmi.eu/my_view_page.php
As for the WOG settings menu it is not implemented. Here is the full changelog for the latest version of vcmi:
http://forum.vcmi.eu/viewtopic.php?p=8665#8665
and you can follow the svn timeline what changes were made in specific svn revisions:
http://sourceforge.net/apps/trac/vcmi/timeline
Pinned Comments