Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Can't run example program after standard apt-get install  (Read 1788 times)

0 Members and 1 Guest are viewing this topic.

runizgozilla

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Can't run example program after standard apt-get install
« 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
« Last Edit: June 21, 2014, 09:18:59 pm by runizgozilla »

runizgozilla

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: Can't run example program after standard apt-get install
« Reply #1 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.

 

anything