CMake can't find Curses

后端 未结 6 1116
臣服心动
臣服心动 2021-02-12 13:54

I am trying to compile the openlase library from www.marcansoft.com and have been running into problems with CMake. CMake is returning an error stating that it cannot find Curse

6条回答
  •  鱼传尺愫
    2021-02-12 14:24

    Do you have the corresponding -dev package installed too? On Ubuntu (and probably anything derived from Debian) it is libncurses5-dev. Other systems may use -devel or similar tags.

    The compiler is looking for the library headers, and those aren't provided by the standard package. (The headers aren't needed at runtime, only when compiling software, so they make it easy to remove extra useless stuff for systems that aren't going to be doing any software compiling.)

提交回复
热议问题