NJU-ProjectN / nemu

NJU EMUlator, a full system x86/mips32/riscv32/riscv64 emulator for teaching
Other
858 stars 184 forks source link

Maybe need libboost as dependencies #86

Closed q2333gh closed 8 months ago

q2333gh commented 8 months ago

I have check nju-ics-pa gitbook. Which did not tell user to install this :

...
checking whether the Boost::ASIO library is available... yes
configure: error: Could not find a version of the Boost::Asio library!
make[1]: *** [Makefile:25: repo/build/Makefile] Error 1
make: *** [/home/btwl/code/ICS_OS_study/nju_ics2023/nemu/tools/difftest.mk:24: /home/btwl/code/ICS_OS_study/nju_ics2023/nemu/tools/spike-diff/build/riscv64-spike-so] Error 2
...

sudo apt-get install -y libboost-all-dev

q2333gh commented 8 months ago

And also . I only find make run ,didnt find make run -j$(nproc) option for compile as fast as possible. Maybe its also a good approach ?

sashimi-yzh commented 8 months ago

This is the dependency of spike. Refer to the README of spike.

The gitbook is not responsible for telling you every detail. Learn to find the solution by yourself.

q2333gh commented 8 months ago

Thank you very much for reply . I got it ! So happy to have alot of stuff can learn