Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - zfot

Pages: [1]
1
General / SFML Linking Cmake Help
« on: April 17, 2018, 04:34:16 pm »
Hi there,

To begin with i am gonna say that it's not my first time using SFML.
But, Today i need to Compile my project on windows ..
Wich give me a lot of issue.
I've read The doc and many forums but no one gimme a solution.

So my current Problem is That the FindSFML module Successfully find all the SFML lib but when i use
the target_link_libraries(${PROJECT_NAME} ${SFML_LIBRARIES}

I Still Have undefines References to SFML functions



So i've tried to copy SFML dlls and link them by hand
And It works !!
But the Solution don't suit me..
So i want to know, what did i make wrong ?

The SFML_ROOT environment variable is set (I think Correctly to "~/Install/SFML-2.4.2/")
I've also selected the Dynamic Linking by Setting SFML_STATIC_LIBRARIES to false.





Btw Sorry for my not Really good English, i've tried my best.
Thanks for all

zfot.

Pages: [1]