<div dir="ltr">Hello,<div><br></div><div style>I do have the ncurses.h file </div><div style><br></div><div style>-----------------------------------------------------------------</div><div style><div>[root@83 cmake-2.8.10.2]# locate ncurses.h</div>
<div>/usr/include/ncurses.h</div><div>/usr/include/ncurses/ncurses.h</div><div>/usr/include/ncursesw/ncurses.h</div><div>------------------------------------------------------------------</div><div><br></div><div style>But how do I make the compiler notice it? </div>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/1/30 Bill Hoffman <span dir="ltr"><<a href="mailto:bill.hoffman@kitware.com" target="_blank">bill.hoffman@kitware.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 1/29/2013 4:06 AM, Pradeep Jha wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I have attached the cmake-run.out file with this email. Also the output<br>
for all the commands that you suggested is attached below.<br>
</blockquote>
<br></div>
You are missing the header files for curses, not the libraries. You need the headers to compile against the libraries.<br>
<br>
<br>
You need to find curses.h or ncurses.h on the machine, cmake looks here:<br>
<br>
find_file(CURSES_HAVE_CURSES_H curses.h )<br>
find_path(CURSES_CURSES_H_PATH curses.h )<br>
find_file(CURSES_HAVE_NCURSES_<u></u>H ncurses.h)<br>
find_file(CURSES_HAVE_NCURSES_<u></u>NCURSES_H ncurses/ncurses.h)<br>
find_file(CURSES_HAVE_NCURSES_<u></u>CURSES_H ncurses/curses.h)<br>
find_file(CURSES_HAVE_CURSES_H curses.h)<br>
<br>
Usually means you did not install the dev package.<br>
<br>
-Bill<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
Thanks<br>
------------------------------<u></u>------------------------------<u></u>-------------------<br>
[root@83 build]# /usr/local/bin/cmake ./../cmake-2.8.10.2<br>
Curses libraries were not found. Curses GUI for CMake will not be built.<br>
-- Configuring done<br>
-- Generating done<br>
-- Build files have been written to: /home/pradeep/softwares/cmake-<u></u>2.8.10.2<br>
------------------------------<u></u>------------------------------<u></u>-------------------<br>
[root@83 build]# locate libncurses.so.5<br>
/usr/lib/libncurses.so.5<br>
/usr/lib/libncurses.so.5.5<br>
/usr/lib64/libncurses.so.5<br>
/usr/lib64/libncurses.so.5.5<br>
------------------------------<u></u>------------------------------<u></u>-------------------<br>
[root@83 build]# /usr/local/bin/cmake<br>
-DCURSES_NCURSES_LIBRARY=/usr/<u></u>lib64/libncurses.so.5 ../cmake-2.8.10.2<br>
Curses libraries were not found. Curses GUI for CMake will not be built.<br>
-- Configuring done<br>
-- Generating done<br>
-- Build files have been written to: /home/pradeep/softwares/cmake-<u></u>2.8.10.2<br>
------------------------------<u></u>------------------------------<u></u>-------------------<br>
<br>
<br>
<br>
<br>
2013/1/29 Eric Noulard <<a href="mailto:eric.noulard@gmail.com" target="_blank">eric.noulard@gmail.com</a><br></div>
<mailto:<a href="mailto:eric.noulard@gmail.com" target="_blank">eric.noulard@gmail.com</a><u></u>>><br>
<br>
-DCURSES_NCURSES_LIBRARY=/usr/<u></u>lib64/libncurses.so.5 ../cmake-2.8.10.2<div class="im"><br>
<br>
<br>
<br>
<br>
<br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/<u></u>CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/<u></u>listinfo/cmake</a><br>
<br>
</div></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
-- <br>
Bill Hoffman<br>
Kitware, Inc.<br>
28 Corporate Drive<br>
Clifton Park, NY 12065<br>
<a href="mailto:bill.hoffman@kitware.com" target="_blank">bill.hoffman@kitware.com</a><br>
<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a><br>
<a href="tel:518%20881-4905" value="+15188814905" target="_blank">518 881-4905</a> (Direct)<br>
<a href="tel:518%20371-3971%20x105" value="+15183713971" target="_blank">518 371-3971 x105</a><br>
Fax <a href="tel:%28518%29%20371-4573" value="+15183714573" target="_blank">(518) 371-4573</a></font></span><div class="HOEnZb"><div class="h5"><br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/<u></u>CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/<u></u>listinfo/cmake</a><br>
</div></div></blockquote></div><br></div>