-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors compiling on Ubuntu 18.04 with SFML 2.5.1 #6
Comments
SFML supports 2 types of libraries, static and dynamic, and this error can occur if you mix them. I use static libraries in my builds with the |
@SnowySailor can you explain to me how you installed SFML, the contents of the downloaded zip make no sense. I too use ubuntu and I have no idea how to get this game up and running. here's what i tried :
if i understand correctly in order to have the two dependencies : eigen3 and sfml libeigen3-dev and libsfml-dev are suitable libs. |
you will need libsfml 2.5 packages and ubuntu 18.04 repositories doesn't have them, i downloaded .deb packages from ubuntu 18.10 repositories |
BTW I was able to get this to build on Ubuntu 18.04 w/ SFML 2.5.1 (but building from source), and submitted this PR: #39 Not sure if it'll resolve the static vs. shared linking, but it at least gets things going. |
@tuxutku Could you link to the deb, please? |
off course @Modanung |
As i was not sure and it took me some time to get it working i am gonna post a summary. How to build and run
|
I installed SFML once from source and once using the precompiled libraries for Linux here: https://www.sfml-dev.org/download/sfml/2.5.1/ (also tried 2.5.0).
Everything up until
cmake --build build
worked fine. Once I ran that command, however, I got the following error:Seems to be something to do with SFML, but I'm not sure exactly what. I thought it was something to do with the specific library I installed, but I got the same error when using the precompiled one. Any ideas?
Thanks
The text was updated successfully, but these errors were encountered: