我安装了Mistuba2软件包(https://github.com/mitsuba-renderer/mitsuba2),以便能够运行btf-呈现(https://github.com/elerac/btf-rendering/)。
然而,要安装三菱,就必须使用clang9和其他一些过时的软件包。在尝试安装这些包时,linux会给我一条我无法解决的错误消息,但我怀疑有必要降低系统的级别。
要执行的命令:
sudo apt安装-y clang-9 libc++-9 dev libc++abi-9-dev
并生成以下错误:
vitor-avancini@Nabucodonosor-desk:~$ sudo apt install -y clang-9 libc++-9-dev libc++abi-9-dev cmake ninja-build
Reading package lists ... ready
Building Dependency Tree ... Ready
READING STATE INFORMATION ... READY
Ninja-Build is already the latest version (1.10.1-1).
Cmake is already the latest version (3.22.1-1ubuntu1.22.04.1).
Some packages could not be installed. This may mean that
You have requested an impossible situation or, if you are using the
unstable distribution that some required packages were not
Created still or were removed from the "Incoming".
The following information can help solve the situation:
The following packages have mismatched dependencies:
lib32gcc-s1: Break: lib32gcc-s1 (<1:10) But 1: 8.4.0-1ubuntu1~18.04 is to be installed
libc6-dev: Break: libc7-dev (<7.5.0-6 ~) but 7.5.0-3ubuntu1 ~ 18.04 is to be installed
E: Impossible to correct problems, you kept broken packages.系统信息:
Kernel: 5.15.0-48-generic x86_64 bits: 64 compiler: gcc v: 11.2.0 Desktop: Cinnamon 5.4.12
tk: GTK 3.24.33 wm: Mutter dm: LightDM Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy如何解决这个问题?
发布于 2022-09-26 04:37:25
clang安装说明已经过时;您应该运行以下命令:
sudo apt install -y clang libc++-dev libc++abi-dev cmake ninja-build要构建三菱2,请遵循指示,但请使用
export CC=clang
export CXX=clang++而不是直接引用clang-9和clang++-9。
您似乎已经在配置中添加了18.04存储库,如果是这样的话,您应该删除它们。
https://unix.stackexchange.com/questions/718652
复制相似问题