Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug #3

Open
elegy112138 opened this issue Jul 11, 2024 · 4 comments
Open

bug #3

elegy112138 opened this issue Jul 11, 2024 · 4 comments

Comments

@elegy112138
Copy link

Hello, I ran the following command but received an error. I have repeatedly checked the steps. Could you please tell me why this is happening?
2d5bf73c2ff7d120c0dcd8a9b7d5d79
914f29a3569128ae8d52472e71d95b3

@elegy112138
Copy link
Author

target_link_libraries(gymclient PUBLIC vcmi vcmiclient)
target_link_libraries(gymclient-gui PRIVATE gymclient)
target_link_libraries(gymclient-headless PRIVATE gymclient) it semms this line。
-- Using Conan toolchain: /home/ubuntu/vcmi-gym/vcmi/conan-generated/conan_toolchain.cmake
-- Conan toolchain: C++ Standard 17 with extensions OFF
-- -- -- Start of VCMI build debug information
-- CMAKE_VERSION: 3.22.1
-- CMAKE_BUILD_TYPE: Debug
-- CMAKE_BINARY_DIR: /home/ubuntu/vcmi-gym/vcmi/rel
-- CMAKE_SOURCE_DIR: /home/ubuntu/vcmi-gym/vcmi
-- CMAKE_MODULE_PATH: /home/ubuntu/vcmi-gym/vcmi/cmake_modules/home/ubuntu/vcmi-gym/vcmi/CI
-- CMAKE_COMMAND: /usr/bin/cmake
-- CMAKE_ROOT: /usr/share/cmake-3.22
-- UNIX: 1 - WIN32: - APPLE:
-- MINGW: - CYGWIN: - MSVC:
-- CMAKE_CXX_COMPILER_ID: GNU
-- CMAKE_CXX_COMPILER_VERSION: 11.4.0
-- CMAKE_C_COMPILER: /usr/bin/cc
-- CMAKE_CXX_COMPILER: /usr/bin/c++
-- CMAKE_SYSTEM: Linux-5.19.0-32-generic
-- CMAKE_SYSTEM_NAME: Linux
-- CMAKE_SYSTEM_VERSION: 5.19.0-32-generic
-- CMAKE_SYSTEM_PROCESSOR: x86_64
-- -- -- End of VCMI build debug information
-- Conan: Target declared 'ZLIB::ZLIB'
-- Conan: Target declared 'minizip::minizip'
-- Conan: Target declared 'BZip2::BZip2'
-- Conan: Including build module from '/home/ubuntu/.conan/data/bzip2/1.0.8///package/c32092bf4d4bb47cf962af898e02823f499b017e/lib/cmake/conan-official-bzip2-variables.cmake'
-- Conan: Component target declared 'ffmpeg::avutil'
-- Conan: Component target declared 'ffmpeg::avcodec'
-- Conan: Component target declared 'ffmpeg::swscale'
-- Conan: Component target declared 'ffmpeg::avformat'
-- Conan: Component target declared 'ffmpeg::avdevice'
-- Conan: Target declared 'ffmpeg::ffmpeg'
-- Conan: Target declared 'ALSA::ALSA'
-- Conan: Component target declared 'xorg::x11'
-- Conan: Component target declared 'xorg::x11-xcb'
-- Conan: Component target declared 'xorg::fontenc'
-- Conan: Component target declared 'xorg::ice'
-- Conan: Component target declared 'xorg::xau'
-- Conan: Component target declared 'xorg::xaw7'
-- Conan: Component target declared 'xorg::xcomposite'
-- Conan: Component target declared 'xorg::xcursor'
-- Conan: Component target declared 'xorg::xdamage'
-- Conan: Component target declared 'xorg::xdmcp'
-- Conan: Component target declared 'xorg::xext'
-- Conan: Component target declared 'xorg::xfixes'
-- Conan: Component target declared 'xorg::xi'
-- Conan: Component target declared 'xorg::xinerama'
-- Conan: Component target declared 'xorg::xkbfile'
-- Conan: Component target declared 'xorg::xmu'
-- Conan: Component target declared 'xorg::xmuu'
-- Conan: Component target declared 'xorg::xpm'
-- Conan: Component target declared 'xorg::xrandr'
-- Conan: Component target declared 'xorg::xrender'
-- Conan: Component target declared 'xorg::xres'
-- Conan: Component target declared 'xorg::xscrnsaver'
-- Conan: Component target declared 'xorg::xt'
-- Conan: Component target declared 'xorg::xtst'
-- Conan: Component target declared 'xorg::xv'
-- Conan: Component target declared 'xorg::xxf86vm'
-- Conan: Component target declared 'xorg::xcb-xkb'
-- Conan: Component target declared 'xorg::xcb-icccm'
-- Conan: Component target declared 'xorg::xcb-image'
-- Conan: Component target declared 'xorg::xcb-keysyms'
-- Conan: Component target declared 'xorg::xcb-randr'
-- Conan: Component target declared 'xorg::xcb-render'
-- Conan: Component target declared 'xorg::xcb-renderutil'
-- Conan: Component target declared 'xorg::xcb-shape'
-- Conan: Component target declared 'xorg::xcb-shm'
-- Conan: Component target declared 'xorg::xcb-sync'
-- Conan: Component target declared 'xorg::xcb-xfixes'
-- Conan: Component target declared 'xorg::xcb-xinerama'
-- Conan: Component target declared 'xorg::xcb'
-- Conan: Component target declared 'xorg::xcb-atom'
-- Conan: Component target declared 'xorg::xcb-aux'
-- Conan: Component target declared 'xorg::xcb-event'
-- Conan: Component target declared 'xorg::xcb-util'
-- Conan: Component target declared 'xorg::xcb-dri3'
-- Conan: Component target declared 'xorg::xcb-cursor'
-- Conan: Component target declared 'xorg::xcb-dri2'
-- Conan: Component target declared 'xorg::xcb-glx'
-- Conan: Component target declared 'xorg::xcb-present'
-- Conan: Component target declared 'xorg::xcb-composite'
-- Conan: Component target declared 'xorg::xcb-ewmh'
-- Conan: Component target declared 'xorg::xcb-res'
-- Conan: Component target declared 'xorg::uuid'
-- Conan: Component target declared 'xorg::sm'
-- Conan: Target declared 'xorg::xorg'
-- Conan: Component target declared 'pulseaudio::pulse'
-- Conan: Component target declared 'pulseaudio::pulse-simple'
-- Conan: Target declared 'pulseaudio::pulseaudio'
-- Conan: Target declared 'Iconv::Iconv'
-- Conan: Component target declared 'SndFile::sndfile'
-- Conan: Component target declared 'Ogg::ogg'
-- Conan: Component target declared 'Vorbis::vorbis'
-- Conan: Component target declared 'Vorbis::vorbisenc'
-- Conan: Component target declared 'Vorbis::vorbisfile'
-- Conan: Component target declared 'vorbis::vorbisenc-alias'
-- Conan: Component target declared 'vorbis::vorbisfile-alias'
-- Conan: Target declared 'vorbis::vorbis'
-- Conan: Component target declared 'FLAC::FLAC'
-- Conan: Component target declared 'FLAC::FLAC++'
-- Conan: Target declared 'flac::flac'
-- Conan: Component target declared 'Opus::opus'
-- Conan: Component target declared 'MPG123::libmpg123'
-- Conan: Component target declared 'MPG123::libout123'
-- Conan: Component target declared 'MPG123::libsyn123'
-- Conan: Target declared 'mpg123::mpg123'
-- Conan: Target declared 'libmp3lame::libmp3lame'
-- Conan: Component target declared 'libcap::cap'
-- Conan: Target declared 'libcap::libcap'
-- Conan: Target declared 'libtool::libtool'
-- Conan: Target declared 'automake::automake'
-- Conan: Target declared 'autoconf::autoconf'
-- Conan: Target declared 'm4::m4'
-- Conan: Component target declared 'OpenSSL::Crypto'
-- Conan: Component target declared 'OpenSSL::SSL'
-- Conan: Target declared 'openssl::openssl'
-- Conan: Including build module from '/home/ubuntu/.conan/data/openssl/1.1.1s///package/dfbe50feef7f3c6223a476cd5aeadb687084a646/lib/cmake/conan-official-openssl-variables.cmake'
-- Conan: Target declared 'LibLZMA::LibLZMA'
-- Conan: Including build module from '/home/ubuntu/.conan/data/xz_utils/5.4.5///package/dfbe50feef7f3c6223a476cd5aeadb687084a646/lib/cmake/conan-official-xz_utils-variables.cmake'
-- Conan: Target declared 'libaom-av1::libaom-av1'
-- Conan: Target declared 'dav1d::dav1d'
-- Conan: Component target declared 'vaapi::libva'
-- Conan: Component target declared 'vaapi::libva-x11'
-- Conan: Component target declared 'vaapi::libva-drm'
-- Conan: Target declared 'vaapi::vaapi'
-- Conan: Target declared 'vdpau::vdpau'
-- Conan: Component target declared 'SDL2::SDL2'
-- Conan: Component target declared 'SDL2::SDL2main'
-- Conan: Target declared 'opengl::opengl'
-- Conan: Component target declared 'wayland::wayland-scanner'
-- Conan: Component target declared 'wayland::wayland-server'
-- Conan: Component target declared 'wayland::wayland-client'
-- Conan: Component target declared 'wayland::wayland-cursor'
-- Conan: Component target declared 'wayland::wayland-egl'
-- Conan: Component target declared 'wayland::wayland-egl-backend'
-- Conan: Target declared 'wayland::wayland'
-- Conan: Target declared 'expat::expat'
-- Conan: Target declared 'LibXml2::LibXml2'
-- Conan: Including build module from '/home/ubuntu/.conan/data/libxml2/2.12.7///package/4202058494b396b7c173d000abee452f10f90a00/lib/cmake/conan-official-libxml2-variables.cmake'
-- Conan: Target declared 'libffi::libffi'
-- Conan: Component target declared 'xkbcommon::libxkbcommon'
-- Conan: Component target declared 'xkbcommon::libxkbcommon-x11'
-- Conan: Component target declared 'xkbcommon::libxkbregistry'
-- Conan: Component target declared 'xkbcommon::xkbcli-interactive-wayland'
-- Conan: Target declared 'xkbcommon::xkbcommon'
-- Conan: Target declared 'xkeyboard-config::xkeyboard-config'
-- Conan: Target declared 'egl::egl'
-- Conan: Component target declared 'libunwind::unwind'
-- Conan: Component target declared 'libunwind::generic'
-- Conan: Component target declared 'libunwind::ptrace'
-- Conan: Component target declared 'libunwind::setjmp'
-- Conan: Component target declared 'libunwind::coredump'
-- Conan: Target declared 'libunwind::libunwind'
-- Conan: Component target declared 'SDL2_image::SDL2_image'
-- Conan: Target declared 'PNG::PNG'
-- Conan: Target declared 'SDL2_mixer::SDL2_mixer'
-- Conan: Target declared 'tinymidi::tinymidi'
-- Conan: Component target declared 'SDL2_ttf::SDL2_ttf'
-- Conan: Target declared 'sdl_ttf::sdl_ttf'
-- Conan: Target declared 'Freetype::Freetype'
-- Conan: Component target declared 'brotli::brotlicommon'
-- Conan: Component target declared 'brotli::brotlidec'
-- Conan: Component target declared 'brotli::brotlienc'
-- Conan: Target declared 'brotli::brotli'
-- Conan: Including build module from '/home/ubuntu/.conan/data/freetype/2.12.1///package/7d544953cc6cdd1bd06a4e40fc9904c650a37eb2/lib/cmake/conan-official-freetype-variables.cmake'

=====================================
fuzzylite v6.0

FL_CPP98=OFF
FL_USE_FLOAT=OFF
FL_BACKTRACE=ON
FL_LIBS=
FL_INSTALL_BINDIR=bin
FL_INSTALL_LIBDIR=lib
FL_BUILD_TESTS=OFF

CMAKE_BUILD_TYPE=Debug
CMAKE_CXX_COMPILER_ID=GNU
CMAKE_CXX_COMPILER_VERSION=11.4.0
CMAKE_CXX_FLAGS=-pedantic -Wall -Wextra -Wall -Wextra -Wpointer-arith -Wuninitialized -Wmismatched-tags -Wno-unused-parameter -Wno-switch -Wno-reorder -Wno-sign-compare -Wno-varargs -D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection=full
CMAKE_OSX_DEPLOYMENT_TARGET=
COMPILE_DEFINITIONS:
-- Defined: _GLIBCXX_USE_CXX11_ABI=0
-- Defined: VCMI_VERSION_MAJOR=1
-- Defined: VCMI_VERSION_MINOR=5
-- Defined: VCMI_VERSION_PATCH=3
-- Defined: VCMI_VERSION_STRING="1.5.3"
-- Defined: ENABLE_EDITOR
-- Defined: ENABLE_SINGLE_APP_BUILD
-- Defined: ENABLE_GYMCLIENT
-- Defined: DEV_BUILD=1
-- Defined: USE_SYSTEM_MINIZIP
-- Defined: ENABLE_QT_TRANSLATIONS
-- Defined: M_DATA_DIR="/usr/local/share/vcmi"
-- Defined: M_BIN_DIR="/usr/local/bin"
-- Defined: M_LIB_DIR="/usr/local/lib/vcmi"

