Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: bufanda on August 27, 2007, 08:00:53 pm

Title: Problem on building a new compiler plugin
Post by: bufanda on August 27, 2007, 08:00:53 pm
Hi,
I just tried to create a new compiler plug-in for an embedded system. So i tried the Plugin wizard.

After finishing the wizard i tried to compile, just for testing, then i got the following error.

The functions below mentiond are all prototyped in the header file.

I'm useing CB 1.0 RC2.

can anyone help me please
Quote
iark0r.cpp: In function `cbPlugin* GetPlugin()':
iark0r.cpp:17: error: cannot allocate an object of type `IARK0R'
iark0r.cpp:17: error:   because the following virtual functions are abstract:
C:/Programme/CodeBlocks/codeblocks-1.0rc2-sdk//include/cbplugin.h:232: error:  virtual bool cbCompilerPlugin::IsRunning() const
C:/Programme/CodeBlocks/codeblocks-1.0rc2-sdk//include/cbplugin.h:234: error:  virtual int cbCompilerPlugin::GetExitCode() const
C:/Programme/CodeBlocks/codeblocks-1.0rc2-sdk//include/cbplugin.h:247: error:  virtual int cbCompilerPlugin::Configure(cbProject*, ProjectBuildTarget*)
Title: Re: Problem on building a new compiler plugin
Post by: killerbot on August 27, 2007, 08:07:47 pm
forget about RC2; use the nightlies
Title: Re: Problem on building a new compiler plugin
Post by: raph on August 27, 2007, 08:08:01 pm
Please use a current nightly build, rc2 is verrrry old. :)