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 - xeniac

Pages: [1]
1
General / Re: Can't compile code from tutorial
« on: March 30, 2022, 07:41:50 pm »
I write code in Sublime Text, but compile and run it manually on the command line.

2
General / Re: Can't compile code from tutorial
« on: March 29, 2022, 09:55:06 pm »
Yes, I tired the library with this command.

I just reinstalled it. It did not help.

3
General / Re: Can't compile code from tutorial
« on: March 26, 2022, 06:15:59 pm »
No, I didn't. Maybe try uninstalling and reinstalling?

4
General / Re: Can't compile code from tutorial
« on: March 26, 2022, 04:45:57 pm »
I did sudo apt-get install libx11-dev libgl1-mesa-dev libudev-dev libfreetype6-dev libopenal-dev libflac-dev libvorbis-dev.

It didn't help, unfortunately. The errors are the same: https://anotepad.com/note/read/4eyicmm3

5
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]
anything