C++ basic course - graphics not working on Windows
The graphics need to look like this:
But the code of the tasks run ok, but no graphics.
Clion VER 2023.3.4
Get this error:
"-- Configuring done (0.2s)
-- Generating done (0.1s)
-- Build files have been written to: C:/Users/name/CLionProjects/C++Basics/test-framework
[ 11%] Performing update step for 'googletest'
[ 22%] No patch step for 'googletest'
[ 33%] No configure step for 'googletest'
[ 44%] No build step for 'googletest'
[ 55%] No install step for 'googletest'
[ 66%] No test step for 'googletest'
[ 77%] Completed 'googletest'
[100%] Built target googletest
-- Configuring done (0.1s)
-- Generating done (0.0s)
-- Build files have been written to: C:/Users/name/CLionProjects/C++Basics/sfml
[ 11%] Performing update step for 'sfml'
[ 22%] No patch step for 'sfml'
[ 33%] No configure step for 'sfml'
[ 44%] No build step for 'sfml'
[ 55%] No install step for 'sfml'
[ 66%] No test step for 'sfml'
[ 77%] Completed 'sfml'
[100%] Built target sfml
CMake Deprecation Warning at sfml/sfml-src/CMakeLists.txt:5 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Warning (dev) at C:/Program Files/JetBrains/CLion 2023.3.4/bin/cmake/win/x64/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to `find_package_handle_standard_args` (VORBIS)
does not match the name of the calling package (Vorbis). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
sfml/sfml-src/cmake/Modules/FindVorbis.cmake:25 (find_package_handle_standard_args)
sfml/sfml-src/cmake/Macros.cmake:279 (find_package)
sfml/sfml-src/src/SFML/Audio/CMakeLists.txt:70 (sfml_find_package)"
----
I do have the auto installed sfml folder in my project.
the course (integrated in Clion) https://plugins.jetbrains.com/plugin/20995-c-basics
I tried to uninstall and reinstall Clion - didnt help.
请先登录再写评论。
Hello!
Please contact the support team of this course by selecting EduTools plugin in the Product field in this form https://intellij-support.jetbrains.com/hc/en-us/requests/new.