[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cdk bug
From: |
Stanislav Ievlev |
Subject: |
Re: cdk bug |
Date: |
Fri, 9 Jul 2004 12:45:27 +0400 |
On Thu, Jul 08, 2004 at 10:10:15AM +0400, Mukovoz I.S. wrote:
> Hello
> I am from Russia and I just have started learn C++ for Linux
> now i writing configure programm for console i using ncurses
> but i would like to use and CDK too. I have some problems.
> When i trying to add cdk code into my c++ project - i got following error
> messages
> /home/nuclear/work/confv3/src/inputtypeddata.cpp:48: undefined reference to
> `initCDKScreen(_win_st*)'
> *inputtypeddata.o(.text+0x69):/home/nuclear/work/confv3/src/inputtypeddata.cpp:51:
>
> undefined reference to `initCDKColor()'
> *inputtypeddata.o(.text+0x9b):/home/nuclear/work/confv3/src/inputtypeddata.cpp:54:
>
> undefined reference to `newCDKEntry(SScreen*, int, int, char*, char*,
> unsigned long, unsigned long, EDisplayType, int, int, int, int, int)'
> *inputtypeddata.o(.text+0xf1):/home/nuclear/work/confv3/src/inputtypeddata.cpp:59:
>
> undefined reference to `newCDKButtonbox(SScreen*, int, int, int, int, char*,
> int, int, char**, int, unsigned long, int, int)'
> ....
> could you help me ?
Probably, you've forgot "extern "C"?
Also try to use C++ widget libraries for ncurses, e.g.:
ncurses++ (from ncurses distribution) or NDK++ and ncursesxx
(ndk-xx.sourceforge.net).
--
With best regards
Stanislav Ievlev
ALT Linux Team.
NDK++(ALT branch)
P.S. also from Russia ;))
- cdk bug, Mukovoz I.S., 2004/07/08
- Re: cdk bug,
Stanislav Ievlev <=