KFM

Martin Piskernig martin.piskernig at stuwo.at
Sat Dec 4 13:27:35 GMT 1999


On Sat, 04 Dec 1999, you wrote:
> > What do you mean by reference ?  Are you saying programming reference ?  If so
> > what are you trying to do ?
> 
> well, I dont know if this is the right place  to ask, but.
> I am trying to use KFM::download to download a file.
> and wherever, whenever I try...
> KFM * kfmconn;
> kfmconn = new kfmconn;
> When I compile, I get an error- undefined reference to KFM::KFM(void)
> of course, I have #include <kfm.h>
> I am really perplexed on this one.

You have to add the -lkfm library link in the project->options->linker options.
And you need not create a KFM object because ::download is static. So you better
use bool b = KFM::download(file); directly.

Martin




More information about the KDevelop mailing list