Author Topic: Help compiling LaserBoy on Linux  (Read 17932 times)

0 Members and 1 Guest are viewing this topic.

Offline excalibas

  • Newbie
  • *
  • Posts: 2
  • Milliwatts: 0
    • View Profile
Help compiling LaserBoy on Linux
« on: December 08, 2022, 07:18:36 am »
Hello,I am trying to compile LaserBoy on Linux and I get an error:
Quote
LaserBoy_includes.hpp:72:10: fatal error: boost/iostreams/stream.hpp: No such file or directory
   72 | #include <boost/iostreams/stream.hpp>
This is on Nobara Linux.Any Idea what I can do?Thanks



Offline excalibas

  • Newbie
  • *
  • Posts: 2
  • Milliwatts: 0
    • View Profile
Re: Help compiling LaserBoy on Linux
« Reply #1 on: December 08, 2022, 08:49:19 am »
So, I made some progress installing boost  %) But now I get an error saying that libboost_filesystem is incompatible:
Quote
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/12/../../../libboost_filesystem.so when searching for -lboost_filesystem
/usr/bin/ld: skipping incompatible /lib/libboost_filesystem.so when searching for -lboost_filesystem
/usr/bin/ld: skipping incompatible /usr/lib/libboost_filesystem.so when searching for -lboost_filesystem
/usr/bin/ld: cannot find -lboost_filesystem



Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: Help compiling LaserBoy on Linux
« Reply #2 on: December 08, 2022, 11:01:34 pm »
Ok. I will look into this and get back to you.

Welcome to the LaserBoy Forum!
« Last Edit: December 09, 2022, 12:56:46 pm by James »
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: Help compiling LaserBoy on Linux
« Reply #3 on: December 09, 2022, 12:54:07 pm »
Can you tell me what steps you took to install Boost?

I use Ubuntu so I installed it like this:

# sudo apt install libboost-all-dev

You should be able to find the boost lib headers in the include path.

# whereis boost

boost: /usr/include/boost

This might be helpful:

https://installati.one/fedora/34/boost/

« Last Edit: December 09, 2022, 01:03:52 pm by James »
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

 

SMF spam blocked by CleanTalk
SimplePortal 2.3.7 © 2008-2024, SimplePortal