Undefined reference to `stdscr' while using ncurses

前端 未结 6 1000
被撕碎了的回忆
被撕碎了的回忆 2020-12-02 01:58

I am trying to compile my code in Ubuntu 11.10 and getting these errors and more.So far by googling it I think it is a linking error. Specifically, there have been suggestio

6条回答
  •  青春惊慌失措
    2020-12-02 02:16

    I came up with the same problem when building cscope 15.8.

    After ./configure, I first get error saying "ncurses.h" not found. It's because there is no libncurses-dev installed on my os.

    After installing libcurses-dev, I run make directly. Then got dozens of the "undefined reference to" error.

    After rebuild from start again, these errors were gone.

    ./configure

    make

提交回复
热议问题