Code Monkey home page Code Monkey logo

vcmi's Introduction

VCMI Github Downloads Github Downloads Github Downloads Github Downloads

VCMI Project

VCMI is an open-source recreation of Heroes of Might & Magic III engine, giving it new and extended possibilities.

Vanilla town siege in extended window Vanilla town view with radial menu for touchscreen devices Large Spellbook with German translation New widget for Hero selection, featuring Pavillon Town

Links

Latest release

Latest release can be found in Github Releases page. As of right now we plan to have major releases around 3 times per year. Daily builds are still available at builds.vcmi.download but they are not guaranteed to be stable. So we encourage everybody to use them and report found bugs so that we can fix them. Loading saves made with different major version of VCMI is usually not supported, so you may want to finish your ongoing games before updating. Please see corresponding installation guide articles for details for your platform.

Installation guides

Forge Town in battle Asylum town with new creature dialog Ruins town siege Map editor

Documentation and guidelines for players

Documentation and guidelines for game modders

Documentation and guidelines for developers

Development environment setup instructions:

Engine documentation: (NOTE: may be outdated)

Documentation and guidelines for maintainers

Copyright and license

VCMI Project source code is licensed under GPL version 2 or later. VCMI Project assets are licensed under CC-BY-SA 4.0. Assets sources and information about contributors are available under following link: https://github.com/vcmi/vcmi-assets

Copyright (C) 2007-2024 VCMI Team (check AUTHORS file for the contributors list)

vcmi's People

Contributors

alexander-wilms avatar alexvins avatar altiereslima avatar arseniyshestakov avatar beegee1 avatar cewbdex avatar chocimier avatar djwarmonger avatar dydzio0614 avatar fayth avatar godric3 avatar henningkoehlernz avatar ivansavenko avatar kambala-decapitator avatar kdmcser avatar krs0 avatar kuxe avatar laserlicht avatar macron1robot avatar mateuszbaran avatar mixaill avatar mwu-tow avatar nordsoft91 avatar nullkiller avatar rilian-la-te avatar rwesterlund avatar shubuscorporation avatar soundssgood avatar vmarkovtsev avatar zyx-2000 avatar

Watchers

 avatar

vcmi's Issues

The package name passed to `find_package_handle_standard_args` (SDL2main) does not match the name of the calling package (SDL2)

CMake Warning (dev) at /usr/local/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (SDL2main)
  does not match the name of the calling package (SDL2).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake_modules/FindSDL2.cmake:318 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:464 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found SDL2main: /usr/lib/x86_64-linux-gnu/libSDL2main.a (found version "2.0.20") 
CMake Warning (dev) at /usr/local/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (SDL2main)
  does not match the name of the calling package (SDL2).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake_modules/FindSDL2.cmake:318 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  cmake_modules/FindSDL2_image.cmake:114 (find_package)
  CMakeLists.txt:465 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found SDL2_image: /usr/lib/x86_64-linux-gnu/libSDL2_image.so (found version "2.0.5") 
CMake Warning (dev) at /usr/local/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (SDL2main)
  does not match the name of the calling package (SDL2).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake_modules/FindSDL2.cmake:318 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  cmake_modules/FindSDL2_mixer.cmake:112 (find_package)
  CMakeLists.txt:469 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found SDL2_mixer: /usr/lib/x86_64-linux-gnu/libSDL2_mixer.so (found version "2.0.4") 
CMake Warning (dev) at /usr/local/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (SDL2main)
  does not match the name of the calling package (SDL2).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake_modules/FindSDL2.cmake:318 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  cmake_modules/FindSDL2_ttf.cmake:114 (find_package)
  CMakeLists.txt:473 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found SDL2_ttf: /usr/lib/x86_64-linux-gnu/libSDL2_ttf.so (found version "2.0.18") 

CI installs
libsdl2-image-2.0-0 libsdl2-mixer-2.0-0 libsdl2-ttf-2.0-0
on Linux

https://github.com/Alexander-Wilms/vcmi/blob/develop/CI/linux-qt6/before_install.sh

With all FindSDL2*.cmake files removed:

 CMake Error at CMakeLists.txt:465 (find_package):
  By not providing "FindSDL2_image.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
-- Configuring incomplete, errors occurred!
  "SDL2_image", but CMake did not find one.

  Could not find a package configuration file provided by "SDL2_image" with
  any of the following names:

    SDL2_imageConfig.cmake
    sdl2_image-config.cmake

  Add the installation prefix of "SDL2_image" to CMAKE_PREFIX_PATH or set
  "SDL2_image_DIR" to a directory containing one of the above files.  If
  "SDL2_image" provides a separate development package or SDK, be sure it has
  been installed.

Since 2.6 version, SDL2_image installation is shipped with CMake config script SDL2_imageConfig.cmake/SDL2_image-config.cmake.

So find_package(SDL2_image) works without any additional FindSDL2_image.cmake module, and creates IMPORTED target SDL2_image::SDL2_image:

find_package(SDL2_image REQUIRED)
target_link_libraries( SDL2_image::SDL2_image)

Note, that variables like SDL2_IMAGE_LIBRARIES or SDL2_IMAGE_INCLUDE_DIRS are NOT set in this case, so using them is meaningless.

https://stackoverflow.com/a/74147745/2278742

2.6.3 is available in 23.04:
https://packages.ubuntu.com/search?suite=default&section=all&arch=any&keywords=libsdl2-image&searchon=names

focal (20.04LTS) (libs): Image loading library for Simple DirectMedia Layer 2, libraries [universe]
2.0.5+dfsg1-2: amd64 arm64 armhf i386 ppc64el riscv64 s390x
jammy (22.04LTS) (libs): Image loading library for Simple DirectMedia Layer 2, libraries [universe]
2.0.5+dfsg1-3build1: amd64 arm64 armhf i386 ppc64el riscv64 s390x
lunar (23.04) (libs): Image loading library for Simple DirectMedia Layer 2, libraries [universe]
2.6.3+dfsg-1: amd64 arm64 armhf i386 ppc64el riscv64 s390x
mantic (23.10) (libs): Image loading library for Simple DirectMedia Layer 2, libraries [universe]
2.6.3+dfsg-2: amd64 arm64 armhf i386 ppc64el riscv64 s390x
noble (libs): Image loading library for Simple DirectMedia Layer 2, libraries [universe]
2.8.2+dfsg-1: amd64 arm64 armhf i386 ppc64el riscv64 s390x

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.