News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

How to use the SDK

Started by acinfo64, September 11, 2008, 02:44:13 PM

Previous topic - Next topic

acinfo64

Dear All,

To compile a plugin I need the wxPropgrid library (-lpropgrid) and wxscintilla. But I don't know how to use the SDK. When I compile C::B from SVN I use the Codeblocks.cbp and for the plugins the ContribPlugins.workspace.

However for the SDK there is no .cbp file or workspace to compile the SDK and even when I compile C::B from SVN it doesn't include the building of the SDK libraries.

Can someone explain how to compile the SDK and build the libraries.

MortenMacFly

Quote from: acinfo64 on September 11, 2008, 02:44:13 PM
Can someone explain how to compile the SDK and build the libraries.
If you compile C::B yourself from the sources using the project/workspace files you described you already have all you need:

1.) SDK headers: [CB_SOURCE_FOLDER]\include
2.) SDK libraries: [CB_SOURCE_FOLDER]\devel\lib*.a most important here: libcodeblocks.a
3.) wxPropGrid headers: [CB_SOURCE_FOLDER]\plugins\contrib\wxSmith\propgrid\contrib\include
4.) wxPropGrid library: [CB_SOURCE_FOLDER]\plugins\contrib\wxSmith\propgrid\libpropgrid.a
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

acinfo64


Thank you very much, the problem is solved. I was looking in the SDK directories like branches\ex\sdk\propgrid but I could not find a way to compile. Also I did / do not understand the differences between all the versions.

Probably I did a build instead of building workspace when compiling the plugins, so I could not found the libpropgrid library in the plugin directory when I did a search through all files.  Because the wxPropGrid is not a plugin I didn't look further in the plugins.

wenxibo

Quote from: acinfo64 on September 11, 2008, 04:43:11 PM

Thank you very much, the problem is solved. I was looking in the SDK directories like branches\ex\sdk\propgrid but I could not find a way to compile. Also I did / do not understand the differences between all the versions.

Probably I did a build instead of building workspace when compiling the plugins, so I could not found the libpropgrid library in the plugin directory when I did a search through all files.  Because the wxPropGrid is not a plugin I didn't look further in the plugins.

I have the same problem,

Had you created the libcodeblocks.a under win32 ?
There is a makefile.in in sdk folder, but I don't know how to use it to build (or compile it to makefile) in windows.

why official not offer a libcodeblocks for download ?

dje

Quote from: wenxibo on December 12, 2008, 06:56:18 PM
Quote from: acinfo64 on September 11, 2008, 04:43:11 PM

Thank you very much, the problem is solved. I was looking in the SDK directories like branches\ex\sdk\propgrid but I could not find a way to compile. Also I did / do not understand the differences between all the versions.

Probably I did a build instead of building workspace when compiling the plugins, so I could not found the libpropgrid library in the plugin directory when I did a search through all files.  Because the wxPropGrid is not a plugin I didn't look further in the plugins.

I have the same problem,

Had you created the libcodeblocks.a under win32 ?
There is a makefile.in in sdk folder, but I don't know how to use it to build (or compile it to makefile) in windows.

why official not offer a libcodeblocks for download ?

Don't cross post !

Dje