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

Pages: [1]
1
General / Problem Hello World !!!
« on: May 25, 2022, 01:34:22 pm »
Problem Hello World !!!

I started studying SFML and came across a problem.
I can't build a tutorial project

When I execute a command
g ++ main.cpp --std = c ++ 17 -lsfml-graphics -lsfml-window -lsfml-system

  I receive

main.cpp : (. text + 0x124): undefined link «sf :: WindowBase :: pollEvent (sf :: Event &)»

What is the problem?
Help

My tools
g ++ (Ubuntu 9.4.0-1ubuntu1 ~ 20.04.1) 9.4.0
clang ++ version 10.0.0-4ubuntu1
cmake version 3.16.3

Pages: [1]
anything