News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

cbMakefileGen plugin

Started by kisoft, June 22, 2007, 10:17:13 AM

Previous topic - Next topic

kisoft

OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
[url="https://github.com/kisoft/cbmakefilegen"]https://github.com/kisoft/cbmakefilegen[/url]

mess-mate

Hi kysoft,
i've compiled the trunk version and it compiled as a charm on my debian/lenny distro.

But i can't no more use the 'Environment' settings of C::B.
C::B crash immediately when i want enter 'Environment'   :(

Any clue about it ?
regards
mess-mate (Linux/Debian)

MortenMacFly

Quote from: mess-mate on December 09, 2008, 06:32:30 PM
i've compiled the trunk version and it compiled as a charm on my debian/lenny distro.
C::B crash immediately when i want enter 'Environment'   :(
You most likely did not run the update script that updates the resources.
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]

mess-mate

Quote
You most likely did not run the update script that updates the resources.

What update do you mean ? C::B or the makegen resources ?
I run the last svn C::B version.
And i've downloaded and compiled http://svn.berlios.de/svnroot/repos/cbmakegen/trunk/
regards
mess-mate (Linux/Debian)

mmkider

#109
cbMakefileGen can't generate makefile in rev r5432 of codeblocks ( The 02 February 2009 build (5432) is out.)

:(




[attachment deleted by admin]

kisoft

Wait, please, I being try this on rev. 5435. I being compiled it now.
Thanks for bugreport.
Good luck!
OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
[url="https://github.com/kisoft/cbmakefilegen"]https://github.com/kisoft/cbmakefilegen[/url]

kisoft

I check this problem on cbMakefileGen version: 0.3.12.3. C::B rev.5435.
I have no problem.

History:
I does loading my cbMakefileGen project (cbmakegen.cbp).
"Build target: default" was selected after loading. (I don't change it).
I does select from menu: Project / Generate Makefile
Ok. Makefile was created normally.

If you have problem, send me (on email) your project WITHOUT source files. (file .cbp only) I will try help you.
Good luck!
OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
[url="https://github.com/kisoft/cbmakefilegen"]https://github.com/kisoft/cbmakefilegen[/url]

mmkider

#112
Quote from: kisoft on February 03, 2009, 11:45:48 AM
I check this problem on cbMakefileGen version: 0.3.12.3. C::B rev.5435.
I have no problem.

History:
I does loading my cbMakefileGen project (cbmakegen.cbp).
"Build target: default" was selected after loading. (I don't change it).
I does select from menu: Project / Generate Makefile
Ok. Makefile was created normally.

If you have problem, send me (on email) your project WITHOUT source files. (file .cbp only) I will try help you.
Good luck!

Sorry,it is no problem after I rebuild cbMakefileGen in the rev5435 of codeblocks.

Other question.
I try to output a makefile of codeblocks.cbp(codeblocks project file).
I get a crash.
Thank you for your reply.
:D

Error occured on Tuesday, February 3, 2009 at 19:43:19.

D:\CB_Pack\codeblocks_debug\codeblocks.exe caused an Access Violation at location 61a1b446 in module D:\CB_Pack\codeblocks_debug\codeblocks.dll Reading from location 0000002c.

Registers:
eax=0000002c ebx=00000001 ecx=11b5b52c edx=0023e940 esi=001e0344 edi=0023fa0c
eip=61a1b446 esp=0023e760 ebp=0023e760 iopl=0         nv up ei pl nz ac po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010216

Call stack:
61A1B446  D:\CB_Pack\codeblocks_debug\codeblocks.dll:61A1B446  _ZNK12wxStringBase13GetStringDataEv
619BF636  D:\CB_Pack\codeblocks_debug\codeblocks.dll:619BF636  _ZN12wxStringBaseC2ERKS_
61A144CE  D:\CB_Pack\codeblocks_debug\codeblocks.dll:61A144CE  _ZN8wxStringC1ERKS_
61886E5F  D:\CB_Pack\codeblocks_debug\codeblocks.dll:61886E5F  UnixFilename(wxString const&)  D:/CB_Pack/codeblocks_debug/SDK/CodeBlocks_src/src/sdk/globals.cpp:164
0A2C2CAE  D:\CB_Pack\codeblocks_debug\share\codeblocks\plugins\cbMakefileGen.dll:0A2C2CAE
0A2C353C  D:\CB_Pack\codeblocks_debug\share\codeblocks\plugins\cbMakefileGen.dll:0A2C353C
0A2C5723  D:\CB_Pack\codeblocks_debug\share\codeblocks\plugins\cbMakefileGen.dll:0A2C5723
0A2C8CEF  D:\CB_Pack\codeblocks_debug\share\codeblocks\plugins\cbMakefileGen.dll:0A2C8CEF
0A2C9C25  D:\CB_Pack\codeblocks_debug\share\codeblocks\plugins\cbMakefileGen.dll:0A2C9C25


MortenMacFly

Quote from: mmkider on February 03, 2009, 12:43:10 PM
I try to output a makefile of codeblocks.cbp(codeblocks project file).
I get a crash.
I don't get a crash but an error message "C::B MakefileGen found errors, saves aborted.".
Actually this doesn't help very much as I don't know what the actual error is - but it might be related.
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]

xiq

Hi there,

People who have found their way to this thread might be interested in a Python script I wrote to generate Makefiles from Code::Blocks project files. I am only testing it with the OpenFrameworks.cc projects but I think I made it in a way that it should be useful for general use.

http://pix.test.at/wiki/cbp2makefile

pix.

lkraider

The python script idea is awesome. I could never get the plugin to run, since I don't use codeblocks from the svn.

After I hacked the script a bit, it generated a Makefile for my project, but it didn't work for compiling yet. I will try to hack it a bit more to generate a working makefile here :)

rah2435


This is JUST the plugin I need.  Is it still available?   If so, how can I get it?

thanks,
rich

Svenstaro

Can we get this merged now? http://svn.berlios.de/svnroot/repos/cbmakegen/trunk/ is still available and it seems like a good plugin. It's been some time too!

oBFusCATed

It is pretty unreliable, unfortunately....
I've modified it, to make it generate the correct files :(
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

MortenMacFly

Quote from: oBFusCATed on November 16, 2009, 01:55:33 PM
I've modified it, to make it generate the correct files :(
...patch?! ;-)
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]