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

Author Topic: Making my C++ software work on Ubuntu Server  (Read 3701 times)

0 Members and 1 Guest are viewing this topic.

EiTkoCaT

  • Newbie
  • *
  • Posts: 47
    • View Profile
Making my C++ software work on Ubuntu Server
« on: June 01, 2011, 02:28:02 am »
Hey,

OK, so I've finished coding my C++ app on my PC, I wanna run it in my VPS. I have a clean Ubuntu VPS.

The problem is that hell, I don't have idea how to do that, I only know how to work with Windows and Mac. Never worked with servers or anything like that. I'm using MongoDB so I've installed it, then I've wrote:
apt-get build-dep libsfml
and it's all OK installed.

BUT, how can I download to there the SFML library? As you say in the tutorial: "Then, to actually compile the SFML libraries and samples, you must download and install the full SDK. Go to the SFML-x.y directory, and type the following commands:". How can I Go to the SFML-x.y if... I don't have it? Or maybe I do, I just don't know where?


Thanks!

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Making my C++ software work on Ubuntu Server
« Reply #1 on: June 01, 2011, 07:48:52 am »
Why don't you apt-get install libsfml?
Laurent Gomila - SFML developer

EiTkoCaT

  • Newbie
  • *
  • Posts: 47
    • View Profile
Making my C++ software work on Ubuntu Server
« Reply #2 on: June 07, 2011, 07:35:25 pm »
OK i formmated and started a clean one and did apt-get install libsfml and it:

root@myvps:~# apt-get install libsfml
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libsfml

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Making my C++ software work on Ubuntu Server
« Reply #3 on: June 07, 2011, 07:39:38 pm »
How can you install the dependencies for a package but not the package itself??
Laurent Gomila - SFML developer

EiTkoCaT

  • Newbie
  • *
  • Posts: 47
    • View Profile
Making my C++ software work on Ubuntu Server
« Reply #4 on: June 07, 2011, 07:50:16 pm »
hmmm, how can i install the package itself?

Sorry for being dumb, that's the first time I'm working with Ubuntu...

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Making my C++ software work on Ubuntu Server
« Reply #5 on: June 07, 2011, 09:08:15 pm »
First make sure that it is available, and check its exact name:
Code: [Select]
apt-cache search sfml

And then select and install the right package.
Laurent Gomila - SFML developer

henrikno

  • Newbie
  • *
  • Posts: 8
    • View Profile
Making my C++ software work on Ubuntu Server
« Reply #6 on: June 07, 2011, 11:33:29 pm »
Try installing:
Code: [Select]
sudo apt-get install libsfml-dev