I have been writing a fairly simple little C++ program in darwin/Mac OS X that makes use of some ncurses functionality. In the process of writing this program, I found that the curses library included with my system was lacking in many features, such as color and keypad support. So I downloaded and (successfully) installed ncurses 5.2 on my system. Now whenever I try to build my program, or any program, using the new curses library that I installed, I get Undefined symbols errors, such as:
/usr/bin/ld: warning prebinding disabled because of undefined symbols
/usr/bin/ld: Undefined symbols:
_move
_refresh
_wgetnstr
_winsdelln
What is actually listed as undefined varies depending on what commands I use in the program. If I point the include line back to the original copy of curses, these problems go away, but then, of course, I loose the functionality that was the reason I installed the new copy of curses in the first place. Does anyone have any ideas as to what I can do about this, or at least where I can go for more help? I really want to be able to use the keypad and color in my program. Thanks!
Israel
Darwin 5.1
Ncurses 5.2
[Prev in Thread]
Current Thread
[Next in Thread]
"Undefined symbol" trouble with ncurses/darwin,
Israel Brewster<=