Missing include “bits/c++config.h” when cross compiling 64 bit program on 32 bit in Ubuntu

前端 未结 8 2576
你的背包
你的背包 2020-11-29 15:36

I am running the 32bit version of Ubuntu 10.10 and trying to cross compile to a 64 bit target. Based on my research, I have installed the g++-multilib package.

The p

8条回答
  •  不知归路
    2020-11-29 16:19

    From my experience, sudo apt-get install gcc-multilib g++-multilib helps. But my another issue is that I FORGET to clean the directory so I still get the same error. It is the first time to use clang or cmake. So I just delete my original directory and re-compile and it works. Hope it helps someone like me.

提交回复
热议问题