<div dir="ltr">Yes. Unfortunately the version of curses which is supplied by XCode doesn't include the wide character support so I have to point elsewhere.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 4, 2019 at 5:57 PM Juan E. Sanchez <<a href="mailto:juan.e.sanchez@gmail.com">juan.e.sanchez@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
It looks like you are making progress. Note that to use the gcc-8 and <br>
g++-8 compilers from brew, you need to have include files in <br>
/usr/include. Otherwise you get strange errors about missing _stdio.h, <br>
etc. I believe in another thread, someone suggests how to make sure the <br>
headers get put in the right place.<br>
<br>
I looked and found curses.h (not ncurses.h) here.<br>
/usr/include/curses.h.<br>
<br>
Regards,<br>
<br>
Juan<br>
<br>
<br>
On 6/4/19 12:56 PM, Bryan Christ wrote:<br>
> Juan,<br>
> <br>
> Thanks for your suggestions. I went through that thread pretty <br>
> thoroughly trying all of the recommended tips and, unfortunately, <br>
> nothing seemed to work. I also tried running that open command you <br>
> cited, but there are still no includes for ncurses in /usr/include or <br>
> /usr/local/include. In fact /usr/include doesn't even exist on this <br>
> system (mojave).<br>
> <br>
> On Mon, Jun 3, 2019 at 5:27 PM Juan E. Sanchez <<a href="mailto:juan.e.sanchez@gmail.com" target="_blank">juan.e.sanchez@gmail.com</a> <br>
> <mailto:<a href="mailto:juan.e.sanchez@gmail.com" target="_blank">juan.e.sanchez@gmail.com</a>>> wrote:<br>
> <br>
> Hello,<br>
> <br>
> According to this:<br>
> <a href="https://github.com/neovim/neovim/issues/9050" rel="noreferrer" target="_blank">https://github.com/neovim/neovim/issues/9050</a><br>
> <br>
> It looks like macOS made it so you have to do something like this:<br>
> open<br>
> /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg<br>
> <br>
> for libraries and includes to be put into /usr.<br>
> <br>
> Regards,<br>
> <br>
> Juan<br>
> <br>
> <br>
> On 6/3/19 5:16 PM, Bryan Christ wrote:<br>
> > New to this mailing list so I hope I'm asking this in the right<br>
> venue...<br>
> ><br>
> > I'm trying to port my application (a program and a shared<br>
> library) to<br>
> > OSX. It was rather easy to modify my CMake script to go from<br>
> Linux and<br>
> > add in FreeBSD. OSX is giving me a lot of problems though.<br>
> ><br>
> > First of all find_package() doesn't seem to find the ncurses.dylib<br>
> > installed by XCode as it test for wsyncup(). For whatever<br>
> reason, that<br>
> > test fails. The default location for the library is pretty sane<br>
> > (/usr/lib/) but the include file for ncurses is about 9<br>
> directories deep<br>
> > inside of XCode's install directory. Lots of problems here so I<br>
> decided<br>
> > to look at the symbol linkage for htop and see what it does. It<br>
> links<br>
> > to a different version that got pulled down via homebrew in<br>
> > /usr/local/opt/ncurses/lib (and include respectively)<br>
> ><br>
> > Is there a way to force CMake to link to the library found there<br>
> instead<br>
> > of in /usr/lib/ ?<br>
> ><br>
> > --<br>
> > Bryan<br>
> > <><<br>
> ><br>
> <br>
> -- <br>
> <br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a> <<a href="http://www.kitware.com" rel="noreferrer" target="_blank">http://www.kitware.com</a>><br>
> <br>
> Please keep messages on-topic and check the CMake FAQ at:<br>
> <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
> <br>
> Kitware offers various services to support the CMake community. For<br>
> more information on each offering, please visit:<br>
> <br>
> CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
> CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
> CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
> <br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
> <br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="https://cmake.org/mailman/listinfo/cmake" rel="noreferrer" target="_blank">https://cmake.org/mailman/listinfo/cmake</a><br>
> <br>
> <br>
> <br>
> -- <br>
> Bryan<br>
> <><<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Bryan<br><><</div>