koheron-sdk icon indicating copy to clipboard operation
koheron-sdk copied to clipboard

GNU g++ package not found

Open jonathanhedger opened this issue 3 years ago • 1 comments

Hi there,

I've been following the install instructions exactly, with great success so far, but have now found that I cannot get the make setup command to work without errors. I have run the linking code that is mentioned in a comment in the make file but that doesn't seem to execute properly either. I have tried updating sudo apt-get and upgrading it but that didn't fix things.

I am running Ubuntu 20.04.1 on a virtual machine through Oracle VirtualBox. These are the errors I see when I run the necessary commands:

$ sudo ln -s /usr/bin/arm-linux-gnueabihf-g++-5 /usr/bin/arm-linux-gnueabihf-g++ ln: failed to create symbolic link '/usr/bin/arm-linux-gnueabihf-g++': File exists

$ sudo ln -s /usr/bin/arm-linux-gnueabihf-gcc-5 /usr/bin/arm-linux-gnueabihf-gcc ln: failed to create symbolic link '/usr/bin/arm-linux-gnueabihf-gcc': File exists

$ make setup bash: python: command not found bash: python: command not found cat: /PART: No such file or directory bash: python: command not found bash: python: command not found bash: python: command not found bash: python: command not found basename: missing operand Try 'basename --help' for more information. bash: python: command not found bash: python: command not found bash: curl: command not found bash: python: command not found sudo apt-get install -y g++-5-arm-linux-gnueabihf Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package g++-5-arm-linux-gnueabihf E: Couldn't find any package by regex 'g++-5-arm-linux-gnueabihf' make: *** [Makefile:145: setup_base] Error 100

Sorry if this doesn't make sense. I hope I have explained things clearly enough.

Cheers,

Jonathan

jonathanhedger avatar Nov 09 '20 01:11 jonathanhedger

you need to update to g++-7 or g++8

you will then be hit by a set of compiler errors on the code - just do what it wants and you will be good.

rsarwar87 avatar Feb 01 '21 16:02 rsarwar87