Closed andoalon closed 2 years ago
Because you are not using any "glue like" conan generator (legacy: cmake
or cmake_paths
, modern: CMakeToolchain
), you're on your own here.
Try to prepend ${PROJECT_BINARY_DIR}/.conan/modules
in CMAKE_MODULE_PATH
instead of append (otherwise https://cmake.org/cmake/help/latest/module/FindEXPAT.html takes precedence over FindEXPAT.cmake generated by cmake_find_package, and since you have not properly defined CMAKE_PREFIX_PATH
, expat libs dirs & include dirs from conan are not discoverable by https://cmake.org/cmake/help/latest/module/FindEXPAT.html).
First of all, thank you, I wasn't aware of https://cmake.org/cmake/help/latest/module/FindEXPAT.html.
I tried using cmake_paths
, it didn't work. But the issue was indeed that conan's FindEXPAT.cmake
wasn't being selected. I figured out that since I'm also using set(CMAKE_FIND_PACKAGE_PREFER_CONFIG TRUE)
that somehow causes cmake to select another find module. Fair enough. I don't get affected by this when using cmake_find_package_multi
or CMakeDeps
since they both generate "config" files and not "module" files.
Is there anything stopping me from just replacing cmake_find_package
/cmake_find_package_multi
with CMakeDeps
(apart from it still being experimental)? Adopting CMakeToolchain
seems to be more work since I would need to run conan before cmake I guess (right now I run conan from cmake), but CMakeDeps
seems to be a pretty much drop-in replacement for cmake_find_package
/cmake_find_package_multi
. If that's the case I'll just sart using it and be happy 😄
@andoalon both CMakeToolchain
and CMakeDeps
are experimental because they can change, in case some big problem is found, however, they are stable. Also, the will be the only option on Conan 2.0. Consider migrating, because both cmake_find_package
/multi
will be deprecated on Conan 2.0.
Will do, thank you very much
Package and Environment Details
Conan profile
Steps to reproduce
conanfile.txt
:Run
conan install ./conanfile.txt --install-folder ./build-gcc/.conan/modules --generator cmake_find_package --build missing -pr:h bug-report -pr:b bug-report
(output in the "Logs" section)CMakeLists.txt
:Run
cmake . -B build-gcc -G "Ninja" -DCMAKE_BUILD_TYPE=Debug
(output in the "Logs" section)Configuring fails.
NOTE: if I replace
--generator cmake_find_package
with--generator CMakeDeps
when runningconan install
, then the issues disappears and CMake configuration succeeds.Question: is there any downside to using CMakeDeps instead of cmake_find_package/cmake_find_package_multi? It seems to be a drop-in replacement 🤔
My guess is that the issue has something to do with how
expat
seems to choose slightly different names depending on the generator: https://github.com/conan-io/conan-center-index/blob/1b6b496fe9a9be4714f8a0db45274c29b0314fe3/recipes/expat/all/conanfile.py#L102-L110 (by looking at the generated files it seems target forexpat
ends up being calledexpat::expat
, in lowercase)Expat is used by
wayland-scanner
from thewayland
package: https://github.com/conan-io/conan-center-index/blob/1b6b496fe9a9be4714f8a0db45274c29b0314fe3/recipes/wayland/all/conanfile.py#L120 (used by sdl)Logs
Click to expand log (conan install)
``` Configuration (profile_host): [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=gcc compiler.cppstd=17 compiler.libcxx=libstdc++11 compiler.version=11 os=Linux os_build=Linux [options] [build_requires] [env] Configuration (profile_build): [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=gcc compiler.cppstd=17 compiler.libcxx=libstdc++11 compiler.version=11 os=Linux os_build=Linux [options] [build_requires] [env] conanfile.txt: Installing package Requirements autoconf/2.71 from 'conancenter' - Cache automake/1.16.5 from 'conancenter' - Cache egl/system from 'conancenter' - Cache expat/2.4.8 from 'conancenter' - Cache flac/1.3.3 from 'conancenter' - Cache libalsa/1.2.7.2 from 'conancenter' - Cache libcap/2.65 from 'conancenter' - Cache libffi/3.4.2 from 'conancenter' - Cache libiconv/1.17 from 'conancenter' - Cache libsndfile/1.0.31 from 'conancenter' - Cache libtool/2.4.7 from 'conancenter' - Cache libunwind/1.6.2 from 'conancenter' - Cache libxml2/2.9.14 from 'conancenter' - Cache m4/1.4.19 from 'conancenter' - Cache nas/1.9.4 from 'conancenter' - Cache ogg/1.3.5 from 'conancenter' - Cache opengl/system from 'conancenter' - Cache openssl/1.1.1q from 'conancenter' - Cache opus/1.3.1 from 'conancenter' - Cache pulseaudio/14.2 from 'conancenter' - Cache sdl/2.24.0 from 'conancenter' - Cache vorbis/1.3.7 from 'conancenter' - Cache wayland/1.21.0 from 'conancenter' - Cache wayland-protocols/1.26 from 'conancenter' - Cache xkbcommon/1.4.1 from 'conancenter' - Cache xorg/system from 'conancenter' - Cache xz_utils/5.2.5 from 'conancenter' - Cache zlib/1.2.12 from 'conancenter' - Cache Packages autoconf/2.71:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache automake/1.16.5:258f6f05ca54813b3d7180161753df7f9ccf7e1d - Cache egl/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache expat/2.4.8:3242ee86fec793e7767fb97cb42848d950351d05 - Cache flac/1.3.3:6fcf6960460542c7fdde3a0e833dcab7c6b74792 - Cache libalsa/1.2.7.2:537964df6f37aee2c819b0357cf959e6cd7ed719 - Cache libcap/2.65:be27726f9885116da1158027505be62e913cd585 - Cache libffi/3.4.2:be27726f9885116da1158027505be62e913cd585 - Cache libiconv/1.17:be27726f9885116da1158027505be62e913cd585 - Cache libsndfile/1.0.31:9f2cff4ee788b8f6296c3d52a9f9c91860320da7 - Cache libtool/2.4.7:79d9312ce075a12a4cdbcd7671238b637dfef375 - Cache libunwind/1.6.2:b07013624064ea6737f9e543381918f5f1443d80 - Cache libxml2/2.9.14:668e0becb962aa20bfdc03e0659881cddcac57bb - Cache m4/1.4.19:cc9f9b2b9f92fc82888026414560bf79d8c3a052 - Cache nas/1.9.4:7b8119f799495467a0d5c6f7cde9b32460d52573 - Cache ogg/1.3.5:be27726f9885116da1158027505be62e913cd585 - Cache opengl/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache openssl/1.1.1q:be27726f9885116da1158027505be62e913cd585 - Cache opus/1.3.1:be27726f9885116da1158027505be62e913cd585 - Cache pulseaudio/14.2:2d763801856e87119e0225bb13c930a878ef6df1 - Cache sdl/2.24.0:f979c8843a48120edb17c48bfa38efb90eb4cdd6 - Cache vorbis/1.3.7:9873309305b7b5d5985fa4c7c60705659ade6fe6 - Cache wayland/1.21.0:80005ee34d2869de5a771d2ae3ed205ad546e215 - Cache wayland-protocols/1.26:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache xkbcommon/1.4.1:c55590790572170de93eedec14b0765657eec6e7 - Cache xorg/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache xz_utils/5.2.5:be27726f9885116da1158027505be62e913cd585 - Cache zlib/1.2.12:be27726f9885116da1158027505be62e913cd585 - Cache Installing (downloading, building) binaries... egl/system: Already installed! expat/2.4.8: Already installed! libalsa/1.2.7.2: Already installed! libcap/2.65: Already installed! libffi/3.4.2: Already installed! libiconv/1.17: Already installed! libiconv/1.17: Appending PATH environment var: /home/andoalon/.conan/data/libiconv/1.17/_/_/package/be27726f9885116da1158027505be62e913cd585/bin m4/1.4.19: Already installed! m4/1.4.19: Appending PATH environment variable: /home/andoalon/.conan/data/m4/1.4.19/_/_/package/cc9f9b2b9f92fc82888026414560bf79d8c3a052/bin m4/1.4.19: Setting M4 environment variable: /home/andoalon/.conan/data/m4/1.4.19/_/_/package/cc9f9b2b9f92fc82888026414560bf79d8c3a052/bin/m4 ogg/1.3.5: Already installed! opengl/system: Already installed! openssl/1.1.1q: Already installed! opus/1.3.1: Already installed! wayland-protocols/1.26: Already installed! xorg/system: Already installed! xz_utils/5.2.5: Already installed! zlib/1.2.12: Already installed! autoconf/2.71: Already installed! autoconf/2.71: Appending PATH env var with : /home/andoalon/.conan/data/autoconf/2.71/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin autoconf/2.71: Setting AC_MACRODIR to /home/andoalon/.conan/data/autoconf/2.71/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin/share/autoconf autoconf/2.71: Setting AUTOCONF to /home/andoalon/.conan/data/autoconf/2.71/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin/autoconf autoconf/2.71: Setting AUTORECONF to /home/andoalon/.conan/data/autoconf/2.71/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin/autoreconf autoconf/2.71: Setting AUTOHEADER to /home/andoalon/.conan/data/autoconf/2.71/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin/autoheader autoconf/2.71: Setting AUTOM4TE to /home/andoalon/.conan/data/autoconf/2.71/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin/autom4te autoconf/2.71: Setting AUTOM4TE_PERLLIBDIR to /home/andoalon/.conan/data/autoconf/2.71/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin/share/autoconf flac/1.3.3: Already installed! flac/1.3.3: Appending PATH environment variable: /home/andoalon/.conan/data/flac/1.3.3/_/_/package/6fcf6960460542c7fdde3a0e833dcab7c6b74792/bin libunwind/1.6.2: Already installed! libxml2/2.9.14: Already installed! libxml2/2.9.14: Appending PATH environment variable: /home/andoalon/.conan/data/libxml2/2.9.14/_/_/package/668e0becb962aa20bfdc03e0659881cddcac57bb/bin nas/1.9.4: Already installed! nas/1.9.4: Appending PATH environment variable: /home/andoalon/.conan/data/nas/1.9.4/_/_/package/7b8119f799495467a0d5c6f7cde9b32460d52573/bin vorbis/1.3.7: Already installed! automake/1.16.5: Already installed! automake/1.16.5: Appending PATH environment variable:: /home/andoalon/.conan/data/automake/1.16.5/_/_/package/258f6f05ca54813b3d7180161753df7f9ccf7e1d/bin automake/1.16.5: Appending ACLOCAL environment variable with: /home/andoalon/.conan/data/automake/1.16.5/_/_/package/258f6f05ca54813b3d7180161753df7f9ccf7e1d/bin/aclocal automake/1.16.5: Setting AUTOMAKE_DATADIR to /home/andoalon/.conan/data/automake/1.16.5/_/_/package/258f6f05ca54813b3d7180161753df7f9ccf7e1d/res automake/1.16.5: Setting AUTOMAKE_LIBDIR to /home/andoalon/.conan/data/automake/1.16.5/_/_/package/258f6f05ca54813b3d7180161753df7f9ccf7e1d/res/automake-1.16 automake/1.16.5: Setting AUTOMAKE_PERLLIBDIR to /home/andoalon/.conan/data/automake/1.16.5/_/_/package/258f6f05ca54813b3d7180161753df7f9ccf7e1d/res/automake-1.16 automake/1.16.5: Setting AUTOMAKE to /home/andoalon/.conan/data/automake/1.16.5/_/_/package/258f6f05ca54813b3d7180161753df7f9ccf7e1d/bin/automake automake/1.16.5: Append M4 include directories to AUTOMAKE_CONAN_INCLUDES environment variable libsndfile/1.0.31: Already installed! libsndfile/1.0.31: Appending PATH environment variable: /home/andoalon/.conan/data/libsndfile/1.0.31/_/_/package/9f2cff4ee788b8f6296c3d52a9f9c91860320da7/bin wayland/1.21.0: Already installed! wayland/1.21.0: Appending PATH environment variable: /home/andoalon/.conan/data/wayland/1.21.0/_/_/package/80005ee34d2869de5a771d2ae3ed205ad546e215/bin wayland/1.21.0: Appending PATH environment variable: /home/andoalon/.conan/data/wayland/1.21.0/_/_/package/80005ee34d2869de5a771d2ae3ed205ad546e215/bin libtool/2.4.7: Already installed! libtool/2.4.7: Appending PATH env: /home/andoalon/.conan/data/libtool/2.4.7/_/_/package/79d9312ce075a12a4cdbcd7671238b637dfef375/bin libtool/2.4.7: Setting LIBTOOLIZE env to /home/andoalon/.conan/data/libtool/2.4.7/_/_/package/79d9312ce075a12a4cdbcd7671238b637dfef375/bin/libtoolize libtool/2.4.7: Setting LIBTOOL_PREFIX environment variable to /home/andoalon/.conan/data/libtool/2.4.7/_/_/package/79d9312ce075a12a4cdbcd7671238b637dfef375 libtool/2.4.7: Setting LIBTOOL_DATADIR environment variable to /home/andoalon/.conan/data/libtool/2.4.7/_/_/package/79d9312ce075a12a4cdbcd7671238b637dfef375/res libtool/2.4.7: Setting LIBTOOL_PKGAUXDIR environment variable to /home/andoalon/.conan/data/libtool/2.4.7/_/_/package/79d9312ce075a12a4cdbcd7671238b637dfef375/res/libtool/build-aux libtool/2.4.7: Setting LIBTOOL_PKGLTDLDIR environment variable to /home/andoalon/.conan/data/libtool/2.4.7/_/_/package/79d9312ce075a12a4cdbcd7671238b637dfef375/res/libtool libtool/2.4.7: Setting LIBTOOL_ACLOCALDIR environment variable to /home/andoalon/.conan/data/libtool/2.4.7/_/_/package/79d9312ce075a12a4cdbcd7671238b637dfef375/res/aclocal libtool/2.4.7: Appending ACLOCAL_PATH env: /home/andoalon/.conan/data/libtool/2.4.7/_/_/package/79d9312ce075a12a4cdbcd7671238b637dfef375/res/aclocal libtool/2.4.7: Appending AUTOMAKE_CONAN_INCLUDES environment variable: /home/andoalon/.conan/data/libtool/2.4.7/_/_/package/79d9312ce075a12a4cdbcd7671238b637dfef375/res/aclocal xkbcommon/1.4.1: Already installed! xkbcommon/1.4.1: Appending PATH environment variable: /home/andoalon/.conan/data/xkbcommon/1.4.1/_/_/package/c55590790572170de93eedec14b0765657eec6e7/bin pulseaudio/14.2: Already installed! sdl/2.24.0: Already installed! conanfile.txt: Generator txt created conanbuildinfo.txt conanfile.txt: Generator cmake_find_package created FindSDL2.cmake conanfile.txt: Generator cmake_find_package created Findpulseaudio.cmake conanfile.txt: Generator cmake_find_package created Findopengl_system.cmake conanfile.txt: Generator cmake_find_package created Findnas.cmake conanfile.txt: Generator cmake_find_package created Findxkbcommon.cmake conanfile.txt: Generator cmake_find_package created Findegl_system.cmake conanfile.txt: Generator cmake_find_package created Findlibunwind.cmake conanfile.txt: Generator cmake_find_package created FindALSA.cmake conanfile.txt: Generator cmake_find_package created FindSndFile.cmake conanfile.txt: Generator cmake_find_package created Findlibcap.cmake conanfile.txt: Generator cmake_find_package created Findlibtool.cmake conanfile.txt: Generator cmake_find_package created Findxorg.cmake conanfile.txt: Generator cmake_find_package created FindOpenSSL.cmake conanfile.txt: Generator cmake_find_package created Findwayland.cmake conanfile.txt: Generator cmake_find_package created Findwayland-protocols.cmake conanfile.txt: Generator cmake_find_package created FindLibLZMA.cmake conanfile.txt: Generator cmake_find_package created FindVorbis.cmake conanfile.txt: Generator cmake_find_package created Findflac.cmake conanfile.txt: Generator cmake_find_package created FindOpus.cmake conanfile.txt: Generator cmake_find_package created Findautomake.cmake conanfile.txt: Generator cmake_find_package created Findlibffi.cmake conanfile.txt: Generator cmake_find_package created FindLibXml2.cmake conanfile.txt: Generator cmake_find_package created FindEXPAT.cmake conanfile.txt: Generator cmake_find_package created FindIconv.cmake conanfile.txt: Generator cmake_find_package created FindOgg.cmake conanfile.txt: Generator cmake_find_package created Findautoconf.cmake conanfile.txt: Generator cmake_find_package created FindZLIB.cmake conanfile.txt: Generator cmake_find_package created Findm4.cmake conanfile.txt: Aggregating env generators conanfile.txt: Generated conaninfo.txt conanfile.txt: Generated graphinfo ```Click here to expand the logs (cmake run)
``` -- The CXX compiler identification is GNU 11.2.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: Using autogenerated FindSDL2.cmake -- Found SDL2: 2.24.0 (found version "2.24.0") -- Library SDL2d found /home/andoalon/.conan/data/sdl/2.24.0/_/_/package/f979c8843a48120edb17c48bfa38efb90eb4cdd6/lib/libSDL2d.a -- Found: /home/andoalon/.conan/data/sdl/2.24.0/_/_/package/f979c8843a48120edb17c48bfa38efb90eb4cdd6/lib/libSDL2d.a -- Conan: Using autogenerated FindIconv.cmake -- Found Iconv: 1.17 (found version "1.17") -- Library iconv found /home/andoalon/.conan/data/libiconv/1.17/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libiconv.a -- Found: /home/andoalon/.conan/data/libiconv/1.17/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libiconv.a -- Library charset found /home/andoalon/.conan/data/libiconv/1.17/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libcharset.a -- Found: /home/andoalon/.conan/data/libiconv/1.17/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libcharset.a -- Conan: Using autogenerated FindALSA.cmake -- Found ALSA: 1.2.7.2 (found version "1.2.7.2") -- Library asound found /home/andoalon/.conan/data/libalsa/1.2.7.2/_/_/package/537964df6f37aee2c819b0357cf959e6cd7ed719/lib/libasound.a -- Found: /home/andoalon/.conan/data/libalsa/1.2.7.2/_/_/package/537964df6f37aee2c819b0357cf959e6cd7ed719/lib/libasound.a -- Conan: Using autogenerated Findpulseaudio.cmake -- Found pulseaudio: 14.2 (found version "14.2") -- Library pulse-simple found /home/andoalon/.conan/data/pulseaudio/14.2/_/_/package/2d763801856e87119e0225bb13c930a878ef6df1/lib/libpulse-simple.a -- Found: /home/andoalon/.conan/data/pulseaudio/14.2/_/_/package/2d763801856e87119e0225bb13c930a878ef6df1/lib/libpulse-simple.a -- Library pulse found /home/andoalon/.conan/data/pulseaudio/14.2/_/_/package/2d763801856e87119e0225bb13c930a878ef6df1/lib/libpulse.a -- Found: /home/andoalon/.conan/data/pulseaudio/14.2/_/_/package/2d763801856e87119e0225bb13c930a878ef6df1/lib/libpulse.a -- Library pulsecommon-14.2 found /home/andoalon/.conan/data/pulseaudio/14.2/_/_/package/2d763801856e87119e0225bb13c930a878ef6df1/lib/pulseaudio/libpulsecommon-14.2.a -- Found: /home/andoalon/.conan/data/pulseaudio/14.2/_/_/package/2d763801856e87119e0225bb13c930a878ef6df1/lib/pulseaudio/libpulsecommon-14.2.a -- Conan: Dependency Iconv already found -- Conan: Using autogenerated FindSndFile.cmake -- Found SndFile: 1.0.31 (found version "1.0.31") -- Library sndfile found /home/andoalon/.conan/data/libsndfile/1.0.31/_/_/package/9f2cff4ee788b8f6296c3d52a9f9c91860320da7/lib/libsndfile.a -- Found: /home/andoalon/.conan/data/libsndfile/1.0.31/_/_/package/9f2cff4ee788b8f6296c3d52a9f9c91860320da7/lib/libsndfile.a -- Conan: Using autogenerated FindOgg.cmake -- Found Ogg: 1.3.5 (found version "1.3.5") -- Library ogg found /home/andoalon/.conan/data/ogg/1.3.5/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libogg.a -- Found: /home/andoalon/.conan/data/ogg/1.3.5/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libogg.a -- Library ogg found /home/andoalon/.conan/data/ogg/1.3.5/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libogg.a -- Found: /home/andoalon/.conan/data/ogg/1.3.5/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libogg.a -- Conan: Using autogenerated FindVorbis.cmake -- Found Vorbis: 1.3.7 (found version "1.3.7") -- Library vorbisenc found /home/andoalon/.conan/data/vorbis/1.3.7/_/_/package/9873309305b7b5d5985fa4c7c60705659ade6fe6/lib/libvorbisenc.a -- Found: /home/andoalon/.conan/data/vorbis/1.3.7/_/_/package/9873309305b7b5d5985fa4c7c60705659ade6fe6/lib/libvorbisenc.a -- Library vorbisfile found /home/andoalon/.conan/data/vorbis/1.3.7/_/_/package/9873309305b7b5d5985fa4c7c60705659ade6fe6/lib/libvorbisfile.a -- Found: /home/andoalon/.conan/data/vorbis/1.3.7/_/_/package/9873309305b7b5d5985fa4c7c60705659ade6fe6/lib/libvorbisfile.a -- Library vorbis found /home/andoalon/.conan/data/vorbis/1.3.7/_/_/package/9873309305b7b5d5985fa4c7c60705659ade6fe6/lib/libvorbis.a -- Found: /home/andoalon/.conan/data/vorbis/1.3.7/_/_/package/9873309305b7b5d5985fa4c7c60705659ade6fe6/lib/libvorbis.a -- Conan: Dependency Ogg already found -- Library vorbis found /home/andoalon/.conan/data/vorbis/1.3.7/_/_/package/9873309305b7b5d5985fa4c7c60705659ade6fe6/lib/libvorbis.a -- Found: /home/andoalon/.conan/data/vorbis/1.3.7/_/_/package/9873309305b7b5d5985fa4c7c60705659ade6fe6/lib/libvorbis.a -- Library vorbisfile found /home/andoalon/.conan/data/vorbis/1.3.7/_/_/package/9873309305b7b5d5985fa4c7c60705659ade6fe6/lib/libvorbisfile.a -- Found: /home/andoalon/.conan/data/vorbis/1.3.7/_/_/package/9873309305b7b5d5985fa4c7c60705659ade6fe6/lib/libvorbisfile.a -- Library vorbisenc found /home/andoalon/.conan/data/vorbis/1.3.7/_/_/package/9873309305b7b5d5985fa4c7c60705659ade6fe6/lib/libvorbisenc.a -- Found: /home/andoalon/.conan/data/vorbis/1.3.7/_/_/package/9873309305b7b5d5985fa4c7c60705659ade6fe6/lib/libvorbisenc.a -- Conan: Dependency Vorbis already found -- Conan: Using autogenerated Findflac.cmake -- Found flac: 1.3.3 (found version "1.3.3") -- Library FLAC++ found /home/andoalon/.conan/data/flac/1.3.3/_/_/package/6fcf6960460542c7fdde3a0e833dcab7c6b74792/lib/libFLAC++.a -- Found: /home/andoalon/.conan/data/flac/1.3.3/_/_/package/6fcf6960460542c7fdde3a0e833dcab7c6b74792/lib/libFLAC++.a -- Library FLAC found /home/andoalon/.conan/data/flac/1.3.3/_/_/package/6fcf6960460542c7fdde3a0e833dcab7c6b74792/lib/libFLAC.a -- Found: /home/andoalon/.conan/data/flac/1.3.3/_/_/package/6fcf6960460542c7fdde3a0e833dcab7c6b74792/lib/libFLAC.a -- Conan: Dependency Ogg already found -- Library FLAC found /home/andoalon/.conan/data/flac/1.3.3/_/_/package/6fcf6960460542c7fdde3a0e833dcab7c6b74792/lib/libFLAC.a -- Found: /home/andoalon/.conan/data/flac/1.3.3/_/_/package/6fcf6960460542c7fdde3a0e833dcab7c6b74792/lib/libFLAC.a -- Library FLAC++ found /home/andoalon/.conan/data/flac/1.3.3/_/_/package/6fcf6960460542c7fdde3a0e833dcab7c6b74792/lib/libFLAC++.a -- Found: /home/andoalon/.conan/data/flac/1.3.3/_/_/package/6fcf6960460542c7fdde3a0e833dcab7c6b74792/lib/libFLAC++.a -- Conan: Using autogenerated FindOpus.cmake -- Found Opus: 1.3.1 (found version "1.3.1") -- Library opus found /home/andoalon/.conan/data/opus/1.3.1/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libopus.a -- Found: /home/andoalon/.conan/data/opus/1.3.1/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libopus.a -- Library opus found /home/andoalon/.conan/data/opus/1.3.1/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libopus.a -- Found: /home/andoalon/.conan/data/opus/1.3.1/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libopus.a -- Library sndfile found /home/andoalon/.conan/data/libsndfile/1.0.31/_/_/package/9f2cff4ee788b8f6296c3d52a9f9c91860320da7/lib/libsndfile.a -- Found: /home/andoalon/.conan/data/libsndfile/1.0.31/_/_/package/9f2cff4ee788b8f6296c3d52a9f9c91860320da7/lib/libsndfile.a -- Conan: Using autogenerated Findlibcap.cmake -- Found libcap: 2.65 (found version "2.65") -- Library cap found /home/andoalon/.conan/data/libcap/2.65/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libcap.a -- Found: /home/andoalon/.conan/data/libcap/2.65/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libcap.a -- Library cap found /home/andoalon/.conan/data/libcap/2.65/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libcap.a -- Found: /home/andoalon/.conan/data/libcap/2.65/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libcap.a -- Conan: Using autogenerated Findlibtool.cmake -- Found libtool: 2.4.7 (found version "2.4.7") -- Library ltdl found /home/andoalon/.conan/data/libtool/2.4.7/_/_/package/79d9312ce075a12a4cdbcd7671238b637dfef375/lib/libltdl.a -- Found: /home/andoalon/.conan/data/libtool/2.4.7/_/_/package/79d9312ce075a12a4cdbcd7671238b637dfef375/lib/libltdl.a -- Conan: Using autogenerated Findautomake.cmake -- Found automake: 1.16.5 (found version "1.16.5") -- Conan: Using autogenerated Findautoconf.cmake -- Found autoconf: 2.71 (found version "2.71") -- Conan: Using autogenerated Findm4.cmake -- Found m4: 1.4.19 (found version "1.4.19") -- Conan: Dependency ALSA already found -- Conan: Using autogenerated Findxorg.cmake -- Found xorg: system (found version "system") -- Conan: Using autogenerated FindOpenSSL.cmake -- Found OpenSSL: 1.1.1q (found version "1.1.1q") -- Library ssl found /home/andoalon/.conan/data/openssl/1.1.1q/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libssl.a -- Found: /home/andoalon/.conan/data/openssl/1.1.1q/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libssl.a -- Library crypto found /home/andoalon/.conan/data/openssl/1.1.1q/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libcrypto.a -- Found: /home/andoalon/.conan/data/openssl/1.1.1q/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libcrypto.a -- Library crypto found /home/andoalon/.conan/data/openssl/1.1.1q/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libcrypto.a -- Found: /home/andoalon/.conan/data/openssl/1.1.1q/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libcrypto.a -- Library ssl found /home/andoalon/.conan/data/openssl/1.1.1q/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libssl.a -- Found: /home/andoalon/.conan/data/openssl/1.1.1q/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libssl.a -- Library pulse found /home/andoalon/.conan/data/pulseaudio/14.2/_/_/package/2d763801856e87119e0225bb13c930a878ef6df1/lib/libpulse.a -- Found: /home/andoalon/.conan/data/pulseaudio/14.2/_/_/package/2d763801856e87119e0225bb13c930a878ef6df1/lib/libpulse.a -- Library pulsecommon-14.2 found /home/andoalon/.conan/data/pulseaudio/14.2/_/_/package/2d763801856e87119e0225bb13c930a878ef6df1/lib/pulseaudio/libpulsecommon-14.2.a -- Found: /home/andoalon/.conan/data/pulseaudio/14.2/_/_/package/2d763801856e87119e0225bb13c930a878ef6df1/lib/pulseaudio/libpulsecommon-14.2.a -- Library pulse-simple found /home/andoalon/.conan/data/pulseaudio/14.2/_/_/package/2d763801856e87119e0225bb13c930a878ef6df1/lib/libpulse-simple.a -- Found: /home/andoalon/.conan/data/pulseaudio/14.2/_/_/package/2d763801856e87119e0225bb13c930a878ef6df1/lib/libpulse-simple.a -- Conan: Using autogenerated Findopengl_system.cmake -- Found opengl_system: system (found version "system") -- Conan: Using autogenerated Findnas.cmake -- Found nas: 1.9.4 (found version "1.9.4") -- Library audio found /home/andoalon/.conan/data/nas/1.9.4/_/_/package/7b8119f799495467a0d5c6f7cde9b32460d52573/lib/libaudio.a -- Found: /home/andoalon/.conan/data/nas/1.9.4/_/_/package/7b8119f799495467a0d5c6f7cde9b32460d52573/lib/libaudio.a -- Dependency xorg already found -- Conan: Using autogenerated Findwayland.cmake -- Found wayland: 1.21.0 (found version "1.21.0") -- Library wayland-server found /home/andoalon/.conan/data/wayland/1.21.0/_/_/package/80005ee34d2869de5a771d2ae3ed205ad546e215/lib/libwayland-server.a -- Found: /home/andoalon/.conan/data/wayland/1.21.0/_/_/package/80005ee34d2869de5a771d2ae3ed205ad546e215/lib/libwayland-server.a -- Library wayland-cursor found /home/andoalon/.conan/data/wayland/1.21.0/_/_/package/80005ee34d2869de5a771d2ae3ed205ad546e215/lib/libwayland-cursor.a -- Found: /home/andoalon/.conan/data/wayland/1.21.0/_/_/package/80005ee34d2869de5a771d2ae3ed205ad546e215/lib/libwayland-cursor.a -- Library wayland-egl found /home/andoalon/.conan/data/wayland/1.21.0/_/_/package/80005ee34d2869de5a771d2ae3ed205ad546e215/lib/libwayland-egl.a -- Found: /home/andoalon/.conan/data/wayland/1.21.0/_/_/package/80005ee34d2869de5a771d2ae3ed205ad546e215/lib/libwayland-egl.a -- Library wayland-client found /home/andoalon/.conan/data/wayland/1.21.0/_/_/package/80005ee34d2869de5a771d2ae3ed205ad546e215/lib/libwayland-client.a -- Found: /home/andoalon/.conan/data/wayland/1.21.0/_/_/package/80005ee34d2869de5a771d2ae3ed205ad546e215/lib/libwayland-client.a -- Conan: Using autogenerated FindLibXml2.cmake -- Found LibXml2: 2.9.14 (found version "2.9.14") -- Library xml2 found /home/andoalon/.conan/data/libxml2/2.9.14/_/_/package/668e0becb962aa20bfdc03e0659881cddcac57bb/lib/libxml2.a -- Found: /home/andoalon/.conan/data/libxml2/2.9.14/_/_/package/668e0becb962aa20bfdc03e0659881cddcac57bb/lib/libxml2.a -- Conan: Using autogenerated FindZLIB.cmake -- Found ZLIB: 1.2.12 (found version "1.2.12") -- Library z found /home/andoalon/.conan/data/zlib/1.2.12/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libz.a -- Found: /home/andoalon/.conan/data/zlib/1.2.12/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libz.a -- Dependency Iconv already found -- Conan: Using autogenerated Findlibffi.cmake -- Found libffi: 3.4.2 (found version "3.4.2") -- Library ffi found /home/andoalon/.conan/data/libffi/3.4.2/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libffi.a -- Found: /home/andoalon/.conan/data/libffi/3.4.2/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libffi.a -- Library wayland-client found /home/andoalon/.conan/data/wayland/1.21.0/_/_/package/80005ee34d2869de5a771d2ae3ed205ad546e215/lib/libwayland-client.a -- Found: /home/andoalon/.conan/data/wayland/1.21.0/_/_/package/80005ee34d2869de5a771d2ae3ed205ad546e215/lib/libwayland-client.a -- Library wayland-egl found /home/andoalon/.conan/data/wayland/1.21.0/_/_/package/80005ee34d2869de5a771d2ae3ed205ad546e215/lib/libwayland-egl.a -- Found: /home/andoalon/.conan/data/wayland/1.21.0/_/_/package/80005ee34d2869de5a771d2ae3ed205ad546e215/lib/libwayland-egl.a -- Library wayland-cursor found /home/andoalon/.conan/data/wayland/1.21.0/_/_/package/80005ee34d2869de5a771d2ae3ed205ad546e215/lib/libwayland-cursor.a -- Found: /home/andoalon/.conan/data/wayland/1.21.0/_/_/package/80005ee34d2869de5a771d2ae3ed205ad546e215/lib/libwayland-cursor.a -- Library wayland-server found /home/andoalon/.conan/data/wayland/1.21.0/_/_/package/80005ee34d2869de5a771d2ae3ed205ad546e215/lib/libwayland-server.a -- Found: /home/andoalon/.conan/data/wayland/1.21.0/_/_/package/80005ee34d2869de5a771d2ae3ed205ad546e215/lib/libwayland-server.a -- Conan: Using autogenerated Findxkbcommon.cmake -- Found xkbcommon: 1.4.1 (found version "1.4.1") -- Library xkbcommon-x11 found /home/andoalon/.conan/data/xkbcommon/1.4.1/_/_/package/c55590790572170de93eedec14b0765657eec6e7/lib/libxkbcommon-x11.a -- Found: /home/andoalon/.conan/data/xkbcommon/1.4.1/_/_/package/c55590790572170de93eedec14b0765657eec6e7/lib/libxkbcommon-x11.a -- Library xkbcommon found /home/andoalon/.conan/data/xkbcommon/1.4.1/_/_/package/c55590790572170de93eedec14b0765657eec6e7/lib/libxkbcommon.a -- Found: /home/andoalon/.conan/data/xkbcommon/1.4.1/_/_/package/c55590790572170de93eedec14b0765657eec6e7/lib/libxkbcommon.a -- Library xkbregistry found /home/andoalon/.conan/data/xkbcommon/1.4.1/_/_/package/c55590790572170de93eedec14b0765657eec6e7/lib/libxkbregistry.a -- Found: /home/andoalon/.conan/data/xkbcommon/1.4.1/_/_/package/c55590790572170de93eedec14b0765657eec6e7/lib/libxkbregistry.a -- Conan: Dependency xorg already found -- Conan: Dependency xorg already found -- Conan: Dependency xorg already found -- Conan: Dependency LibXml2 already found -- Conan: Dependency wayland already found -- Conan: Using autogenerated Findwayland-protocols.cmake -- Found wayland-protocols: 1.26 (found version "1.26") -- Library xkbregistry found /home/andoalon/.conan/data/xkbcommon/1.4.1/_/_/package/c55590790572170de93eedec14b0765657eec6e7/lib/libxkbregistry.a -- Found: /home/andoalon/.conan/data/xkbcommon/1.4.1/_/_/package/c55590790572170de93eedec14b0765657eec6e7/lib/libxkbregistry.a -- Library xkbcommon found /home/andoalon/.conan/data/xkbcommon/1.4.1/_/_/package/c55590790572170de93eedec14b0765657eec6e7/lib/libxkbcommon.a -- Found: /home/andoalon/.conan/data/xkbcommon/1.4.1/_/_/package/c55590790572170de93eedec14b0765657eec6e7/lib/libxkbcommon.a -- Library xkbcommon-x11 found /home/andoalon/.conan/data/xkbcommon/1.4.1/_/_/package/c55590790572170de93eedec14b0765657eec6e7/lib/libxkbcommon-x11.a -- Found: /home/andoalon/.conan/data/xkbcommon/1.4.1/_/_/package/c55590790572170de93eedec14b0765657eec6e7/lib/libxkbcommon-x11.a -- Conan: Using autogenerated Findegl_system.cmake -- Found egl_system: system (found version "system") -- Conan: Using autogenerated Findlibunwind.cmake -- Found libunwind: 1.6.2 (found version "1.6.2") -- Library unwind-ptrace found /home/andoalon/.conan/data/libunwind/1.6.2/_/_/package/b07013624064ea6737f9e543381918f5f1443d80/lib/libunwind-ptrace.a -- Found: /home/andoalon/.conan/data/libunwind/1.6.2/_/_/package/b07013624064ea6737f9e543381918f5f1443d80/lib/libunwind-ptrace.a -- Library unwind-setjmp found /home/andoalon/.conan/data/libunwind/1.6.2/_/_/package/b07013624064ea6737f9e543381918f5f1443d80/lib/libunwind-setjmp.a -- Found: /home/andoalon/.conan/data/libunwind/1.6.2/_/_/package/b07013624064ea6737f9e543381918f5f1443d80/lib/libunwind-setjmp.a -- Library unwind-coredump found /home/andoalon/.conan/data/libunwind/1.6.2/_/_/package/b07013624064ea6737f9e543381918f5f1443d80/lib/libunwind-coredump.a -- Found: /home/andoalon/.conan/data/libunwind/1.6.2/_/_/package/b07013624064ea6737f9e543381918f5f1443d80/lib/libunwind-coredump.a -- Library unwind-generic found /home/andoalon/.conan/data/libunwind/1.6.2/_/_/package/b07013624064ea6737f9e543381918f5f1443d80/lib/libunwind-generic.a -- Found: /home/andoalon/.conan/data/libunwind/1.6.2/_/_/package/b07013624064ea6737f9e543381918f5f1443d80/lib/libunwind-generic.a -- Library unwind found /home/andoalon/.conan/data/libunwind/1.6.2/_/_/package/b07013624064ea6737f9e543381918f5f1443d80/lib/libunwind.a -- Found: /home/andoalon/.conan/data/libunwind/1.6.2/_/_/package/b07013624064ea6737f9e543381918f5f1443d80/lib/libunwind.a -- Conan: Using autogenerated FindLibLZMA.cmake -- Found LibLZMA: 5.2.5 (found version "5.2.5") -- Library lzma found /home/andoalon/.conan/data/xz_utils/5.2.5/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/liblzma.a -- Found: /home/andoalon/.conan/data/xz_utils/5.2.5/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/liblzma.a -- Conan: Dependency ZLIB already found -- Library unwind found /home/andoalon/.conan/data/libunwind/1.6.2/_/_/package/b07013624064ea6737f9e543381918f5f1443d80/lib/libunwind.a -- Found: /home/andoalon/.conan/data/libunwind/1.6.2/_/_/package/b07013624064ea6737f9e543381918f5f1443d80/lib/libunwind.a -- Library unwind-generic found /home/andoalon/.conan/data/libunwind/1.6.2/_/_/package/b07013624064ea6737f9e543381918f5f1443d80/lib/libunwind-generic.a -- Found: /home/andoalon/.conan/data/libunwind/1.6.2/_/_/package/b07013624064ea6737f9e543381918f5f1443d80/lib/libunwind-generic.a -- Library unwind-coredump found /home/andoalon/.conan/data/libunwind/1.6.2/_/_/package/b07013624064ea6737f9e543381918f5f1443d80/lib/libunwind-coredump.a -- Found: /home/andoalon/.conan/data/libunwind/1.6.2/_/_/package/b07013624064ea6737f9e543381918f5f1443d80/lib/libunwind-coredump.a -- Library unwind-setjmp found /home/andoalon/.conan/data/libunwind/1.6.2/_/_/package/b07013624064ea6737f9e543381918f5f1443d80/lib/libunwind-setjmp.a -- Found: /home/andoalon/.conan/data/libunwind/1.6.2/_/_/package/b07013624064ea6737f9e543381918f5f1443d80/lib/libunwind-setjmp.a -- Library unwind-ptrace found /home/andoalon/.conan/data/libunwind/1.6.2/_/_/package/b07013624064ea6737f9e543381918f5f1443d80/lib/libunwind-ptrace.a -- Found: /home/andoalon/.conan/data/libunwind/1.6.2/_/_/package/b07013624064ea6737f9e543381918f5f1443d80/lib/libunwind-ptrace.a -- Library SDL2d found /home/andoalon/.conan/data/sdl/2.24.0/_/_/package/f979c8843a48120edb17c48bfa38efb90eb4cdd6/lib/libSDL2d.a -- Found: /home/andoalon/.conan/data/sdl/2.24.0/_/_/package/f979c8843a48120edb17c48bfa38efb90eb4cdd6/lib/libSDL2d.a -- Configuring done CMake Error at CMakeLists.txt:7 (add_executable): Target "MyProject" links to target "EXPAT::EXPAT" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. ```