Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9222581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T03:51:59+00:00 2026-06-18T03:51:59+00:00

I have installed this http://www.sfml-dev.org/index.php library on my Ubuntu system. The files are stored

  • 0

I have installed this http://www.sfml-dev.org/index.php library on my Ubuntu system. The files are stored in /usr/local/include.

My Eclipse DOES include these files under “Includes >> GNU C++” but if I build the program, the compiler complains about undefined references.

#include <SFML/System.hpp>
#include <iostream>

int main()
{
  sf::Clock Clock;
  return 0;
}

Causes:

undefined reference to `sf::Clock::Clock()' main.cpp

Any guess what I missed to do?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T03:52:00+00:00Added an answer on June 18, 2026 at 3:52 am

    I was right in my first suggestion.

    Here documented, that you must compile like:

    g++ -c clock.cpp
    g++ -o clock clock.o -lsfml-system
    

    So please add -lsfml-system to libraries.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just installed Android SDK on my Ubuntu Device following this example: http://www.liberiangeek.net/2012/07/download-and-install-androidsdk-in-ubuntu-12-04-precise-pangolin/
Using this page, http://developer.android.com/sdk/compatibility-library.html , I have installed the Android Support Package, added a
I have installed GMP using the instruction on this website: http://www.cs.nyu.edu/exact/core/gmp/ Then I looked
I have this website: http://www.princeslick.com/?page_id=28 and I have installed the nextgen plugin on it,
I have installed PyQT from this URL: http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-Py2.6-gpl-4.7.7-1.exe I have Python 2.6 installed. My
Using mediawiki. I have installed the extension http://www.mediawiki.org/wiki/Extension:Contribution_Credits , which is called with the
I have installed http://www.rubygeocoder.com/ in a project rails in a production server but this
I have installed Qt for windows CE using this link http://qt.nokia.com/products/platform/qt-for-windows-ce for visual studio8,
I have installed kloxo control panel, this is the address http://173.212.227.142:7778/ . Then I
I have following this blog in setting Xvfb in my ubuntu environment: http://corpocrat.com/2008/08/19/how-to-install-xvfb-x11-server-in-linux-server/ So

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.