mit-biomimetics / Cheetah-Software

MIT License
2.62k stars 929 forks source link

Hi I get stingop truncation error while compiling project ? #79

Closed shivauchiha closed 2 years ago

shivauchiha commented 2 years ago

I am currently building this project in ubuntu 20.04. I have installed all per-requisite libraries. While building, I get the error as shown in the below screenshot. should I ignore it by setting the appropriate flag ? Please Advice. Thank You.

Screenshot from 2022-02-09 09-37-18

shivauchiha commented 2 years ago

This error didn't appear while using command make -j .

shivauchiha commented 2 years ago

Make -j crashesh the system as it eats up all the ram.

Make -j4 gives the same issue as top mentioned one.

shivauchiha commented 2 years ago

I was able to compile using g++8 .

physicsfreak963 commented 8 months ago

@shivauchiha ,I'm running into the same issue,I tried : sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 8 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 8 , to compile with g++8 , it didn't work, can you weigh in on the matter. I understand if it had sometime, so no pressure if your clueless afer two years