Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
New plugin: CodePaste
tibsi:
ok thanx
Now i use the v2.8.11 but i still get one of those
--- Quote ---C:\Users\Tibsi_\Desktop\CodePaste\CodePaste.cpp||In member function 'virtual void CodePaste::BuildModuleMenu(ModuleType, wxMenu*, const FileTreeData*)':|
C:\Users\Tibsi_\Desktop\CodePaste\CodePaste.cpp|87|warning: enumeration value 'mtProjectManager' not handled in switch|
C:\Users\Tibsi_\Desktop\CodePaste\CodePaste.cpp|87|warning: enumeration value 'mtLogManager' not handled in switch|
C:\Users\Tibsi_\Desktop\CodePaste\CodePaste.cpp|87|warning: enumeration value 'mtOpenFilesList' not handled in switch|
C:\Users\Tibsi_\Desktop\CodePaste\CodePaste.cpp|87|warning: enumeration value 'mtUnknown' not handled in switch|
C:\Users\Tibsi_\Desktop\CodePaste\CodePaste.cpp||In member function 'void CodePaste::OnPasteBin(wxCommandEvent&)':|
C:\Users\Tibsi_\Desktop\CodePaste\CodePaste.cpp|180|warning: comparison between signed and unsigned integer expressions|
.objs\CodePaste.o:C:\Users\Tibsi_\Desktop\CodePaste\CodePaste.cpp|156|undefined reference to `_imp___ZN11wxScintilla15GetSelectedTextEv'|
||=== Build finished: 1 errors, 5 warnings ===|
--- End quote ---
ptDev:
UPDATE: I just successfully rebuilt it here. It compiles and links fine. The problem seems to be that you're using an older version of the SDK. You should checkout the source code from the svn trunk and try again.
* Make sure your build of wx2.8.11 was cleanly rebuilt (I think you have it ok).
* Is your C::B source code from the trunk? Recently, wxScintilla was changed from a dynamic to a static library. If you're not using the trunk version, update your copy.
* Make sure you clean and rebuild Code::Blocks from scratch. In order to rebuild the SDK, you don't need to to rebuild the "contrib plugins" workspace. To be sure, clean the "devel" and "output" folders before doing the rebuild.
killerbot:
HI, is the latest code for this available ?
I would like to try it out, bring it also to linux (if possible), and when it looks table enough, maybe make a contrib plug-in out of it ....
ptDev:
--- Quote from: killerbot on June 07, 2012, 07:46:22 am ---HI, is the latest code for this available ?
I would like to try it out, bring it also to linux (if possible), and when it looks table enough, maybe make a contrib plug-in out of it ....
--- End quote ---
Hi,
I just recently had a chance to look again at it.
I don't recall ever making a *-unix.cbp project for it, but I believe the code is perfectly portable.
I'll upload it to a server and provide you with an svn link to checkout from...
EDIT: I just changed the first post, the url for checking out is http://codepaste-plugin-codeblocks.googlecode.com/svn/trunk/.
Navigation
[0] Message Index
[*] Previous page
Go to full version