From: "Philip Pemberton" 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: Tue, 30 Jul 2002 23:14:17 +0100 Lines: 41 Message-ID: References: NNTP-Posting-Host: 81-86-139-157.dsl.pipex.com (81.86.139.157) X-Trace: fu-berlin.de 1028067373 35622836 81.86.139.157 (16 [122086]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Thomas Dickey" wrote in message news:ai6vpk$7s5$3 AT news1 DOT Radix DOT Net... > 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... Heh. Found that bug earlier today. Ah, well. It's free, it has bugs but it works almost perfectly when they're patched. Now to write my new super-cool app... Thanks to everyone who helped out - I'm very grateful for all your help. Thanks. -- Phil. philpem AT despammed DOT com <<-- Yes, this address is real... http://www.philpem.dsl.pipex.com/