Open AurelienBaraquin opened 4 days ago
Hi @AurelienBaraquin
Thanks for your question.
I have tried your first step, and then checked the result:
Checking the generated build\build\generators\SDL2-release-x86_64-data.cmake
path, I can see it contains something like:
set(sdl_PACKAGE_FOLDER_RELEASE "C:/Users/memsharded/.conan2/p/b/sdlbc7cd2195bddf/p")
set(sdl_INCLUDE_DIRS_RELEASE "${sdl_PACKAGE_FOLDER_RELEASE}/include"
"${sdl_PACKAGE_FOLDER_RELEASE}/include/SDL2")
And inspecting those folders, the SDL2/SDL.h
file should be there.
This is probably the first thing that you should check.
Then the next step would be to check your CMakeLists.txt
:
find_package()
to SDLtarget_link_libraries()
to the right target.The Conan conan install
output already gives some hints:
conanfile.txt: Generator 'CMakeDeps' calling 'generate()'
conanfile.txt: CMakeDeps necessary find_package() and targets for your CMakeLists.txt
find_package(GTest)
find_package(SDL2_image)
find_package(SDL2)
find_package(sol2)
find_package(lua)
find_package(chipmunk2d)
find_package(cista)
find_package(nlohmann_json)
target_link_libraries(... gtest::gtest SDL2_image::SDL2_image SDL2::SDL2main sol2::sol2 lua::lua chipmunk2d::chipmunk2d cista::cista nlohmann_json::nlohmann_json)
So knowing your CMakeLists.txt
and the full output of the cmake
commands could help to identify the issue.
Hi !
Thanks for your help,
I found those lines :
set(sdl_PACKAGE_FOLDER_RELEASE "C:/Users/aurel/.conan2/p/sdla68b3d6413b7b/p")
set(sdl_BUILD_MODULES_PATHS_RELEASE )
set(sdl_INCLUDE_DIRS_RELEASE "${sdl_PACKAGE_FOLDER_RELEASE}/include"
"${sdl_PACKAGE_FOLDER_RELEASE}/include/SDL2")
And there is all the headers files in here.
On the CMakeLists.txt side there is the two main files that can be related to the issue :
cmake_minimum_required(VERSION 3.23)
project(RType-Project VERSION 0.1 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
if(UNIX)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g3")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3")
endif()
if(WIN32)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /MTd")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MT")
endif(WIN32)
find_package(GTest)
find_package(lua)
find_package(sol2)
find_package(Chipmunk2D)
find_package(SDL2_image)
find_package(SDL2)
find_package(nlohmann_json)
add_subdirectory(Engine)
add_subdirectory(Games)
project(Graphic)
add_library(Graphic STATIC src/Graphic.cpp
src/Texture.cpp
src/AnimationSystem.cpp
src/SpriteSystem.cpp
src/TextureSystem.cpp
src/ScriptBindings.cpp
src/ComponentFactory.cpp)
target_include_directories(Graphic PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/include
${CMAKE_CURRENT_SOURCE_DIR}/include/components
${SDL2_INCLUDE_DIRS})
target_link_libraries(Graphic PRIVATE Core SDL2_image::SDL2_image SDL2::SDL2main)
add_library(Engine::Graphic ALIAS Graphic)
It works on Linux but not on windows, I don't understand why. Thanks you so much for your help
target_include_directories(Graphic PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include ${CMAKE_CURRENT_SOURCE_DIR}/include/components ${SDL2_INCLUDE_DIRS})
That SDL2_INCLUDE_DIRS
is not necessary there, it is already included in the SDL2::SDL2main target.
I think it might be an issue of paths. If you are using cmake_layout
there, the --output-folder=build
is unnecessary, and can be counter productive. That means that the last command should be:
conan install . --build=missing -s compiler.cppstd=17
cmake ...
cmake --build --preset conan-release
The build
folder in the middle was unnecessary.
I applied the changes and it still get the same error :
C:\Users\aurel\EPITECH\B-CPP-500-MPL-5-2-rtype-guillaume1.tran\Engine\Modules\Inputs\include\InputSystem.hpp(3,10): error C1083: Impossible d'ouvrir le fichier include : 'SDL2/S
DL.h' : No such file or directory [C:\Users\aurel\EPITECH\B-CPP-500-MPL-5-2-rtype-guillaume1.tran\build\Engine\Modules\Inputs\Inputs.vcxproj]
I am afraid I would need something to reproduce. Could you please provide:
CMakeLists.txt
main.cpp
or similarconanfile.txt
(most of the dependencies will not be necessary for reproducing this)-DBUILD_RTYPE=ON -DBUILD_TESTS=OFF -DGRAPHIC=ON -DPHYSICS=ON -DINPUTS=ON
might be unrelated or unnecessary)Many thanks for the feedback!
Ok I understand, I reproduced the error using those files :
main.cpp
#include <SDL2/SDL.h>
#include <iostream>
int main(int argc, char* argv[]) {
if (SDL_Init(SDL_INIT_VIDEO) < 0) {
std::cerr << "SDL could not initialize! SDL_Error: " << SDL_GetError() << std::endl;
return 1;
}
SDL_Window* window = SDL_CreateWindow("SDL Window", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 640, 480, SDL_WINDOW_SHOWN);
if (window == nullptr) {
std::cerr << "Window could not be created! SDL_Error: " << SDL_GetError() << std::endl;
SDL_Quit();
return 1;
}
bool quit = false;
SDL_Event e;
while (!quit) {
while (SDL_PollEvent(&e) != 0) {
if (e.type == SDL_QUIT) {
quit = true;
} else if (e.type == SDL_KEYDOWN) {
if (e.key.keysym.sym == SDLK_ESCAPE) {
quit = true;
}
}
}
}
SDL_DestroyWindow(window);
SDL_Quit();
return 0;
}
conanfile.txt
[requires]
sdl/2.28.3
sdl_image/2.6.3
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
[options]
*:shared=False
CMakeLists.txt
cmake_minimum_required(VERSION 3.23)
project(Bin VERSION 0.1 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
find_package(SDL2_image)
find_package(SDL2)
add_executable(Bin
main.cpp
)
target_link_libraries(Bin
SDL2::SDL2
SDL2::SDL2_image
)
There is an error in your CMakeLists.txt. The correct target is:
target_link_libraries(Bin
SDL2::SDL2
SDL2_image::SDL2_image
)
Please check the output of conan install
to see the correct target names.
This is why it is important to read carefully the output of the commands, the cmake command should be failing with that file with:
CMake Error at CMakeLists.txt:13 (target_link_libraries):
Target "Bin" links to:
SDL2::SDL2_image
but the target was not found. Possible reasons include:
After fixing that, this works:
conan install . --build=missing -s compiler.cppstd=17
cmake --preset conan-default
cmake --build --preset conan-release
Yes my bad but anyway I was not using SDL image, we can remove it from the cmake and conan, I still got the error :(
Uhm, that is really unexpected. Can you please share the full output of the 2 cmake
commands?
There is the full output of conan + cmake + cmake build :
PS C:\Users\aurel\EPITECH\test> conan install . --build=missing -s compiler.cppstd=17
======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=17
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=194
os=Windows
Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=14
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=194
os=Windows
======== Computing dependency graph ========
Graph root
conanfile.txt: C:\Users\aurel\EPITECH\test\conanfile.txt
Requirements
jbig/20160605#2d29fa02aacd76902e0d2cbbc24631ef - Cache
libdeflate/1.19#3ea74a4549efc14d4b1202dc4bfbf602 - Cache
libjpeg/9e#ebca87d1efc798db99cc9bbe2297679a - Cache
libpng/1.6.44#9e1aa08fb46946c7c91e4ae03bd49811 - Cache
libtiff/4.6.0#51d0e7e15d032aeec1b64e65c44ecd9f - Cache
libwebp/1.3.2#52f69c4a31c5cf033fdd9230d77a8e38 - Cache
sdl/2.28.3#313ebe9abb719f5aed0d4453bbe49e6b - Cache
sdl_image/2.6.3#52a97d235594273a10267a0ca5b3f9ec - Cache
xz_utils/5.4.5#b885d1d79c9d30cff3803f7f551dbe66 - Cache
zlib/1.3.1#f52e03ae3d251dec704634230cd806a2 - Cache
zstd/1.5.5#1f239731dc45147c7fc2f54bfbde73df - Cache
Build requirements
cmake/3.30.5#540068cc37f1d21b42b729c82d6bcb29 - Cache
Resolved version ranges
cmake/[>3.27 <4]: cmake/3.30.5
cmake/[>=3.16 <4]: cmake/3.30.5
cmake/[>=3.18 <4]: cmake/3.30.5
libpng/[>=1.6 <2]: libpng/1.6.44
zlib/[>=1.2.11 <2]: zlib/1.3.1
======== Computing necessary packages ========
jbig/20160605: Main binary package '87b41d1e43cce5e70403b8cba9a75560d707b146' missing
jbig/20160605: Checking 1 compatible configurations
jbig/20160605: Found compatible package '98edcdfcd9fb7b473373eb7fe0d66af0e897e33e': compiler.version=193
libdeflate/1.19: Main binary package '0d6dd492a7d31822b2f2686ec67bbaef586416a3' missing
libdeflate/1.19: Checking 1 compatible configurations
libdeflate/1.19: Found compatible package '7bfde258ff4f62f75668d0896dbddedaa7480a0f': compiler.version=193
libjpeg/9e: Main binary package '0d6dd492a7d31822b2f2686ec67bbaef586416a3' missing
libjpeg/9e: Checking 1 compatible configurations
libjpeg/9e: Found compatible package '7bfde258ff4f62f75668d0896dbddedaa7480a0f': compiler.version=193
libwebp/1.3.2: Main binary package '69245e5075412748d0f342274becdb0589edf578' missing
libwebp/1.3.2: Checking 1 compatible configurations
libwebp/1.3.2: Found compatible package '653db3a579025ea1bd9ddbca1ed97a34042b07bc': compiler.version=193
xz_utils/5.4.5: Main binary package '0d6dd492a7d31822b2f2686ec67bbaef586416a3' missing
xz_utils/5.4.5: Checking 1 compatible configurations
xz_utils/5.4.5: Found compatible package '7bfde258ff4f62f75668d0896dbddedaa7480a0f': compiler.version=193
zlib/1.3.1: Main binary package '0d6dd492a7d31822b2f2686ec67bbaef586416a3' missing
zlib/1.3.1: Checking 1 compatible configurations
zlib/1.3.1: Found compatible package '7bfde258ff4f62f75668d0896dbddedaa7480a0f': compiler.version=193
zstd/1.5.5: Main binary package '9d69f8152c7ae20456f943b00603dfd1254e33d6' missing
zstd/1.5.5: Checking 1 compatible configurations
zstd/1.5.5: Found compatible package 'c60581f2463ba21c248b22570dc9f7e6dcb636f7': compiler.version=193
libpng/1.6.44: Main binary package '8ff616ba4ff1d638b8e6a308f5417275d7fecfba' missing
libpng/1.6.44: Checking 1 compatible configurations
libpng/1.6.44: Found compatible package 'e0d2306461d10438fbd847f0556a0f0ac5653d3a': compiler.version=193
libtiff/4.6.0: Main binary package '84d88f7d2eee643e75592dccd8de008a4d8d2803' missing
libtiff/4.6.0: Checking 7 compatible configurations
libtiff/4.6.0: Found compatible package '023e7239966dab8ff6a097a53572c2d923350090': compiler.cppstd=14, compiler.version=193
sdl/2.28.3: Main binary package '42b9667a10d7e9341e27338fdaa297350002759f' missing
sdl/2.28.3: Checking 1 compatible configurations
sdl/2.28.3: Found compatible package '8e40a03e74608ac8499063f4621a06fc3d479112': compiler.version=193
sdl_image/2.6.3: Main binary package 'fefe43b7fd41847be342658f881196a53033ab98' missing
sdl_image/2.6.3: Checking 1 compatible configurations
sdl_image/2.6.3: Found compatible package '3715823d14ebcfbf2707e4ee125b499fe934f7ef': compiler.version=193
Requirements
jbig/20160605#2d29fa02aacd76902e0d2cbbc24631ef:98edcdfcd9fb7b473373eb7fe0d66af0e897e33e#15e80bf3d1dd518581ce57babc1260c3 - Cache
libdeflate/1.19#3ea74a4549efc14d4b1202dc4bfbf602:7bfde258ff4f62f75668d0896dbddedaa7480a0f#8770475aa00261bfaf612b6b29ef567a - Cache
libjpeg/9e#ebca87d1efc798db99cc9bbe2297679a:7bfde258ff4f62f75668d0896dbddedaa7480a0f#0d8c8743142059b2fdb30102da469d3c - Cache
libpng/1.6.44#9e1aa08fb46946c7c91e4ae03bd49811:e0d2306461d10438fbd847f0556a0f0ac5653d3a#aae40fd00dee0d85633d5a33c7be64b9 - Cache
libtiff/4.6.0#51d0e7e15d032aeec1b64e65c44ecd9f:023e7239966dab8ff6a097a53572c2d923350090#3aa33e97140c84c8e2479752748baf7b - Cache
libwebp/1.3.2#52f69c4a31c5cf033fdd9230d77a8e38:653db3a579025ea1bd9ddbca1ed97a34042b07bc#e758295d7002a9bba78e7644fc8f4df0 - Cache
sdl/2.28.3#313ebe9abb719f5aed0d4453bbe49e6b:8e40a03e74608ac8499063f4621a06fc3d479112#9cf67e9559473c65432dc03e52a2e628 - Cache
sdl_image/2.6.3#52a97d235594273a10267a0ca5b3f9ec:3715823d14ebcfbf2707e4ee125b499fe934f7ef#0eb78a3a0b51d15b71ac7999735a22fa - Cache
xz_utils/5.4.5#b885d1d79c9d30cff3803f7f551dbe66:7bfde258ff4f62f75668d0896dbddedaa7480a0f#534dbf140c5987e252fe32deb9de8192 - Cache
zlib/1.3.1#f52e03ae3d251dec704634230cd806a2:7bfde258ff4f62f75668d0896dbddedaa7480a0f#20d10b761ec15eed7a1d61c86bc7415a - Cache
zstd/1.5.5#1f239731dc45147c7fc2f54bfbde73df:c60581f2463ba21c248b22570dc9f7e6dcb636f7#6fa725339a69a39ca227b554401b4d28 - Cache
Build requirements
Skipped binaries
cmake/3.30.5
======== Installing packages ========
jbig/20160605: Already installed! (1 of 11)
libdeflate/1.19: Already installed! (2 of 11)
libjpeg/9e: Already installed! (3 of 11)
libwebp/1.3.2: Already installed! (4 of 11)
xz_utils/5.4.5: Already installed! (5 of 11)
zlib/1.3.1: Already installed! (6 of 11)
zstd/1.5.5: Already installed! (7 of 11)
sdl/2.28.3: Already installed! (8 of 11)
libpng/1.6.44: Already installed! (9 of 11)
libtiff/4.6.0: Already installed! (10 of 11)
sdl_image/2.6.3: Already installed! (11 of 11)
WARN: deprecated: Usage of deprecated Conan 1.X features that will be removed in Conan 2.X:
WARN: deprecated: 'env_info' used in: jbig/20160605, zstd/1.5.5
WARN: deprecated: 'cpp_info.names' used in: sdl/2.28.3, libdeflate/1.19, xz_utils/5.4.5, libtiff/4.6.0, libpng/1.6.44, libwebp/1.3.2, sdl_image/2.6.3, libjpeg/9e, zlib/1.3.1, zstd/1.5.5
WARN: deprecated: 'cpp_info.build_modules' used in: xz_utils/5.4.5
======== Finalizing install (deploy, generators) ========
conanfile.txt: Writing generators to C:\Users\aurel\EPITECH\test\build\generators
conanfile.txt: Generator 'CMakeDeps' calling 'generate()'
conanfile.txt: CMakeDeps necessary find_package() and targets for your CMakeLists.txt
find_package(SDL2_image)
find_package(SDL2)
target_link_libraries(... SDL2_image::SDL2_image SDL2::SDL2main)
conanfile.txt: Generator 'CMakeToolchain' calling 'generate()'
conanfile.txt: CMakeToolchain generated: conan_toolchain.cmake
conanfile.txt: CMakeToolchain: Preset 'conan-default' added to CMakePresets.json.
(cmake>=3.23) cmake --preset conan-default
(cmake<3.23) cmake <path> -G "Visual Studio 17 2022" -DCMAKE_TOOLCHAIN_FILE=generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW
conanfile.txt: CMakeToolchain generated: C:\Users\aurel\EPITECH\test\build\generators\CMakePresets.json
conanfile.txt: CMakeToolchain generated: C:\Users\aurel\EPITECH\test\CMakeUserPresets.json
conanfile.txt: Generating aggregated env files
conanfile.txt: Generated aggregated env files: ['conanbuild.bat', 'conanrun.bat']
Install finished successfully`
PS C:\Users\aurel\EPITECH\test> cmake --preset conan-default
Preset CMake variables:
CMAKE_POLICY_DEFAULT_CMP0091="NEW"
CMAKE_TOOLCHAIN_FILE:FILEPATH="generators\conan_toolchain.cmake"
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631.
CMake Warning at CMakeLists.txt:6 (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
"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.
CMake Warning at CMakeLists.txt:7 (find_package):
By not providing "FindSDL2.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "SDL2", but
CMake did not find one.
Could not find a package configuration file provided by "SDL2" with any of
the following names:
SDL2Config.cmake
sdl2-config.cmake
Add the installation prefix of "SDL2" to CMAKE_PREFIX_PATH or set
"SDL2_DIR" to a directory containing one of the above files. If "SDL2"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring done (0.2s)
CMake Error at CMakeLists.txt:13 (target_link_libraries):
Target "Bin" links to:
SDL2::SDL2
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
-- Generating done (0.1s)
CMake Generate step failed. Build files cannot be regenerated correctly.
PS C:\Users\aurel\EPITECH\test> cmake --build --preset conan-release
Version MSBuild 17.10.4+10fbfbf2e pour .NET Framework
main.cpp
C:\Users\aurel\EPITECH\test\main.cpp(1,10): error C1083: Impossible d'ouvrir le fichier include : 'SDL2/SDL.h' : No such file or directory [C:\Users\aurel\EPITECH\test\build\Bin
.vcxproj]
But I still see:
Could not find a package configuration file provided by "SDL2_image" with
any of the following names:
SDL2_imageConfig.cmake
sdl2_image-config.cmake
Didn't you remove it?
Please make sure to remove it, update the CMakeLists.txt
and conanfile.txt
in the comment above, re-run and share the new output of the conan install
and the cmake
command.
If not, the best would be to put the exact files in a git repo, with a script in the root, to be able to reproduce exactly, to remove potential inconsistencies in the copy&paste.
I just fixed the cmakelist but anyway without it I still got that :
PS C:\Users\aurel\EPITECH\test> cmake --build --preset conan-release
CMake is re-running because C:/Users/aurel/EPITECH/test/build/CMakeFiles/generate.stamp is out-of-date.
the file 'C:/Users/aurel/EPITECH/test/CMakeLists.txt'
is newer than 'C:/Users/aurel/EPITECH/test/build/CMakeFiles/generate.stamp.depend'
result='-1'
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631.
CMake Warning at CMakeLists.txt:6 (find_package):
By not providing "FindSDL2.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "SDL2", but
CMake did not find one.
Could not find a package configuration file provided by "SDL2" with any of
the following names:
SDL2Config.cmake
sdl2-config.cmake
Add the installation prefix of "SDL2" to CMAKE_PREFIX_PATH or set
"SDL2_DIR" to a directory containing one of the above files. If "SDL2"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring done (0.1s)
CMake Error at CMakeLists.txt:12 (target_link_libraries):
Target "Bin" links to:
SDL2::SDL2
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
-- Generating done (0.1s)
CMake Generate step failed. Build files cannot be regenerated correctly.
PS C:\Users\aurel\EPITECH\test> cmake --build --preset conan-release
Version MSBuild 17.10.4+10fbfbf2e pour .NET Framework
main.cpp
C:\Users\aurel\EPITECH\test\main.cpp(1,10): error C1083: Impossible d'ouvrir le fichier include : 'SDL2/SDL.h' : No such file or directory [C:\Users\aurel\EPITECH\test\build\Bin
.vcxproj]
My bad wrong output ahah there is :
PS C:\Users\aurel\EPITECH\test> cmake --preset conan-default
Preset CMake variables:
CMAKE_POLICY_DEFAULT_CMP0091="NEW"
CMAKE_TOOLCHAIN_FILE:FILEPATH="generators\conan_toolchain.cmake"
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631.
CMake Warning at CMakeLists.txt:6 (find_package):
By not providing "FindSDL2.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "SDL2", but
CMake did not find one.
Could not find a package configuration file provided by "SDL2" with any of
the following names:
SDL2Config.cmake
sdl2-config.cmake
Add the installation prefix of "SDL2" to CMAKE_PREFIX_PATH or set
"SDL2_DIR" to a directory containing one of the above files. If "SDL2"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring done (0.1s)
CMake Error at CMakeLists.txt:12 (target_link_libraries):
Target "Bin" links to:
SDL2::SDL2
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
-- Generating done (0.1s)
CMake Generate step failed. Build files cannot be regenerated correctly.
PS C:\Users\aurel\EPITECH\test> cmake --build --preset conan-release
Version MSBuild 17.10.4+10fbfbf2e pour .NET Framework
main.cpp
C:\Users\aurel\EPITECH\test\main.cpp(1,10): error C1083: Impossible d'ouvrir le fichier include : 'SDL2/SDL.h' : No such file or directory [C:\Users\aurel\EPITECH\test\build\Bin
.vcxproj]
I am sharing with you a small project: sdl.zip
Please download it, extract it in a new folder, and execute inside the folder the python build.py
, then share the full output here. It works on my machine (warning, it will remove the existing packages in your cache).
I works, I got this output :
> python .\build.py
version: 2.9.3
conan_path: C:\Python312\Scripts\conan
python
version: 3.12.3
sys_version: 3.12.3 (tags/v3.12.3:f6650f9, Apr 9 2024, 14:05:25) [MSC v.1938 64 bit (AMD64)]
sys_executable: C:\Python312\python.exe
is_frozen: False
architecture: AMD64
system
version: 10.0.22631
platform: Windows-11-10.0.22631-SP0
system: Windows
release: 11
cpu: Intel64 Family 6 Model 165 Stepping 2, GenuineIntel
Found 26 pkg/version recipes matching * in local cache
Remove summary:
Local Cache
b2/5.2.1#91bc73931a0acb655947a81569ed8b80: Removed recipe and all binaries
boost/1.86.0#cd839a2082585255010f9e82eea94c7f: Removed recipe and all binaries
bzip2/1.0.8#d00dac990f08d991998d624be81a9526: Removed recipe and all binaries
chipmunk2d/7.0.3#95107dadec2ad219f73cb4327a513da9: Removed recipe and all binaries
cista/0.15#8b7d0edfe913b199dcaffe36c784daff: Removed recipe and all binaries
cmake/3.30.5#540068cc37f1d21b42b729c82d6bcb29: Removed recipe and all binaries
entt/3.14.0#578c094ee0af1ad2882005a294d92f38: Removed recipe and all binaries
glfw/3.4#5ebd609284cc13b4f3208bbbf5724500: Removed recipe and all binaries
gtest/1.15.0#9eb07f548819215e766e41399858454f: Removed recipe and all binaries
incbin/cci.20211107#c68c6fef7e515ebe694faef8879864e5: Removed recipe and all binaries
jbig/20160605#2d29fa02aacd76902e0d2cbbc24631ef: Removed recipe and all binaries
libdeflate/1.19#3ea74a4549efc14d4b1202dc4bfbf602: Removed recipe and all binaries
libjpeg/9e#ebca87d1efc798db99cc9bbe2297679a: Removed recipe and all binaries
libpng/1.6.44#9e1aa08fb46946c7c91e4ae03bd49811: Removed recipe and all binaries
libtiff/4.6.0#51d0e7e15d032aeec1b64e65c44ecd9f: Removed recipe and all binaries
libwebp/1.3.2#52f69c4a31c5cf033fdd9230d77a8e38: Removed recipe and all binaries
lua/5.4.6#658d6089093cf01992c2737ab2e96763: Removed recipe and all binaries
nlohmann_json/3.11.3#45828be26eb619a2e04ca517bb7b828d: Removed recipe and all binaries
opengl/system#4df6fecde4084386beded3ed0e56e4ea: Removed recipe and all binaries
raylib/5.0#fc980746d9badc96675023781953fd78: Removed recipe and all binaries
sdl/2.28.3#313ebe9abb719f5aed0d4453bbe49e6b: Removed recipe and all binaries
sdl_image/2.6.3#52a97d235594273a10267a0ca5b3f9ec: Removed recipe and all binaries
sol2/3.3.1#d0bfc452402c43e44872f2a8302b6ed8: Removed recipe and all binaries
xz_utils/5.4.5#b885d1d79c9d30cff3803f7f551dbe66: Removed recipe and all binaries
zlib/1.3.1#f52e03ae3d251dec704634230cd806a2: Removed recipe and all binaries
zstd/1.5.5#1f239731dc45147c7fc2f54bfbde73df: Removed recipe and all binaries
======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=17
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=194
os=Windows
[conf]
tools.files.download:verify=False
Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=14
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=194
os=Windows
======== Computing dependency graph ========
sdl/2.28.3: Not found in local cache, looking in remotes...
sdl/2.28.3: Checking remote: conancenter
sdl/2.28.3: Downloaded recipe revision adcfdd48038f4bec45ae23da116149f2
cmake/3.31.0: Not found in local cache, looking in remotes...
cmake/3.31.0: Checking remote: conancenter
cmake/3.31.0: Downloaded recipe revision ba7dbf3b2fc9e70653b4c0fb5bbd2483
sdl_image/2.6.3: Not found in local cache, looking in remotes...
sdl_image/2.6.3: Checking remote: conancenter
sdl_image/2.6.3: Downloaded recipe revision 52a97d235594273a10267a0ca5b3f9ec
libtiff/4.6.0: Not found in local cache, looking in remotes...
libtiff/4.6.0: Checking remote: conancenter
libtiff/4.6.0: Downloaded recipe revision 51d0e7e15d032aeec1b64e65c44ecd9f
zlib/1.3.1: Not found in local cache, looking in remotes...
zlib/1.3.1: Checking remote: conancenter
zlib/1.3.1: Downloaded recipe revision f52e03ae3d251dec704634230cd806a2
libdeflate/1.19: Not found in local cache, looking in remotes...
libdeflate/1.19: Checking remote: conancenter
libdeflate/1.19: Downloaded recipe revision 3ea74a4549efc14d4b1202dc4bfbf602
xz_utils/5.4.5: Not found in local cache, looking in remotes...
xz_utils/5.4.5: Checking remote: conancenter
xz_utils/5.4.5: Downloaded recipe revision b885d1d79c9d30cff3803f7f551dbe66
libjpeg/9e: Not found in local cache, looking in remotes...
libjpeg/9e: Checking remote: conancenter
libjpeg/9e: Downloaded recipe revision ebca87d1efc798db99cc9bbe2297679a
jbig/20160605: Not found in local cache, looking in remotes...
jbig/20160605: Checking remote: conancenter
jbig/20160605: Downloaded recipe revision 2d29fa02aacd76902e0d2cbbc24631ef
zstd/1.5.5: Not found in local cache, looking in remotes...
zstd/1.5.5: Checking remote: conancenter
zstd/1.5.5: Downloaded recipe revision 1f239731dc45147c7fc2f54bfbde73df
libwebp/1.3.2: Not found in local cache, looking in remotes...
libwebp/1.3.2: Checking remote: conancenter
libwebp/1.3.2: Downloaded recipe revision 52f69c4a31c5cf033fdd9230d77a8e38
libpng/1.6.44: Not found in local cache, looking in remotes...
libpng/1.6.44: Checking remote: conancenter
libpng/1.6.44: Downloaded recipe revision 9e1aa08fb46946c7c91e4ae03bd49811
Graph root
conanfile.txt: C:\Users\aurel\Documents\PROG\test\sdl\conanfile.txt
Requirements
jbig/20160605#2d29fa02aacd76902e0d2cbbc24631ef - Downloaded (conancenter)
libdeflate/1.19#3ea74a4549efc14d4b1202dc4bfbf602 - Downloaded (conancenter)
libjpeg/9e#ebca87d1efc798db99cc9bbe2297679a - Downloaded (conancenter)
libpng/1.6.44#9e1aa08fb46946c7c91e4ae03bd49811 - Downloaded (conancenter)
libtiff/4.6.0#51d0e7e15d032aeec1b64e65c44ecd9f - Downloaded (conancenter)
libwebp/1.3.2#52f69c4a31c5cf033fdd9230d77a8e38 - Downloaded (conancenter)
sdl/2.28.3#adcfdd48038f4bec45ae23da116149f2 - Downloaded (conancenter)
sdl_image/2.6.3#52a97d235594273a10267a0ca5b3f9ec - Downloaded (conancenter)
xz_utils/5.4.5#b885d1d79c9d30cff3803f7f551dbe66 - Downloaded (conancenter)
zlib/1.3.1#f52e03ae3d251dec704634230cd806a2 - Downloaded (conancenter)
zstd/1.5.5#1f239731dc45147c7fc2f54bfbde73df - Downloaded (conancenter)
Build requirements
cmake/3.31.0#ba7dbf3b2fc9e70653b4c0fb5bbd2483 - Downloaded (conancenter)
Resolved version ranges
cmake/[>3.27 <4]: cmake/3.31.0
cmake/[>=3.16 <4]: cmake/3.31.0
cmake/[>=3.18 <4]: cmake/3.31.0
libpng/[>=1.6 <2]: libpng/1.6.44
zlib/[>=1.2.11 <2]: zlib/1.3.1
======== Computing necessary packages ========
jbig/20160605: Main binary package '87b41d1e43cce5e70403b8cba9a75560d707b146' missing
jbig/20160605: Checking 1 compatible configurations
jbig/20160605: Compatible configurations not found in cache, checking servers
jbig/20160605: '98edcdfcd9fb7b473373eb7fe0d66af0e897e33e': compiler.version=193
jbig/20160605: Found compatible package '98edcdfcd9fb7b473373eb7fe0d66af0e897e33e': compiler.version=193
libdeflate/1.19: Main binary package '0d6dd492a7d31822b2f2686ec67bbaef586416a3' missing
libdeflate/1.19: Checking 1 compatible configurations
libdeflate/1.19: Compatible configurations not found in cache, checking servers
libdeflate/1.19: '7bfde258ff4f62f75668d0896dbddedaa7480a0f': compiler.version=193
libdeflate/1.19: Found compatible package '7bfde258ff4f62f75668d0896dbddedaa7480a0f': compiler.version=193
libjpeg/9e: Main binary package '0d6dd492a7d31822b2f2686ec67bbaef586416a3' missing
libjpeg/9e: Checking 1 compatible configurations
libjpeg/9e: Compatible configurations not found in cache, checking servers
libjpeg/9e: '7bfde258ff4f62f75668d0896dbddedaa7480a0f': compiler.version=193
libjpeg/9e: Found compatible package '7bfde258ff4f62f75668d0896dbddedaa7480a0f': compiler.version=193
libwebp/1.3.2: Main binary package '69245e5075412748d0f342274becdb0589edf578' missing
libwebp/1.3.2: Checking 1 compatible configurations
libwebp/1.3.2: Compatible configurations not found in cache, checking servers
libwebp/1.3.2: '653db3a579025ea1bd9ddbca1ed97a34042b07bc': compiler.version=193
libwebp/1.3.2: Found compatible package '653db3a579025ea1bd9ddbca1ed97a34042b07bc': compiler.version=193
xz_utils/5.4.5: Main binary package '0d6dd492a7d31822b2f2686ec67bbaef586416a3' missing
xz_utils/5.4.5: Checking 1 compatible configurations
xz_utils/5.4.5: Compatible configurations not found in cache, checking servers
xz_utils/5.4.5: '7bfde258ff4f62f75668d0896dbddedaa7480a0f': compiler.version=193
xz_utils/5.4.5: Found compatible package '7bfde258ff4f62f75668d0896dbddedaa7480a0f': compiler.version=193
zlib/1.3.1: Main binary package '0d6dd492a7d31822b2f2686ec67bbaef586416a3' missing
zlib/1.3.1: Checking 1 compatible configurations
zlib/1.3.1: Compatible configurations not found in cache, checking servers
zlib/1.3.1: '7bfde258ff4f62f75668d0896dbddedaa7480a0f': compiler.version=193
zlib/1.3.1: Found compatible package '7bfde258ff4f62f75668d0896dbddedaa7480a0f': compiler.version=193
zstd/1.5.5: Main binary package '9d69f8152c7ae20456f943b00603dfd1254e33d6' missing
zstd/1.5.5: Checking 1 compatible configurations
zstd/1.5.5: Compatible configurations not found in cache, checking servers
zstd/1.5.5: 'c60581f2463ba21c248b22570dc9f7e6dcb636f7': compiler.version=193
zstd/1.5.5: Found compatible package 'c60581f2463ba21c248b22570dc9f7e6dcb636f7': compiler.version=193
libpng/1.6.44: Main binary package '8ff616ba4ff1d638b8e6a308f5417275d7fecfba' missing
libpng/1.6.44: Checking 1 compatible configurations
libpng/1.6.44: Compatible configurations not found in cache, checking servers
libpng/1.6.44: 'e0d2306461d10438fbd847f0556a0f0ac5653d3a': compiler.version=193
libpng/1.6.44: Found compatible package 'e0d2306461d10438fbd847f0556a0f0ac5653d3a': compiler.version=193
libtiff/4.6.0: Main binary package '84d88f7d2eee643e75592dccd8de008a4d8d2803' missing
libtiff/4.6.0: Checking 7 compatible configurations
libtiff/4.6.0: Compatible configurations not found in cache, checking servers
libtiff/4.6.0: 'abd1a0de667c3a4d4e854fff114eb12af0f71fb0': compiler.cppstd=14
libtiff/4.6.0: '7195c4835c3af1dbbf9dc4918d77cbac4e17d174': compiler.cppstd=20
libtiff/4.6.0: 'a5d13da5e3565fe4fe243ed94ea47e4f6a5e9b10': compiler.cppstd=23
libtiff/4.6.0: '023e7239966dab8ff6a097a53572c2d923350090': compiler.cppstd=14, compiler.version=193
libtiff/4.6.0: Found compatible package '023e7239966dab8ff6a097a53572c2d923350090': compiler.cppstd=14, compiler.version=193
sdl/2.28.3: Main binary package '42b9667a10d7e9341e27338fdaa297350002759f' missing
sdl/2.28.3: Checking 1 compatible configurations
sdl/2.28.3: Compatible configurations not found in cache, checking servers
sdl/2.28.3: '8e40a03e74608ac8499063f4621a06fc3d479112': compiler.version=193
sdl/2.28.3: Found compatible package '8e40a03e74608ac8499063f4621a06fc3d479112': compiler.version=193
sdl_image/2.6.3: Main binary package 'fefe43b7fd41847be342658f881196a53033ab98' missing
sdl_image/2.6.3: Checking 1 compatible configurations
sdl_image/2.6.3: Compatible configurations not found in cache, checking servers
sdl_image/2.6.3: '3715823d14ebcfbf2707e4ee125b499fe934f7ef': compiler.version=193
sdl_image/2.6.3: Found compatible package '3715823d14ebcfbf2707e4ee125b499fe934f7ef': compiler.version=193
Requirements
jbig/20160605#2d29fa02aacd76902e0d2cbbc24631ef:98edcdfcd9fb7b473373eb7fe0d66af0e897e33e#15e80bf3d1dd518581ce57babc1260c3 - Download (conancenter)
libdeflate/1.19#3ea74a4549efc14d4b1202dc4bfbf602:7bfde258ff4f62f75668d0896dbddedaa7480a0f#8770475aa00261bfaf612b6b29ef567a - Download (conancenter)
libjpeg/9e#ebca87d1efc798db99cc9bbe2297679a:7bfde258ff4f62f75668d0896dbddedaa7480a0f#0d8c8743142059b2fdb30102da469d3c - Download (conancenter)
libpng/1.6.44#9e1aa08fb46946c7c91e4ae03bd49811:e0d2306461d10438fbd847f0556a0f0ac5653d3a#aae40fd00dee0d85633d5a33c7be64b9 - Download (conancenter)
libtiff/4.6.0#51d0e7e15d032aeec1b64e65c44ecd9f:023e7239966dab8ff6a097a53572c2d923350090#3aa33e97140c84c8e2479752748baf7b - Download (conancenter)
libwebp/1.3.2#52f69c4a31c5cf033fdd9230d77a8e38:653db3a579025ea1bd9ddbca1ed97a34042b07bc#e758295d7002a9bba78e7644fc8f4df0 - Download (conancenter)
sdl/2.28.3#adcfdd48038f4bec45ae23da116149f2:8e40a03e74608ac8499063f4621a06fc3d479112#70237920fcf1eaf3428d6a65a4acb342 - Download (conancenter)
sdl_image/2.6.3#52a97d235594273a10267a0ca5b3f9ec:3715823d14ebcfbf2707e4ee125b499fe934f7ef#0eb78a3a0b51d15b71ac7999735a22fa - Download (conancenter)
xz_utils/5.4.5#b885d1d79c9d30cff3803f7f551dbe66:7bfde258ff4f62f75668d0896dbddedaa7480a0f#534dbf140c5987e252fe32deb9de8192 - Download (conancenter)
zlib/1.3.1#f52e03ae3d251dec704634230cd806a2:7bfde258ff4f62f75668d0896dbddedaa7480a0f#20d10b761ec15eed7a1d61c86bc7415a - Download (conancenter)
zstd/1.5.5#1f239731dc45147c7fc2f54bfbde73df:c60581f2463ba21c248b22570dc9f7e6dcb636f7#6fa725339a69a39ca227b554401b4d28 - Download (conancenter)
Build requirements
Skipped binaries
cmake/3.31.0
======== Installing packages ========
-------- Downloading 11 packages --------
jbig/20160605: Retrieving package 98edcdfcd9fb7b473373eb7fe0d66af0e897e33e from remote 'conancenter'
jbig/20160605: Package installed 98edcdfcd9fb7b473373eb7fe0d66af0e897e33e
jbig/20160605: Downloaded package revision 15e80bf3d1dd518581ce57babc1260c3
libdeflate/1.19: Retrieving package 7bfde258ff4f62f75668d0896dbddedaa7480a0f from remote 'conancenter'
libdeflate/1.19: Package installed 7bfde258ff4f62f75668d0896dbddedaa7480a0f
libdeflate/1.19: Downloaded package revision 8770475aa00261bfaf612b6b29ef567a
libjpeg/9e: Retrieving package 7bfde258ff4f62f75668d0896dbddedaa7480a0f from remote 'conancenter'
libjpeg/9e: Package installed 7bfde258ff4f62f75668d0896dbddedaa7480a0f
libjpeg/9e: Downloaded package revision 0d8c8743142059b2fdb30102da469d3c
libwebp/1.3.2: Retrieving package 653db3a579025ea1bd9ddbca1ed97a34042b07bc from remote 'conancenter'
libwebp/1.3.2: Package installed 653db3a579025ea1bd9ddbca1ed97a34042b07bc
libwebp/1.3.2: Downloaded package revision e758295d7002a9bba78e7644fc8f4df0
xz_utils/5.4.5: Retrieving package 7bfde258ff4f62f75668d0896dbddedaa7480a0f from remote 'conancenter'
xz_utils/5.4.5: Package installed 7bfde258ff4f62f75668d0896dbddedaa7480a0f
xz_utils/5.4.5: Downloaded package revision 534dbf140c5987e252fe32deb9de8192
zlib/1.3.1: Retrieving package 7bfde258ff4f62f75668d0896dbddedaa7480a0f from remote 'conancenter'
zlib/1.3.1: Package installed 7bfde258ff4f62f75668d0896dbddedaa7480a0f
zlib/1.3.1: Downloaded package revision 20d10b761ec15eed7a1d61c86bc7415a
zstd/1.5.5: Retrieving package c60581f2463ba21c248b22570dc9f7e6dcb636f7 from remote 'conancenter'
zstd/1.5.5: Package installed c60581f2463ba21c248b22570dc9f7e6dcb636f7
zstd/1.5.5: Downloaded package revision 6fa725339a69a39ca227b554401b4d28
sdl/2.28.3: Retrieving package 8e40a03e74608ac8499063f4621a06fc3d479112 from remote 'conancenter'
sdl/2.28.3: Package installed 8e40a03e74608ac8499063f4621a06fc3d479112
sdl/2.28.3: Downloaded package revision 70237920fcf1eaf3428d6a65a4acb342
libpng/1.6.44: Retrieving package e0d2306461d10438fbd847f0556a0f0ac5653d3a from remote 'conancenter'
libpng/1.6.44: Package installed e0d2306461d10438fbd847f0556a0f0ac5653d3a
libpng/1.6.44: Downloaded package revision aae40fd00dee0d85633d5a33c7be64b9
libtiff/4.6.0: Retrieving package 023e7239966dab8ff6a097a53572c2d923350090 from remote 'conancenter'
libtiff/4.6.0: Package installed 023e7239966dab8ff6a097a53572c2d923350090
libtiff/4.6.0: Downloaded package revision 3aa33e97140c84c8e2479752748baf7b
sdl_image/2.6.3: Retrieving package 3715823d14ebcfbf2707e4ee125b499fe934f7ef from remote 'conancenter'
sdl_image/2.6.3: Package installed 3715823d14ebcfbf2707e4ee125b499fe934f7ef
sdl_image/2.6.3: Downloaded package revision 0eb78a3a0b51d15b71ac7999735a22fa
WARN: deprecated: Usage of deprecated Conan 1.X features that will be removed in Conan 2.X:
WARN: deprecated: 'env_info' used in: zstd/1.5.5, jbig/20160605
WARN: deprecated: 'cpp_info.names' used in: libdeflate/1.19, zlib/1.3.1, libtiff/4.6.0, xz_utils/5.4.5, zstd/1.5.5, libpng/1.6.44, sdl/2.28.3, sdl_image/2.6.3, libjpeg/9e, libwebp/1.3.2
WARN: deprecated: 'cpp_info.build_modules' used in: xz_utils/5.4.5
======== Finalizing install (deploy, generators) ========
conanfile.txt: Writing generators to C:\Users\aurel\Documents\PROG\test\sdl\build\generators
conanfile.txt: Generator 'CMakeDeps' calling 'generate()'
conanfile.txt: CMakeDeps necessary find_package() and targets for your CMakeLists.txt
find_package(SDL2_image)
find_package(SDL2)
target_link_libraries(... SDL2_image::SDL2_image SDL2::SDL2main)
conanfile.txt: Generator 'CMakeToolchain' calling 'generate()'
conanfile.txt: CMakeToolchain generated: conan_toolchain.cmake
conanfile.txt: CMakeToolchain: Preset 'conan-default' added to CMakePresets.json.
(cmake>=3.23) cmake --preset conan-default
(cmake<3.23) cmake <path> -G "Visual Studio 17 2022" -DCMAKE_TOOLCHAIN_FILE=generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW
conanfile.txt: CMakeToolchain generated: C:\Users\aurel\Documents\PROG\test\sdl\build\generators\CMakePresets.json
conanfile.txt: CMakeToolchain generated: C:\Users\aurel\Documents\PROG\test\sdl\CMakeUserPresets.json
conanfile.txt: Generating aggregated env files
conanfile.txt: Generated aggregated env files: ['conanbuild.bat', 'conanrun.bat']
Install finished successfully
Preset CMake variables:
CMAKE_POLICY_DEFAULT_CMP0091="NEW"
CMAKE_TOOLCHAIN_FILE:FILEPATH="generators\conan_toolchain.cmake"
-- Using Conan toolchain: C:/Users/aurel/Documents/PROG/test/sdl/build/generators/conan_toolchain.cmake
-- Conan toolchain: CMAKE_GENERATOR_TOOLSET=v143
-- Conan toolchain: Setting CMAKE_MSVC_RUNTIME_LIBRARY=$<$<CONFIG:Release>:MultiThreadedDLL>
-- Conan toolchain: C++ Standard 17 with extensions OFF
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631.
-- The CXX compiler identification is MSVC 19.40.33812.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Conan: Component target declared 'SDL2_image::SDL2_image'
-- Conan: Component target declared 'SDL2::SDL2'
-- Conan: Component target declared 'SDL2::SDL2main'
-- Conan: Target declared 'TIFF::TIFF'
-- Conan: Component target declared 'libdeflate::libdeflate_static'
-- Conan: Target declared 'LibLZMA::LibLZMA'
-- Conan: Including build module from 'C:/Users/aurel/.conan2/p/xz_ut80f3ba813098e/p/lib/cmake/conan-official-xz_utils-variables.cmake'
-- Conan: Target declared 'jbig::jbig'
-- Conan: Component target declared 'zstd::libzstd_static'
-- Conan: Target declared 'JPEG::JPEG'
-- Conan: Target declared 'ZLIB::ZLIB'
-- Conan: Component target declared 'WebP::webpdecoder'
-- Conan: Component target declared 'WebP::webpdecoder'
-- Conan: Component target declared 'WebP::sharpyuv'
-- Conan: Component target declared 'WebP::webp'
-- Conan: Component target declared 'WebP::webpdemux'
-- Conan: Component target declared 'WebP::libwebpmux'
-- Conan: Target declared 'libwebp::libwebp'
-- Conan: Component target declared 'WebP::sharpyuv'
-- Conan: Component target declared 'WebP::webp'
-- Conan: Component target declared 'WebP::webpdemux'
-- Conan: Component target declared 'WebP::libwebpmux'
-- Conan: Target declared 'libwebp::libwebp'
-- Conan: Target declared 'PNG::PNG'
-- Conan: Component target declared 'WebP::webp'
-- Conan: Component target declared 'WebP::webpdemux'
-- Conan: Component target declared 'WebP::libwebpmux'
-- Conan: Target declared 'libwebp::libwebp'
-- Conan: Target declared 'PNG::PNG'
-- Conan: Component target declared 'WebP::webpdemux'
-- Conan: Component target declared 'WebP::libwebpmux'
-- Conan: Target declared 'libwebp::libwebp'
-- Conan: Target declared 'PNG::PNG'
-- Configuring done (5.0s)
-- Conan: Target declared 'libwebp::libwebp'
-- Conan: Target declared 'PNG::PNG'
-- Configuring done (5.0s)
-- Generating done (0.1s)
-- Build files have been written to: C:/Users/aurel/Documents/PROG/test/sdl/build
-- Conan: Target declared 'PNG::PNG'
-- Configuring done (5.0s)
-- Generating done (0.1s)
-- Build files have been written to: C:/Users/aurel/Documents/PROG/test/sdl/build
Version MSBuild 17.10.4+10fbfbf2e pour .NET Framework
-- Configuring done (5.0s)
-- Generating done (0.1s)
-- Build files have been written to: C:/Users/aurel/Documents/PROG/test/sdl/build
Version MSBuild 17.10.4+10fbfbf2e pour .NET Framework
-- Generating done (0.1s)
-- Build files have been written to: C:/Users/aurel/Documents/PROG/test/sdl/build
Version MSBuild 17.10.4+10fbfbf2e pour .NET Framework
1>Checking Build System
Version MSBuild 17.10.4+10fbfbf2e pour .NET Framework
1>Checking Build System
1>Checking Build System
Building Custom Rule C:/Users/aurel/Documents/PROG/test/sdl/CMakeLists.txt
main.cpp
Bin.vcxproj -> C:\Users\aurel\Documents\PROG\test\sdl\build\Release\Bin.exe
'pwsh.exe' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
Building Custom Rule C:/Users/aurel/Documents/PROG/test/sdl/CMakeLists.txt
Thanks you so much, but how ? And how can I do the same in my project ?
The important thing is to understand what is different in your setup. I have built that example with your report, and it still works. So there is something in your setup that is being overlooked.
The best way to report it is to to the same that as I did: produce a full reproducible minimal example. Something fully self-contained but minimal that reproduces the error. With that, we can way more easily help. Without that it is very challenging to know what could be happening.
Describe the bug
I started to create a Game Engine in Cross platform C++ on WSL2 using Conan as package manager, it works very well on WSL2 but can't compile on windows
There is my conanfile.txt :
And I use these commands to setup and build the project :
Then after the last command there is the error I got :
I would like some help to fix that thanks 👍
How to reproduce it
No response