Link error: “Cannot find -ltinfo” on Ubuntu 12.04 on a 32-bit arm processor

后端 未结 2 1969
一向
一向 2021-02-18 21:58

I get the following link error when I\'m compiling a small function using ncurses for an Ubuntu 12.04 running on arm. The error is

arm-linux-gnueabihf/bin/ld: ca         


        
2条回答
  •  故里飘歌
    2021-02-18 22:49

    When you cross compile the nurses library, configure this option --with-termlib. It shall install libtinfo into your target location.

提交回复
热议问题