Library doesn't work as it should

A few days ago I wanted to build and install SFML on my fresh Arch Linux, so I downloaded the source from the github page, installed a few dependencies and built it with Cmake. I installed the library at /usr/local.
After I compiled a simple program using the libary, I noticed some strange behavior; if I wanted to draw text, it wasn't placed in the position I defined. The same problem occurred under Linux Mint 17, but on that system I was using the libsfml-dev package, and didn't compile it from source.
Thinking that the problem relied in the SFML library, I posted a topic in the SFML Forums. It turned out that the problem wasn't caused by SFML, but by Linux. A strange fact is that the problem didn't occurr to other users in the SFML forums. After I reinstalled my Mint 17, and avoided to install libsfml-dev, the problem didn't occurr and I thought that it was the fault of the libsfml-dev package.
So when I installed Arch Linux a few days ago, I didn't install SFML from the AUR, but downloaded and built SFML from Source instead. The strange thing is, that the problem now occurrs on Arch Linux, although it's freshly installed, and I built SFML from source. I tried to uninstall the library manually, and Install SFML from the AUR with yaourt, in the hope that this would fix my issue, but it didn't, so I uninstalled the SFML AUR package with the command yaourt -Rs sfml .(That command should have removed the package completely, shouldn't it?)
Does somebody have an idea what I could try in order to solve my problem?

I'm sorry, I meant the sfml package from the community repositories, not from the AUR.
Here's the problem:
If I compile the following C++ code, using the facile sans font :
#include <SFML/Graphics.hpp>
#include <iostream>
using namespace std;
int main()
sf::RenderWindow window(sf::VideoMode(500, 500), "Example");
sf::Font font;
font.loadFromFile("Facile Sans.ttf");
sf::Text text;
text.setFont(font);
text.setPosition(0, 0); // (0, -20) looks good
text.setCharacterSize(84);
text.setString("Text");
text.setColor(sf::Color::Black);
while (window.isOpen())
sf::Event event;
while (window.pollEvent(event))
if (event.type == sf::Event::Closed)
window.close();
window.clear(sf::Color::White);
window.draw(text);
window.display();
return 0;
The output looks like this on linux:
If I compile the same code on windows, it looks like this:
It seems like that, for some reason, some space is left on top of the text, so that characters like "ê" can be displayed correctly. The weird thing is, that this problem didn't occurr to the other users in the SFML forums, whether they were using fedora or arch. Also, it worked for me, after I reinstalled Linux Mint 17 and built SFML from source directly, without installing the libsfml-dev package. Now this problem occurrs on my freshly installed arch linux, although I built SFML from source directly. In order to fix my issue, I tried to uninstall SFML and install the sfml package from the community repositories instead, with no luck; so I uninstalled the sfml package with yaourt -Rs sfml or pacman -Rs sfml  (I don't remember which command I used).

