OS: Windows 10 20H2
CMake gui: 3.20.1
SFML ver: From github
I downloaded the zip file from SFML
official website and run the example(
.exe) , all ok and no error
without any dependencies(.dll).
But I
cmaked the SFML by myself ,then run the example(
.exe), then report
errors:”Can't find
sfml-system-2.dll, can't find
sfml-network-2.dll ...“ .
I wonder why the example program (
.exe) downloaded from the official website can be run directly without relying on the library file(
.dll), but the program I build or compile depends on the library file
(.dll). How can I build or compile them so that I don’t need to put the executable file(
.exe) and library files(
.dll) together?
Thank you so much anyone can tell me !