From: Thomas Dickey Newsgroups: comp.os.linux.development.apps,comp.os.msdos.programmer,comp.os.msdos.djgpp Subject: Re: Text (console) UIs for C/C++ (Linux and DOS) Date: 30 Jul 2002 21:17:40 GMT Organization: RadixNet Internet Services Lines: 26 Message-ID: References: NNTP-Posting-Host: saltmine.radix.net User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (SunOS/5.8 (sun4u)) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In comp.os.linux.development.apps Philip Pemberton wrote: > Going back to Curses/CDK for a moment, can anyone send me a simple app and > makefile that will actually compile? No matter how hard I try, I can't get > my program to link against CDK. "ld" just keeps complaining about unresolved > symbols and the like. Anyone know what magic incantations I have to throw at > g++ to get my app to compile? The original cdk headers don't include the declarations to make C++ know that the functions are C, e.g., #ifdef __cplusplus extern "C" { #endif #include #ifdef __cplusplus } #endif Though I incorporated that change a while ago... -- Thomas E. Dickey http://dickey.his.com ftp://dickey.his.com