riscv-software-src / riscv-isa-sim

Spike, a RISC-V ISA Simulator
Other
2.29k stars 815 forks source link

Document dependency on Boost::Asio #1289

Open xobs opened 1 year ago

xobs commented 1 year ago

The README file says that you should be able to clone the repository then run ./configure. However, it appears to have additional dependencies -- namely it depends on something called "Boost::Asio".

On Ubuntu, installing libasio-dev does not appear to be enough to satisfy the build system:

checking for boostlib >= 1.53 (105300)... yes
checking whether the Boost::ASIO library is available... yes
configure: error: Could not find a version of the Boost::Asio library!
$ 

This requirement should be documented in the README -- in particular why it reports that the library is available yet could not be found.

RiversideSC commented 1 year ago

Ubuntu use sudo apt install libboost-all-dev solved this problem for me.

happyjason9 commented 9 months ago

Ubuntu use sudo apt install libboost-all-dev solved this problem for me.

thx bro, you help me fix this problem!!!!

rtorre32 commented 5 months ago

I have this same issue, however, I have boost installed already and I even specify the path to it using the --with-boost-libdir flag. Any help?

Letter-R commented 3 months ago

I have this same issue, however, I have boost installed already and I even specify the path to it using the --with-boost-libdir flag. Any help?

try update & update first

Letter-R commented 3 months ago

Ubuntu use sudo apt install libboost-all-dev solved this problem for me.

work for me, thanks

ajeethakv commented 3 weeks ago

Same issue, the suggested fix of:

Ubuntu use sudo apt install libboost-all-dev

worked like a charm for me in Windows WSL running Ubuntu. Thanks @RiversideSC