carzum / termviz

ROS visualisation on the terminal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error: require rustc 1.64.0

LKSeng opened this issue · comments

I am trying to build this on Ubuntu 20-04, when after running the commands:

  1. git clone git@github.com:carzum/termviz.git
  2. cargo build --release

The error error: package `clap v4.1.4` cannot be built because it requires rustc 1.64.0 or newer, while the currently active rustc version is 1.61.0 is produced. However, I seem to be not able to update rustc:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
rustc is already the newest version (1.61.0+dfsg1~llvm-1~exp1ubuntu0.20.04.1).
0 upgraded, 0 newly installed, 0 to remove and 63 not upgraded.

Do you have any idea how to get around this?

The rustc version shipped with 20.04 is quite old. I suggest installing a newer version through rustup:
https://www.rust-lang.org/tools/install

Reopening, since the build with catkin no longer works

pls fix, thx