-- Conan: Target declared 'OpenMP::OpenMP'
-- Caffe2: CUDA detected: 12.2
-- Caffe2: CUDA nvcc is: /usr/local/cuda-12.2/bin/nvcc
-- Caffe2: CUDA toolkit directory: /usr/local/cuda-12.2
-- Caffe2: Header version is: 12.2
-- /usr/local/cuda-12.2/lib64/libnvrtc.so shorthash is 000ca627
-- USE_CUDNN is set to 0. Compiling without cuDNN support
-- USE_CUSPARSELT is set to 0. Compiling without cuSPARSELt support
-- Autodetected CUDA architecture(s): 8.9
-- Added CUDA NVCC flags for: -gencode;arch=compute_89,code=sm_89
CMake Warning at gymclient/libtorch/share/cmake/Torch/TorchConfig.cmake:22 (message):
static library kineto_LIBRARY-NOTFOUND not found.
Call Stack (most recent call first):
gymclient/libtorch/share/cmake/Torch/TorchConfig.cmake:127 (append_torchlib_if_found)
gymclient/CMakeLists.txt:27 (find_package)

CMake Error at gymclient/CMakeLists.txt:31 (target_link_libraries):
Target "vcmiclient" of type EXECUTABLE may not be linked into another
target. One may link only to INTERFACE, OBJECT, STATIC or SHARED
libraries, or to executables with the ENABLE_EXPORTS property set.

