Cannot compile SFML project using cmake
问题 I am trying to set up a new c++/sfml project using cmake/g++ on windows but the build keeps on failing with linking errors. There are still errors if I use SFML_STATIC or not. I have looked up the problem but none of the answers so far remove the errors. - \build - \cmake_modules - FindSFML.cmake - \SFML - CMakeLists.txt - config.h.in - main.cpp CMakeLists.txt cmake_minimum_required(VERSION 3.0.0 FATAL_ERROR) project(myproject) set(myproject_VERSION_MAJOR 1) set(myproject_VERSION_MINOR 0)