SFML community forums

Help => General => Topic started by: runizgozilla on June 21, 2014, 09:12:20 pm

Title: Can't run example program after standard apt-get install
Post by: runizgozilla on June 21, 2014, 09:12:20 pm
I've just done a standard
Code: [Select]
sudo apt-get install libsfml-devon my linux (Xubuntu) system, and when I try running the program I get this:
Code: [Select]
me@my-laptop:~/Documents/cpp$ ./sfml_test.out
bash: ./sfml_test.out: cannot execute binary file: Exec format error

The result of a "file <filename>" command is this:
Code: [Select]
sfml_test.out: ELF 32-bit LSB  relocatable, Intel 80386, version 1 (GNU/Linux), not stripped

I should mention the code is the example code found here:
http://sfml-dev.org/tutorials/2.0/start-linux.php (http://sfml-dev.org/tutorials/2.0/start-linux.php)
Title: Re: Can't run example program after standard apt-get install
Post by: runizgozilla on June 21, 2014, 09:36:02 pm
This question just quintupled in embarrassment as I've just now realized I didn't read the instructions all the way through.  This is typical of me I'm afraid and I apologize.