digitalmars.D.learn - ncurses linking(?) problem on Mac OS X
- Joakim (34/34) May 03 2014 Hi,
- Mike Parker (3/8) May 03 2014 Have you actually installed ncurses on your system?
Hi, I am very new to D, I just started with it a week ago or so, and I haven't really been using compiled languages before (except for Java), so I'm pretty confused with the whole thing in general. ;) I try to use the ncurses library in my project using: "dependencies" : { "ncurses" : "~master" }, "lflags" : ["-v"] But when I try to compile it, I get the following: configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 armv6m armv7m armv7em Library search paths: /usr/share/dmd/lib /usr/lib /usr/local/lib Framework search paths: /Library/Frameworks/ /System/Library/Frameworks/ ld: library not found for -lncursesw clang: error: linker command failed with exit code 1 (use -v to see invocation) --- errorlevel 1 FAIL .dub/build/application-debug-posix.osx-x86_64-dmd-4349FBA7803F9504BC9BF29263B86A68 text edit executable Error executing command build: Link command failed with exit code 1 -------- Terminated, exit code: 2 -------- I have no idea where to go from here to be honest. It's probably something easily fixed for someone even a tiny bit more experienced. I would love some help if anyone feels up to it.
May 03 2014
On 5/3/2014 9:36 PM, Joakim wrote:-------- Terminated, exit code: 2 -------- I have no idea where to go from here to be honest. It's probably something easily fixed for someone even a tiny bit more experienced. I would love some help if anyone feels up to it.Have you actually installed ncurses on your system? https://gist.github.com/cnruby/960344
May 03 2014
Have you actually installed ncurses on your system? https://gist.github.com/cnruby/960344I will try this, but I did a search/info with homebrew and it said it was not recommended because OS X already has ncurses installed by default. Something about conflicts that could possibly occur. I found libncurses.dylib and such already installed in /usr/lib.
May 03 2014
It worked perfecly. I knew I had missed something stupid. :) What confused me was the homebrew warning. Thank you for helping a newbie out. :)
May 03 2014