CMake SFML Notes:

Note: If you want to compile SFML with CMake, you need
to download the source directly from the GIT repo. I downloaded the source
from the SFML website. The option that said “ALL” and said it was source…

But the error CMake gave me suggests it was not the full source.
Topic: unknown cmake command sfml_add_library w/ vs 2015 & cmake 3.3.0  (Read 112 times)

I installed GIT, and cloned the SFML repo.
And used that repo as my source directory.

Also, if you get the error:
The source “C:/DEV/REPO/SFML/CMakeLists.txt”
does not match the source
used to generate cache.
Re-run cmake with a different source directory.

Possible Solution:
“rm – rf”

SOLUTION: Delete CMakeCache.txt
Delete CMakeCache.txt in the folder you executing cmake.

Another note: You don’t invoke MinGW with “MinGW” on the command line.
It is invoked: “g++”


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s