Author Topic: KeyBinder error (undefined reference)  (Read 4854 times)

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
KeyBinder error (undefined reference)
« on: February 21, 2006, 09:26:26 am »
Hello,

Yesterday night, I was building C::B rev2051 and I have got an error from KeyBinder contr. plugin. Here it is:

Quote
-------------- Build: default in C::B KeyBinder ---------------
mingw32-g++.exe -shared   -Wl,--dll -LC:\Programme\DANAE\CodeBlocks\CodeBlocks\src\devel -LC:\Programme\DANAE\CodeBlocks\CodeBlocks\src\lib -LC:\temp\wxWidgets-2.6.3\lib\gcc_dll -LC:\Programme\MinGW\lib  .objs\keybinder.o .objs\menuutils.o .objs\cbkeybinder.o   -o ..\..\..\devel\share\CodeBlocks\plugins\keybinder.dll  -lcodeblocks -lwxmsw26u
.objs\keybinder.o: In function `ZN9wxKeyBind14GetKeyModifierER10wxKeyEvent':
C:/Programme/DANAE/CodeBlocks/CodeBlocks/src/plugins/contrib/keybinder/keybinder.cpp:505: undefined reference to `cbPlugin::NotImplemented(wxString const&)'
C:/Programme/DANAE/CodeBlocks/CodeBlocks/src/plugins/contrib/keybinder/keybinder.cpp:505: undefined reference to `cbPlugin::NotImplemented(wxString const&)'
C:/Programme/DANAE/CodeBlocks/CodeBlocks/src/plugins/contrib/keybinder/keybinder.cpp:505: undefined reference to `cbPlugin::NotImplemented(wxString const&)'
C:/Programme/DANAE/CodeBlocks/CodeBlocks/src/plugins/contrib/keybinder/keybinder.cpp:505: undefined reference to `cbPlugin::NotImplemented(wxString const&)'
C:/Programme/DANAE/CodeBlocks/CodeBlocks/src/plugins/contrib/keybinder/keybinder.cpp:505: undefined reference to `cbPlugin::NotImplemented(wxString const&)'
.objs\keybinder.o:C:/Programme/DANAE/CodeBlocks/CodeBlocks/src/plugins/contrib/keybinder/keybinder.cpp:505: more undefined references to `cbPlugin::NotImplemented(wxString const&)' follow
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 3 seconds)
6 errors, 0 warnings

Best wishes,
Michael

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4306
    • Code::Blocks IDE
Re: KeyBinder error (undefined reference)
« Reply #1 on: February 21, 2006, 03:48:51 pm »
Hello,

Yesterday night, I was building C::B rev2051 and I have got an error from KeyBinder contr. plugin. Here it is:

The SDK has changed. Build it first, before building the contrib plugins.
Be patient!
This bug will be fixed soon...

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: KeyBinder error (undefined reference)
« Reply #2 on: February 21, 2006, 09:02:58 pm »
Hello,

Yesterday night, I was building C::B rev2051 and I have got an error from KeyBinder contr. plugin. Here it is:

The SDK has changed. Build it first, before building the contrib plugins.

Hello,

Yes it is what I did. I usually build C::B (C::B project file), after I use update.bat and then I build the contr. plugins workspace. It has until now always worked.

Could it be that it is because I use wxWidgets 2.6.3RC1?

Best wishes,
Michael

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: KeyBinder error (undefined reference)
« Reply #3 on: February 21, 2006, 10:22:40 pm »
I have also tried with rev2057, but get exactly the same errors.

Best wishes,
Michael

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4306
    • Code::Blocks IDE
Re: KeyBinder error (undefined reference)
« Reply #4 on: February 21, 2006, 10:31:03 pm »
Rebuild the keybinder plugin and it'll work.
Be patient!
This bug will be fixed soon...

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: KeyBinder error (undefined reference)
« Reply #5 on: February 21, 2006, 10:42:30 pm »
Rebuild the keybinder plugin and it'll work.

Yes, it is exactly what I have finished to do (anyway, why I have not done this before :oops:). Re-build C::B and then keybinder. It works fine now. Thank you for your help :).

Best wishes,
Michael