@smanolloff
Copy link
Owner

smanolloff commented Jul 12, 2024

Hello!

Please surround console output with triple backtick (```) to make it easier to read.

Sorry for the confusion. There was a lot of work that was not merged into the VCMI branches and it will be easiest if you remove your local copy of vcmi-gym and start over instead (this is because some of the VCMI code was moved into submodules and if you simply try to update your local copy, you might get a weird error).

  1. Remove your existing vcmi-gym clone
  2. Follow the setup steps again
  3. let me know where do you get an error (please format your output as code)

Let's see where that gets you to and we will continue from there.

@elegy112138
Copy link
Author

target_link_libraries(gymclient PUBLIC vcmi vcmiclient)
target_link_libraries(gymclient-gui PRIVATE gymclient)
target_link_libraries(gymclient-headless PRIVATE gymclient) it semms this line。
-- Using Conan toolchain: /home/ubuntu/vcmi-gym/vcmi/conan-generated/conan_toolchain.cmake
-- Conan toolchain: C++ Standard 17 with extensions OFF
-- -- -- Start of VCMI build debug information
-- CMAKE_VERSION: 3.22.1
-- CMAKE_BUILD_TYPE: Debug
-- CMAKE_BINARY_DIR: /home/ubuntu/vcmi-gym/vcmi/rel
-- CMAKE_SOURCE_DIR: /home/ubuntu/vcmi-gym/vcmi
-- CMAKE_MODULE_PATH: /home/ubuntu/vcmi-gym/vcmi/cmake_modules/home/ubuntu/vcmi-gym/vcmi/CI
-- CMAKE_COMMAND: /usr/bin/cmake
-- CMAKE_ROOT: /usr/share/cmake-3.22
-- UNIX: 1 - WIN32: - APPLE:
-- MINGW: - CYGWIN: - MSVC:
-- CMAKE_CXX_COMPILER_ID: GNU
-- CMAKE_CXX_COMPILER_VERSION: 11.4.0
-- CMAKE_C_COMPILER: /usr/bin/cc
-- CMAKE_CXX_COMPILER: /usr/bin/c++
-- CMAKE_SYSTEM: Linux-5.19.0-32-generic
-- CMAKE_SYSTEM_NAME: Linux
-- CMAKE_SYSTEM_VERSION: 5.19.0-32-generic
-- CMAKE_SYSTEM_PROCESSOR: x86_64
-- -- -- End of VCMI build debug information
-- Conan: Target declared 'ZLIB::ZLIB'
-- Conan: Target declared 'minizip::minizip'
-- Conan: Target declared 'BZip2::BZip2'
-- Conan: Including build module from '/home/ubuntu/.conan/data/bzip2/1.0.8///package/c32092bf4d4bb47cf962af898e02823f499b017e/lib/cmake/conan-official-bzip2-variables.cmake'
-- Conan: Component target declared 'ffmpeg::avutil'
-- Conan: Component target declared 'ffmpeg::avcodec'
-- Conan: Component target declared 'ffmpeg::swscale'
-- Conan: Component target declared 'ffmpeg::avformat'
-- Conan: Component target declared 'ffmpeg::avdevice'
-- Conan: Target declared 'ffmpeg::ffmpeg'
-- Conan: Target declared 'ALSA::ALSA'
-- Conan: Component target declared 'xorg::x11'
-- Conan: Component target declared 'xorg::x11-xcb'
-- Conan: Component target declared 'xorg::fontenc'
-- Conan: Component target declared 'xorg::ice'
-- Conan: Component target declared 'xorg::xau'
-- Conan: Component target declared 'xorg::xaw7'
-- Conan: Component target declared 'xorg::xcomposite'
-- Conan: Component target declared 'xorg::xcursor'
-- Conan: Component target declared 'xorg::xdamage'
-- Conan: Component target declared 'xorg::xdmcp'
-- Conan: Component target declared 'xorg::xext'
-- Conan: Component target declared 'xorg::xfixes'
-- Conan: Component target declared 'xorg::xi'
-- Conan: Component target declared 'xorg::xinerama'
-- Conan: Component target declared 'xorg::xkbfile'
-- Conan: Component target declared 'xorg::xmu'
-- Conan: Component target declared 'xorg::xmuu'
-- Conan: Component target declared 'xorg::xpm'
-- Conan: Component target declared 'xorg::xrandr'
-- Conan: Component target declared 'xorg::xrender'
-- Conan: Component target declared 'xorg::xres'
-- Conan: Component target declared 'xorg::xscrnsaver'
-- Conan: Component target declared 'xorg::xt'
-- Conan: Component target declared 'xorg::xtst'
-- Conan: Component target declared 'xorg::xv'
-- Conan: Component target declared 'xorg::xxf86vm'
-- Conan: Component target declared 'xorg::xcb-xkb'
-- Conan: Component target declared 'xorg::xcb-icccm'
-- Conan: Component target declared 'xorg::xcb-image'
-- Conan: Component target declared 'xorg::xcb-keysyms'
-- Conan: Component target declared 'xorg::xcb-randr'
-- Conan: Component target declared 'xorg::xcb-render'
-- Conan: Component target declared 'xorg::xcb-renderutil'
-- Conan: Component target declared 'xorg::xcb-shape'
-- Conan: Component target declared 'xorg::xcb-shm'
-- Conan: Component target declared 'xorg::xcb-sync'
-- Conan: Component target declared 'xorg::xcb-xfixes'
-- Conan: Component target declared 'xorg::xcb-xinerama'
-- Conan: Component target declared 'xorg::xcb'
-- Conan: Component target declared 'xorg::xcb-atom'
-- Conan: Component target declared 'xorg::xcb-aux'
-- Conan: Component target declared 'xorg::xcb-event'
-- Conan: Component target declared 'xorg::xcb-util'
-- Conan: Component target declared 'xorg::xcb-dri3'
-- Conan: Component target declared 'xorg::xcb-cursor'
-- Conan: Component target declared 'xorg::xcb-dri2'
-- Conan: Component target declared 'xorg::xcb-glx'
-- Conan: Component target declared 'xorg::xcb-present'
-- Conan: Component target declared 'xorg::xcb-composite'
-- Conan: Component target declared 'xorg::xcb-ewmh'
-- Conan: Component target declared 'xorg::xcb-res'
-- Conan: Component target declared 'xorg::uuid'
-- Conan: Component target declared 'xorg::sm'
-- Conan: Target declared 'xorg::xorg'
-- Conan: Component target declared 'pulseaudio::pulse'
-- Conan: Component target declared 'pulseaudio::pulse-simple'
-- Conan: Target declared 'pulseaudio::pulseaudio'
-- Conan: Target declared 'Iconv::Iconv'
-- Conan: Component target declared 'SndFile::sndfile'
-- Conan: Component target declared 'Ogg::ogg'
-- Conan: Component target declared 'Vorbis::vorbis'
-- Conan: Component target declared 'Vorbis::vorbisenc'
-- Conan: Component target declared 'Vorbis::vorbisfile'
-- Conan: Component target declared 'vorbis::vorbisenc-alias'
-- Conan: Component target declared 'vorbis::vorbisfile-alias'
-- Conan: Target declared 'vorbis::vorbis'
-- Conan: Component target declared 'FLAC::FLAC'
-- Conan: Component target declared 'FLAC::FLAC++'
-- Conan: Target declared 'flac::flac'
-- Conan: Component target declared 'Opus::opus'
-- Conan: Component target declared 'MPG123::libmpg123'
-- Conan: Component target declared 'MPG123::libout123'
-- Conan: Component target declared 'MPG123::libsyn123'
-- Conan: Target declared 'mpg123::mpg123'
-- Conan: Target declared 'libmp3lame::libmp3lame'
-- Conan: Component target declared 'libcap::cap'
-- Conan: Target declared 'libcap::libcap'
-- Conan: Target declared 'libtool::libtool'
-- Conan: Target declared 'automake::automake'
-- Conan: Target declared 'autoconf::autoconf'
-- Conan: Target declared 'm4::m4'
-- Conan: Component target declared 'OpenSSL::Crypto'
-- Conan: Component target declared 'OpenSSL::SSL'
-- Conan: Target declared 'openssl::openssl'
-- Conan: Including build module from '/home/ubuntu/.conan/data/openssl/1.1.1s///package/dfbe50feef7f3c6223a476cd5aeadb687084a646/lib/cmake/conan-official-openssl-variables.cmake'
-- Conan: Target declared 'LibLZMA::LibLZMA'
-- Conan: Including build module from '/home/ubuntu/.conan/data/xz_utils/5.4.5///package/dfbe50feef7f3c6223a476cd5aeadb687084a646/lib/cmake/conan-official-xz_utils-variables.cmake'
-- Conan: Target declared 'libaom-av1::libaom-av1'
-- Conan: Target declared 'dav1d::dav1d'
-- Conan: Component target declared 'vaapi::libva'
-- Conan: Component target declared 'vaapi::libva-x11'
-- Conan: Component target declared 'vaapi::libva-drm'
-- Conan: Target declared 'vaapi::vaapi'
-- Conan: Target declared 'vdpau::vdpau'
-- Conan: Component target declared 'SDL2::SDL2'
-- Conan: Component target declared 'SDL2::SDL2main'
-- Conan: Target declared 'opengl::opengl'
-- Conan: Component target declared 'wayland::wayland-scanner'
-- Conan: Component target declared 'wayland::wayland-server'
-- Conan: Component target declared 'wayland::wayland-client'
-- Conan: Component target declared 'wayland::wayland-cursor'
-- Conan: Component target declared 'wayland::wayland-egl'
-- Conan: Component target declared 'wayland::wayland-egl-backend'
-- Conan: Target declared 'wayland::wayland'
-- Conan: Target declared 'expat::expat'
-- Conan: Target declared 'LibXml2::LibXml2'
-- Conan: Including build module from '/home/ubuntu/.conan/data/libxml2/2.12.7///package/4202058494b396b7c173d000abee452f10f90a00/lib/cmake/conan-official-libxml2-variables.cmake'
-- Conan: Target declared 'libffi::libffi'
-- Conan: Component target declared 'xkbcommon::libxkbcommon'
-- Conan: Component target declared 'xkbcommon::libxkbcommon-x11'
-- Conan: Component target declared 'xkbcommon::libxkbregistry'
-- Conan: Component target declared 'xkbcommon::xkbcli-interactive-wayland'
-- Conan: Target declared 'xkbcommon::xkbcommon'
-- Conan: Target declared 'xkeyboard-config::xkeyboard-config'
-- Conan: Target declared 'egl::egl'
-- Conan: Component target declared 'libunwind::unwind'
-- Conan: Component target declared 'libunwind::generic'
-- Conan: Component target declared 'libunwind::ptrace'
-- Conan: Component target declared 'libunwind::setjmp'
-- Conan: Component target declared 'libunwind::coredump'
-- Conan: Target declared 'libunwind::libunwind'
-- Conan: Component target declared 'SDL2_image::SDL2_image'
-- Conan: Target declared 'PNG::PNG'
-- Conan: Target declared 'SDL2_mixer::SDL2_mixer'
-- Conan: Target declared 'tinymidi::tinymidi'
-- Conan: Component target declared 'SDL2_ttf::SDL2_ttf'
-- Conan: Target declared 'sdl_ttf::sdl_ttf'
-- Conan: Target declared 'Freetype::Freetype'
-- Conan: Component target declared 'brotli::brotlicommon'
-- Conan: Component target declared 'brotli::brotlidec'
-- Conan: Component target declared 'brotli::brotlienc'
-- Conan: Target declared 'brotli::brotli'
-- Conan: Including build module from '/home/ubuntu/.conan/data/freetype/2.12.1///package/7d544953cc6cdd1bd06a4e40fc9904c650a37eb2/lib/cmake/conan-official-freetype-variables.cmake'

=====================================
fuzzylite v6.0

FL_CPP98=OFF
FL_USE_FLOAT=OFF
FL_BACKTRACE=ON
FL_LIBS=
FL_INSTALL_BINDIR=bin
FL_INSTALL_LIBDIR=lib
FL_BUILD_TESTS=OFF

CMAKE_BUILD_TYPE=Debug
CMAKE_CXX_COMPILER_ID=GNU
CMAKE_CXX_COMPILER_VERSION=11.4.0
CMAKE_CXX_FLAGS=-pedantic -Wall -Wextra -Wall -Wextra -Wpointer-arith -Wuninitialized -Wmismatched-tags -Wno-unused-parameter -Wno-switch -Wno-reorder -Wno-sign-compare -Wno-varargs -D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection=full
CMAKE_OSX_DEPLOYMENT_TARGET=
COMPILE_DEFINITIONS:
-- Defined: _GLIBCXX_USE_CXX11_ABI=0
-- Defined: VCMI_VERSION_MAJOR=1
-- Defined: VCMI_VERSION_MINOR=5
-- Defined: VCMI_VERSION_PATCH=3
-- Defined: VCMI_VERSION_STRING="1.5.3"
-- Defined: ENABLE_EDITOR
-- Defined: ENABLE_SINGLE_APP_BUILD
-- Defined: ENABLE_GYMCLIENT
-- Defined: DEV_BUILD=1
-- Defined: USE_SYSTEM_MINIZIP
-- Defined: ENABLE_QT_TRANSLATIONS
-- Defined: M_DATA_DIR="/usr/local/share/vcmi"
-- Defined: M_BIN_DIR="/usr/local/bin"
-- Defined: M_LIB_DIR="/usr/local/lib/vcmi"
-- Conan: Target declared 'OpenMP::OpenMP'
-- Caffe2: CUDA detected: 12.2
-- Caffe2: CUDA nvcc is: /usr/local/cuda-12.2/bin/nvcc
-- Caffe2: CUDA toolkit directory: /usr/local/cuda-12.2
-- Caffe2: Header version is: 12.2
-- /usr/local/cuda-12.2/lib64/libnvrtc.so shorthash is 000ca627
-- USE_CUDNN is set to 0. Compiling without cuDNN support
-- USE_CUSPARSELT is set to 0. Compiling without cuSPARSELt support
-- Autodetected CUDA architecture(s): 8.9
-- Added CUDA NVCC flags for: -gencode;arch=compute_89,code=sm_89
CMake Warning at gymclient/libtorch/share/cmake/Torch/TorchConfig.cmake:22 (message):
static library kineto_LIBRARY-NOTFOUND not found.
Call Stack (most recent call first):
gymclient/libtorch/share/cmake/Torch/TorchConfig.cmake:127 (append_torchlib_if_found)
gymclient/CMakeLists.txt:27 (find_package)

CMake Error at gymclient/CMakeLists.txt:31 (target_link_libraries):
Target "vcmiclient" of type EXECUTABLE may not be linked into another
target. One may link only to INTERFACE, OBJECT, STATIC or SHARED
libraries, or to executables with the ENABLE_EXPORTS property set.

These are my console outputs. I have pulled the latest code, but I am still getting compilation errors. My system is Ubuntu.

@smanolloff
Copy link
Owner

smanolloff commented Jul 15, 2024

To me it looks like you have some old cached cmake build files. There is no gymclient binary anymore -- it was renamed recently, so it's cached from an old build, but cannot be built anymore. This is why I asked you to follow step 1. from my comment above ("Remove your existing vcmi-gym clone", i.e. rm -rf /home/ubuntu/vcmi-gym) and start over. If you do not wish to do this, then remove your old build files with rm -rf /home/ubuntu/vcmi-gym/vcmi/rel and then try executing the cmake commands again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants