Ncurses compilation error with Visuald - undefined symbol initscr
I created a dcurses dub package project with dub init testnc
. Then I used dub generate visuald
the folder testnc
to create a VisualD project. I have set lib path to .dub\lib
and named ncursesd-d.lib
(as generated dub).
When I try to compile (the simplest test I could think of linking curses library).
import deimos.ncurses.ncurses;
void main()
{
initscr();
}
I am getting the following error
Erro 1 Error 42: Symbol Undefined _initscr D:\Repos\testnc\
I've also tried changing deimos.ncurses.ncurses
to deimos.ncurses.curses
and to to deimos.ncurses
no avail.
Any ideas?
Visual Studio 2013 - VisualD Update 4 - 0.3.38 D 2.066.1
source to share
No one has answered this question yet
Check out similar questions: