delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/07/30/19:09:35

From: "Philip Pemberton" <philpem AT despammed DOT com>
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: <ai737d$11v3tk$1@ID-122086.news.dfncis.de>
References: <ai2q1i$10pqss$1 AT ID-122086 DOT news DOT dfncis DOT de> <pZc19.30286$eH2 DOT 12436140 AT ruti DOT visi DOT com> <ai3s30$10v94f$1 AT ID-122086 DOT news DOT dfncis DOT de> <fNe19.30307$eH2 DOT 12462302 AT ruti DOT visi DOT com> <ai46vb$1154hr$1 AT ID-122086 DOT news DOT dfncis DOT de> <xwh19.30356$eH2 DOT 12509121 AT ruti DOT visi DOT com> <ai6jjo$11tojb$1 AT ID-122086 DOT news DOT dfncis DOT de> <ai6vpk$7s5$3 AT news1 DOT Radix DOT Net>
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" <dickey AT saltmine DOT radix DOT net> wrote in message
news:ai6vpk$7s5$3 AT news1 DOT Radix DOT Net...
> In comp.os.linux.development.apps Philip Pemberton <philpem AT despammed DOT com>
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 <cdk.h>
>
> #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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019