G++ error:/usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory

后端 未结 2 1469
隐瞒了意图╮
隐瞒了意图╮ 2020-12-05 06:47

I\'m studying qt on platform Fedora linux, It threw a g++ error as below while I make a sample cpp

g++ error:/usr/lib/rpm/redhat/redhat-hardened-cc1: No such         


        
2条回答
  •  难免孤独
    2020-12-05 07:07

    According to this topic installation of the package redhat-rpm-config should fix this problem.

    /usr/lib/rpm/redhat/redhat-hardened-cc1 is included in the package redhat-rpm-config. I had a similiar issue on a local development system and installing this package solved the issue for me.

提交回复
热议问题