Since I'm wanting to go into the game industry I thought it would be a good practice to get used to making cross-platform software.
I downloaded SFML 2.1 for Ubuntu 12.10 and followed the instructions. I'm currently using the 64 bit package of SFML since there are more instructions for 32-bit and decided I'll get into compiling with 32-bit later. Anyways I downloaded, and installed correctly, but having problems compiling. Okay maybe it's not compiling part exactly but more like the linking part to get the final executable(I also have all the .so files in the directory).
Whenever I link it I get this:
(http://i.imgur.com/lrlfMHd.png?1)
What does this mean?!
If it helps here is the code
#include <SFML/Graphics.hpp>
int main()
{
sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");
sf::CircleShape shape(100.f);
shape.setFillColor(sf::Color::Green);
while (window.isOpen())
{
sf::Event event;
while (window.pollEvent(event))
{
if (event.type == sf::Event::Closed)
window.close();
}
window.clear();
window.draw(shape);
window.display();
}
return 0;
}
If any other information is needed feel free to ask.
[/size]
Try running sudo apt-get install libjpeg62-dev
Looks like you're missing one of SFML's dependencies (the jpeg development library).
How did you install SFML?
An easy way in Ubuntu to get alle dependencies is to just install den dependencies of the old SFML-package (1.6)
sudo apt-get build-dep libsfml-dev
This will only install the dependencies without the actual package.