Author Topic: Problem on building a new compiler plugin  (Read 5022 times)

bufanda

  • Guest
Problem on building a new compiler plugin
« 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*)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: Problem on building a new compiler plugin
« Reply #1 on: August 27, 2007, 08:07:47 pm »
forget about RC2; use the nightlies

Offline raph

  • Almost regular
  • **
  • Posts: 242
Re: Problem on building a new compiler plugin
« Reply #2 on: August 27, 2007, 08:08:01 pm »
Please use a current nightly build, rc2 is verrrry old. :)