Hello, I do have the ncurses.h file
----------------------------------------------------------------- [root@83 cmake-2.8.10.2]# locate ncurses.h /usr/include/ncurses.h /usr/include/ncurses/ncurses.h /usr/include/ncursesw/ncurses.h ------------------------------------------------------------------ But how do I make the compiler notice it? 2013/1/30 Bill Hoffman <bill.hoff...@kitware.com> > On 1/29/2013 4:06 AM, Pradeep Jha wrote: > >> Hello, >> >> I have attached the cmake-run.out file with this email. Also the output >> for all the commands that you suggested is attached below. >> > > You are missing the header files for curses, not the libraries. You need > the headers to compile against the libraries. > > > You need to find curses.h or ncurses.h on the machine, cmake looks here: > > find_file(CURSES_HAVE_CURSES_H curses.h ) > find_path(CURSES_CURSES_H_PATH curses.h ) > find_file(CURSES_HAVE_NCURSES_**H ncurses.h) > find_file(CURSES_HAVE_NCURSES_**NCURSES_H ncurses/ncurses.h) > find_file(CURSES_HAVE_NCURSES_**CURSES_H ncurses/curses.h) > find_file(CURSES_HAVE_CURSES_H curses.h) > > Usually means you did not install the dev package. > > -Bill > > > >> Thanks >> ------------------------------**------------------------------** >> ------------------- >> [root@83 build]# /usr/local/bin/cmake ./../cmake-2.8.10.2 >> Curses libraries were not found. Curses GUI for CMake will not be built. >> -- Configuring done >> -- Generating done >> -- Build files have been written to: /home/pradeep/softwares/cmake-** >> 2.8.10.2 >> ------------------------------**------------------------------** >> ------------------- >> [root@83 build]# locate libncurses.so.5 >> /usr/lib/libncurses.so.5 >> /usr/lib/libncurses.so.5.5 >> /usr/lib64/libncurses.so.5 >> /usr/lib64/libncurses.so.5.5 >> ------------------------------**------------------------------** >> ------------------- >> [root@83 build]# /usr/local/bin/cmake >> -DCURSES_NCURSES_LIBRARY=/usr/**lib64/libncurses.so.5 ../cmake-2.8.10.2 >> Curses libraries were not found. Curses GUI for CMake will not be built. >> -- Configuring done >> -- Generating done >> -- Build files have been written to: /home/pradeep/softwares/cmake-** >> 2.8.10.2 >> ------------------------------**------------------------------** >> ------------------- >> >> >> >> >> 2013/1/29 Eric Noulard <eric.noul...@gmail.com >> <mailto:eric.noul...@gmail.com**>> >> >> -DCURSES_NCURSES_LIBRARY=/usr/**lib64/libncurses.so.5 >> ../cmake-2.8.10.2 >> >> >> >> >> >> >> -- >> >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at http://www.kitware.com/** >> opensource/opensource.html<http://www.kitware.com/opensource/opensource.html> >> >> Please keep messages on-topic and check the CMake FAQ at: >> http://www.cmake.org/Wiki/**CMake_FAQ<http://www.cmake.org/Wiki/CMake_FAQ> >> >> Follow this link to subscribe/unsubscribe: >> http://www.cmake.org/mailman/**listinfo/cmake<http://www.cmake.org/mailman/listinfo/cmake> >> >> > > -- > Bill Hoffman > Kitware, Inc. > 28 Corporate Drive > Clifton Park, NY 12065 > bill.hoff...@kitware.com > http://www.kitware.com > 518 881-4905 (Direct) > 518 371-3971 x105 > Fax (518) 371-4573 > > -- > > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/** > opensource/opensource.html<http://www.kitware.com/opensource/opensource.html> > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/**CMake_FAQ<http://www.cmake.org/Wiki/CMake_FAQ> > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/**listinfo/cmake<http://www.cmake.org/mailman/listinfo/cmake> >
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake