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.


Topics - xeniac

Pages: [1]
1
General / Can't compile code from tutorial
« on: March 26, 2022, 01:08:24 pm »
Hello everyone!
I'm trying to compile program from this tutorial: https://www.sfml-dev.org/tutorials/2.5/start-linux.php. I have Ubuntu 20.04, SFML 2.5.1. My sequence of actions:
g++ -c main.cpp -I/home/xenia/Documents/SFML/include
g++ main.o -o sfml-app -L/home/xenia/Documents/SFML/lib -lsfml-graphics -lsfml-window -lsfml-system

Full error message is here: https://anotepad.com/note/read/9986fexc.

I do not know what to do. I searched the internet and it didn't come up with any results. A year ago, I downloaded the library and wrote simple examples, there was no such error. I remember that I started exactly the same way. Now I've decided to use it again.

Thank you in advance!

Pages: [1]