F5F Stay Refreshed Software Operating Systems Install SFML on your Lubuntu system. Configure Code::Blocks to use it for your project.

Install SFML on your Lubuntu system. Configure Code::Blocks to use it for your project.

Install SFML on your Lubuntu system. Configure Code::Blocks to use it for your project.

S
super_kuzma
Member
146
06-28-2016, 12:52 PM
#1
Hey! I was just rummaging through old storage and discovered my old laptop. Surprisingly, it still ran but the operating system was damaged to the point I couldn't even reach the internet. I tried Windows 10 just to check, but it was too demanding given its 1GB RAM and Intel T2130 CPU with two cores at 1.86 GHz. I opted for Linux since there are lightweight distros suited for older hardware. I picked Lubuntu, downloaded and installed it. The challenge was I've never used Linux before. I assumed standard software would work, but adding libraries to Code::Blocks was tricky. On my Windows machine, installing the SMFL library was straightforward—I had to download it and link it in Code::Blocks. But Linux proves more difficult. A 64-bit version would be better, but I can only use a 32-bit OS due to my CPU limitations. The only way to get SMFL for 32-bit Linux is to build it from scratch using CMake, which I attempted but still faced compilation issues after linking my project with the freshly built SFML. It’s really my first Linux experience, and I’m not sure where to start. Any guidance would be greatly appreciated!
S
super_kuzma
06-28-2016, 12:52 PM #1

Hey! I was just rummaging through old storage and discovered my old laptop. Surprisingly, it still ran but the operating system was damaged to the point I couldn't even reach the internet. I tried Windows 10 just to check, but it was too demanding given its 1GB RAM and Intel T2130 CPU with two cores at 1.86 GHz. I opted for Linux since there are lightweight distros suited for older hardware. I picked Lubuntu, downloaded and installed it. The challenge was I've never used Linux before. I assumed standard software would work, but adding libraries to Code::Blocks was tricky. On my Windows machine, installing the SMFL library was straightforward—I had to download it and link it in Code::Blocks. But Linux proves more difficult. A 64-bit version would be better, but I can only use a 32-bit OS due to my CPU limitations. The only way to get SMFL for 32-bit Linux is to build it from scratch using CMake, which I attempted but still faced compilation issues after linking my project with the freshly built SFML. It’s really my first Linux experience, and I’m not sure where to start. Any guidance would be greatly appreciated!

M
Master__Panda
Junior Member
30
06-28-2016, 05:34 PM
#2
Consider skipping Code:Blocks. It works fine on Windows but becomes difficult elsewhere. Try Geany or Atom/Sublime Text with GCC in the command line instead.
M
Master__Panda
06-28-2016, 05:34 PM #2

Consider skipping Code:Blocks. It works fine on Windows but becomes difficult elsewhere. Try Geany or Atom/Sublime Text with GCC in the command line instead.

S
Sunahh
Posting Freak
863
06-30-2016, 01:37 PM
#3
Other distributions might handle this. Check if OpenSUSE is suitable—it’s user-friendly and supports lightweight desktop installations. They have a build service with many packages, and you can package software using available tools. You can likely find more info at software.opensuse.org.
S
Sunahh
06-30-2016, 01:37 PM #3

Other distributions might handle this. Check if OpenSUSE is suitable—it’s user-friendly and supports lightweight desktop installations. They have a build service with many packages, and you can package software using available tools. You can likely find more info at software.opensuse.org.