mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] (no subject)


From: Old Man
Subject: Re: [Mingw-cross-env-list] (no subject)
Date: Sat, 15 Dec 2012 12:29:51 -0700

That doesn't work for me, but I did a little reverse engineering and fixed it! PDcurses' default header name is "curses.h", so the correct sample would be:

/***********main.cpp*****************/
#include <iostream>
#include <curses.h>
 
int main(){
  
}

Thanks!


On Sat, Dec 15, 2012 at 10:44 AM, Omar Andrés Zapata Mesa <address@hidden> wrote:
Hi Old

Just added ncurses directory before the header ;D

/***********main.cpp*****************/
#include <iostream>
#include <ncurses/ncurses.h>
 
int main(){
  
}

Regards,

On Sat, Dec 15, 2012 at 11:13 AM, Old Man <address@hidden> wrote:
Hello. I've just compiled mxe on Slackware 13.37 (64 bit), and I'm struggling to compile a test program I made that uses ncurses.
The program is an empty main that #include's <ncurses.h>, but it cannot find it, producing the compiler error, "fatal error: ncurses.h: No such file or directory" How do I get mxe to find the ncurses header files?
(program, commands and output here: http://hastebin.com/dekaruduta.java )
--
Regards,
oldtopman




--
Omar Andres Zapata Mesa
Fundamental Interaction Phenomenology Gruop (Gfif)
Head Developer 
Gfif Developers (Gfif Dev)
Division of computer science 
System Engineering Student
Universidad de Antioquia At Medellin - Colombia
Usuario Linux  #490962




--
--
Regards,
oldtopman


reply via email to

[Prev in Thread] Current Thread [Next in Thread]