User forums > Using Code::Blocks
Keyboard macros
vix:
--- Quote ---The plugin most probably needs to be re-compiled against the nightly dll so that it's symbols and addresses corellate with the nightly .dll or .so
--- End quote ---
I opened the KeyMacs.cbp file (from KeyMacs 3.15.3) and simply press Build from my Nightly Build C::B
But I have a lot of error messages:
- sdk.h: No such file or directory
- configurationpanel.h: No such file or directory
- ...
Should I have also C::B source files on my PC to successfully recompile this plugin?
Jenna:
--- Quote from: vix on February 12, 2009, 08:37:19 am ---Should I have also C::B source files on my PC to successfully recompile this plugin?
--- End quote ---
Yes !
vix:
--- Quote ---Insert Quote
Quote from: vix on Today at 08:37:19 am
Should I have also C::B source files on my PC to successfully recompile this plugin?
Yes !
--- End quote ---
I tried downloading C::B source files and wxWidgets headers, but I didn't manage to recompile the plugin without errors :x
Could MortenMacFly send me a compiled copy of the plugin working with the last C:B NB?
Thanks
Jenna:
--- Quote from: vix on February 12, 2009, 01:37:28 pm ---I tried downloading C::B source files and wxWidgets headers, but I didn't manage to recompile the plugin without errors :x
--- End quote ---
You should in this case build C::B yourself (the actual trunk is not the same as used for the nightlies) and wxWidgets-headers are not enough, you also need the lib(s) to link against.
Did you read the Nighly Cookbook?
It tells you what you need to build C::B from source.
vix:
I successfully built C::B and the plugins in the contrib directory by myself.
Then I added the KeyMacs project (sources of the version 3.15.3 that is the last one I downloaded some months ago), and I had to do this changes to recompile it
- replace GetAppWindow() with GetAppFrame() in KeyMacs.cpp (I found this suggestion in the C::B forum)
- in the Build options... -> Search directories replace $(#cb)\sdk\wxscintilla\include with $(#cb.include)\wxscintilla\include
but I noticed that the Build command created a dll of 6870kB (the one shipped with the sources is 468kB
Is there something wrong?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version