Similar Messages

  • Since I downloaded the last updated, the app PODCAST doesn't work. Wha should I do guys?

    Since I downloaded the last updated, the app PODCAST doesn't work. Wha should I do guys?

    it didnt work. I also erase the podcast that I has and reinstall it

  • My touchscreen doesn't work as it should.

    My touchscreen doesn't work as it should. I can't touch the field / Selektion I like to, 'cause the screen is trembling and scrolling without any direct touch from me. It even reacts when my finger is about 1-2 cm away from the screen. The ipod didn't fall down or had any other accident. It's an iPod 16gb 2nd generation. What can I do?

    That was my first thought. I even put off the shield which I had stucked on to protect the iPod from dirt and scratches. But it stays the same.
    But I deleted some apps which I had installed yesterday a few minutes ago, maybe it will work now... Hopefully...

  • HT201320 My iPad doesn't recognize my email account.  When I delete it and reenter it still doesn't work.  What should I do?

    My ipad doesn't recognize my email account.  When I delete the account and reenter it, it still doesn't work.  What should I do?

    Close All Open Apps...  Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430
    More Info Here  >  http://www.apple.com/support/ipad/mail/

  • Brand New everything but just doesn't work as it should

    Hello,
            Just bought a £2000 HP Elitebook 2.8Ghz with 3gb ram, XP, and a lot a bells and whistles. Installed CS4 production Premium and then the updates for Premiere, Encore, Photoshop and Soundbooth.
    Started a new project, connected my Panasonic HVX200 to import DVCPROHD 1080i50 footage - simple you would think.
    Wont do it, locks up everytime.
    Now I started using Premiere on version 5.1 many years ago but stopped using it on version 6 after getting sick of its crashing and instability.
    I went over to FCP and it was a breath of fresh air to say the least.
    When Premiere Pro first came out, I tested it on a brand new laptop, crashed within the first minute and that was the end of that !
    After 5 years on virtually flawless FCP use I thought I'd try out Premiere again and guess what, nothings changed, it just doesn't work as it should.
    How anyone on these forums makes any money from it and keeps their sanity is beyond me.

    They must have corrected this oversight. I tried it out with the following TXT file, and indeed it no longer worked:
    There is no egg in eggplant nor ham in hamburger; neither apple nor pine in pineapple. English muffins weren't invented in England nor French fries in France. Sweetmeats are candies while sweetbreads, which aren't sweet, are meat. Quicksand works slowly, boxing rings are square and a guinea pig is neither from Guinea nor is it a pig. Why is it that writers write but fingers don't fing, grocers don't groce and hammers don't ham?
    If the plural of tooth is teeth, why isn't the plural of booth beeth? One goose, 2 geese. So one moose, 2 meese? Doesn't it seem crazy that you can make amends but not one amend. If you have a bunch of odds and ends and get rid of all but one of them, what do you call the thing left? Is it an odd, or an end?
    If teachers taught, why didn't preachers praught? If a vegetarian eats vegetables, what does a humanitarian eat? In what language do people recite at a play and play at a recital? Ship by truck and send cargo by ship? Have noses that run and feet that smell?
    How can a slim chance and a fat chance be the same, while a wise man and a wise guy are opposites? You have to marvel at the unique lunacy of a language in which your house can burn up as it burns down, in which you fill in a form by filling it out and in which an alarm goes off by going on.
    English was invented by people, not computers, and it reflects the creativity of the human race, which, of course, is not a race at all. That is why, when the stars are out, they are visible, but when the lights are out, they are invisible.
    What a pity. I just hope that the queueing is taking less time than in the past. I will look at your info ASAP and report back.

  • Help - Font Book and font Library doesn't work

    I've just updated to a new iMac on Yosemite, and Font Book doesn't work. Neither does putting fonts into the "Library"
    There is a range of fonts that ARE working that are already in either place, but some (that worked up until two days ago in my old Mac running OS 10.6.8) just won't work.
    If I select the fonts in Font Book, Font Book doesn't load them. If I put them in the Library, they don't appear for use in any application.
    As a designer, updating fonts is essential, and if this can't be fixed I'm in serious trouble! So any advice welcome!

    We see posts like this here all the time. A person upgrades to a new OS, and Font Book suddenly stops working. Usually, the problem is that Font Book's database has been trashed by the upgrade with the very common symptoms you're seeing. You suddenly can't add fonts, and fonts Font Book says are open don't appear in some, or any apps.
    Restart your Mac and immediately hold down the Shift key when you hear the startup chime to boot into Safe Mode. Keep holding the Shift key until you see a progress bar towards the bottom of the screen. You can let go of the Shift key at that point. Yosemite is a bit different. Whether it's a Safe Mode boot or a normal one, you get the same progress bar. It just takes longer to get to the desktop in Safe Mode. So hold the Shift key until you get to the desktop.
    OS X asks you to log in (you will get this screen on a Safe Mode boot even if your Mac is set to automatically log in). Let the Mac finish booting to the desktop and then restart normally. This will clear Font Book's database and the cache files of the user account you logged into in Safe Mode.
    If that alone doesn't do it (it should), then clear out all of the font cache data.
    Close all running applications. From an administrator account, open the Terminal app and enter the following command. You can also copy/paste it from here into the Terminal window:
    sudo atsutil databases -remove
    Terminal will then ask for your admin password. As you type, it will not show anything, so be sure to enter it correctly.
    This removes all font cache files. Both for the system and the current logged in user account. After running the command, close Terminal and immediately restart your Mac.

  • Update audio in library doesn't work

    I'm using Captivate 6.0.1.240 and the Update function for audio in the library does not work. To replace audio, I must delete the existing and import the new audio. I've tried every way I can think of; just doesn't work!

    Sreekanth,
    Yes, I did try the methods that you mentioned. Plus, I tried double-clicking the audio file on the timeline. In the “Slide Audio” dialog window, I chose Add/Replace, selected the same name file from the directory, and selected “Yes” when asked if I was sure I wanted to change the audio file. It still maintained the old file.
    Trying further to resolve this, I discovered that the “Update” function DOES NOT work when using .wav files. So I converted all of my audio to mp3 format. It DOES work as it should when using .mp3 files.
    Thanks for your interest.
    Tim

  • My iPod Nano doesn't work as it should...

    I have just got my new iPod Nano. It's the 2gb model from the second generation. I was extremely happy, because it looks awesome and I thought that it would work same way.
    The player is working perfect. Plays songs, really awesome.
    But I have really BIG problems with iTunes. As I said I have got iPod today and everything is new and up-to-date - iTunes and I even somehow managed to update my iPod. Why somehow? I have extremely big problems with updating it. I think that it works okay now, but not at all. Everything is okay when I use an automatic system. I copy music I want to library, conect iPod then and everything copies perfect. The problems are starting when I try to manage iPod on my own - copy music etc. This simply doesn't work! When I try to change the system on non-automatic the error (-50) occurres and iPod cannot be updated. I even can't do this simple thing so there are no talks about deleting or copying music to iPod.
    What can I do? That's simply driving me crazy :/
    PS. Sorry for my English, but I'm from Poland. I don't know if the apple service exists here at all...

    And I have one more question, when I connect my iPod,
    iTunes turns on automatically and the iPod is seen,
    but it's not seen in "My Computer". Is that ok?
    Since you have the iPod set at auto sync the ipod would not show in "My Computer" (someone correct me if I am wrong). If you were able to successfully switch it to manual it would show as it would be in disk mode. So I would say that this is ok.
    I have done a search for the error -50 you keep getting and can't find anything. At this point I would suggest contacting Apple support to see if they can give you some insight on this error. One thing though...have you tried uninstalling iTunes from your computer completely and then re-installing it to make sure it's not an issue with your current copy of iTunes? Also, have you tried to go through the 5 R's?
    http://www.apple.com/support/ipod/five_rs/
    If you have not gone through the 5 R's, please try that first and see if it helps. If not, then try un-installing and then re-installing iTunes. If that does not work, then it would probably be beneficial to call Apple Support.

  • Cursor  doesn't work as it should

    When I scroll or simply move the cursor it just doesn't want to listen to me most of the time. It jumps a little when  I'm not anywhere near the trackpad, it jumps, doesn't move, moves slowly and jagged movements. all randomly happens at random times.
    I've done all the 3 steps suggested  through  "trouble shooting" ( I forget what it was called) here on the site with no luck.
    I have a feeling it is not a hardware problem as sometimes when I wisit certain websites it can get worse.
    But then again sometimes it's totally unaffected and works like it should.
    I don't know if this is related, but after 3 days with this annoyance, Finder keeps asking me for a password to make changes when I log on. I haven't done anything but to log on to provoke it.
    I do have firevault on if it has any relevance to either issue.
    Thanks for any guidance!

    That was my first thought. I even put off the shield which I had stucked on to protect the iPod from dirt and scratches. But it stays the same.
    But I deleted some apps which I had installed yesterday a few minutes ago, maybe it will work now... Hopefully...

  • Searching for a folder in document library doesn't work properly if the folder is at the root level.

    Hi,
    I have a folder named FS0 on my sharepoint 2013 site. The folder is the first level folder under
    Default Document library (Shared Documents). When I search for FS0 on the sharepoint site, the search result give a link to home.aspx and not the folder. If I search for any folder that is a second level folder in the library, I get a search result that takes
    me inside the folder on clicking it. In my case, I search for a folder named FS1 which directly under FS0. The search result takes me inside FS1 in this case. How can I make the search result display proper links for root level folders also?<o:p></o:p>
    Thanks
    Pranava

    Hi Pranava,
    I couldn't reproduce this issue, when I create root folder FS0 in "Shared Documents" and start a full crawl, I click the FS0 link from search results page, it will open the FS0 folder as well as folder under FS0.
    Please right-click the FS0 name hyperlink (e.g. mine is http://sp/Shared%20Documents/FS0) and paste in IE browser see if it could be accessed successfully.
    Also test if other Shared Documents have this issue in other site collection or web applications, if not, run a full crawl may do a trick (please reset search index if only full crawl still doesn't work).
    Thanks
    Daniel Yang
    TechNet Community Support

  • HELP! Large portion of my music library doesn't work!

    I recently got a new MacBook, so I moved the location of the music library. Now, tons of music doesn't work. The mp3 files exist but don't show up in iTunes and can't be opened by iTunes or Quicktime, or any other program I've tried. In the finder, my itunes library folder is 12.78 gb larger than what shows up in iTunes. Therefore, 12.78 gb of my music is not working!! Please help me!
    Thank you
    MacBook 2.0 Ghz (White)   Mac OS X (10.4.6)  

    Go to your Home\Music\iTunes\iTunes Music folder. Click it once. Click File and choose Get Info (or ⌘-I). Go to Ownership & Permissions, and click Details.
    Make sure YOU are the owner and can read & write in EVERY category, and Apply to the entire contents fo the folder. (This may take a while) then try to re-add the missing files. One in a while I'll download something from an MP3 "buysite" and it will be "locked up" until I modify the permissions, allowing me to access my purchased songs.

  • Apps and media library doesn't work after software...

    Hey guys!
    Few days ago I updated my C3-00's software and my apps (Opera Mini and Facebook) doesn't work anymore. I tried reinstalling Opera but when I try to open it it says Opening Application and immediately after that Closing application (same with Facebook client).  
    My second problem is that my media library is messing with me because it maps the song artist and titles (484 songs) and only the few ones within a folder is played over and over. E.g. I try to play Queen - I want it all but Pendulum is played besides that.
    Thank for helping

    Read
    http://support.apple.com/kb/ht1808

  • When I open my camera app, the camera doesn't open. I got told to restore my iPhone and I have done but it still doesn't work? What should I do?

    When I open my camera app it doesn't seem to open the actual camera. I went into an apple store and got told to restore it so I have done but it still doesn't open. What should I so about it?

    When you restored, did you restore as a "new" device or from backup? If you restored as new, and still have the same issue, you most likely have a hardware problem. Go back to the Apple store to confirm.

  • Audio skimming in event library doesn't work

    Audio skimming works perfectly in my project library, and I can turn it on and off with the appropriate button.
    But audio skimming in my event library does not work at all!
    I've tried skimming slower, restarting iMovie and restarting my Mac one at the time and nothing works.
    I'm getting desperate, I have no idea why this won't work, everything is new and it's the first time I've really tried to use iMovie.
    Any ideas will be greatly appreciated!
    Message was edited by: Loulogue

    ok. thx 

  • What (I think) doesn't work as it should in iTunes 10

    1- No streaming from my iTunes library to my iPhone while in my home network! Seriously? I can move, listen and even copy songs from one computer to other, but I cannot listen to whatever is on my iTunes library from my iPhone while I'm at home? Why??? Or am I wrong and you can do it? Maybe I'm just not seeing it...
    2- The "Like" feature of Ping could be something to have from the contextual menu in the library itself, instead of going to the store simply to do it. I know, some of the tracks I have are not in the store, but the ones that do should have that feature? How hard could it be?
    3- Not a big one, but I kind of like to have control over my album cover sizes, not just three fixed ones.
    Anyway, I like the grey look The only thing colored is the covers, which makes it pop as it should.

    I'm sorry, I meant the sfml package from the community repositories, not from the AUR.
    Here's the problem:
    If I compile the following C++ code, using the facile sans font :
    #include <SFML/Graphics.hpp>
    #include <iostream>
    using namespace std;
    int main()
    sf::RenderWindow window(sf::VideoMode(500, 500), "Example");
    sf::Font font;
    font.loadFromFile("Facile Sans.ttf");
    sf::Text text;
    text.setFont(font);
    text.setPosition(0, 0); // (0, -20) looks good
    text.setCharacterSize(84);
    text.setString("Text");
    text.setColor(sf::Color::Black);
    while (window.isOpen())
    sf::Event event;
    while (window.pollEvent(event))
    if (event.type == sf::Event::Closed)
    window.close();
    window.clear(sf::Color::White);
    window.draw(text);
    window.display();
    return 0;
    The output looks like this on linux:
    If I compile the same code on windows, it looks like this:
    It seems like that, for some reason, some space is left on top of the text, so that characters like "ê" can be displayed correctly. The weird thing is, that this problem didn't occurr to the other users in the SFML forums, whether they were using fedora or arch. Also, it worked for me, after I reinstalled Linux Mint 17 and built SFML from source directly, without installing the libsfml-dev package. Now this problem occurrs on my freshly installed arch linux, although I built SFML from source directly. In order to fix my issue, I tried to uninstall SFML and install the sfml package from the community repositories instead, with no luck; so I uninstalled the sfml package with yaourt -Rs sfml or pacman -Rs sfml  (I don't remember which command I used).

Maybe you are looking for

  • Pin connector for front headphone ja

    The front headphone jack cable connection on my Dell 4600 is incompatible with my new Xtreme Gamer soundcard's male pin connection. Can anyone tell me where to find the correct female pin connector, and how do I know which leads go to which pin slots

  • How to Add CSS

    Hi, All. Please , tell me how to add a new CSS definition. do i have to add a new file(ccs or xss)? Where should i add a definition to use it in property pane in Jdev ? regards

  • Bash-completion with pacman [split]

    lessthanjake wrote:Install extra/bash-completion and you get bashcompletion for pacman -S. How does it work? i have installed it but pacman -S gnome-pane does not give gnome-panel

  • Unable to use project professional to establish connection to project server

    I fail to use project professional 2003 to access to the project server 2003 using MSDE 2000 in local area network, following message was shown, Connection failed: SQLState: '01000' SQL Server Error 1326 [Microsoft][ODBC SQL Server Driver][DBNETLIB]C

  • Retrieve Users Email Address from Login

    Hi, I'm trying to get the users e-mail address from the login providers (EG. MS, Google, Facebook and Twitter) so that I can insert it into the database on the Mobile Services side. I have gone through various articles about getting their full name e