[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cur_set
From: |
Patrick |
Subject: |
cur_set |
Date: |
Sat, 4 Feb 2017 21:33:42 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.8.0 |
Hi Everyone
I have a really weird issue and I am stumped.
I am hacking with a runtime. It has ncurses built in. The code has many
ncurses calls. However if I try to use cur_set, it won't build but it
builds fine without cur_set.
This little piece is an example:
cbreak ();
keypad (stdscr, 1);
cur_set(1) ;
nonl ();
noecho ();
The other ncurses calls compile without issue but cur_set is not recognized.
It's even weirder. I can call cur_set from the language the runtime
supports. It's there and it's working.
I am using ncurses 6 with these special options,
./configure --enable-ext-putwin --enable-ext-mouse --enable-widec
--with-shared --with-gpm --prefix=/usr/
I seriously doubt there is anything wrong with ncurses but it's so weird
that all of the other ncurses functionality is there, it's just cur_set
that is not being found.
Here is the actual error I get:
screenio.c:567:9: warning: implicit declaration of function ‘cur_set’
[-Wimplicit-function-declaration] cur_set(1) ;
and later it bails with:
undefined reference to `cur_set'
Any help would be very much appreciated ! -Patrick