Author Topic: cbMakefileGen plugin  (Read 105690 times)

Offline kisoft

  • Almost regular
  • **
  • Posts: 194
Re: cbMakefileGen plugin
« Reply #105 on: June 24, 2008, 01:45:41 pm »
ok. I'll be back  :D
OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
https://github.com/kisoft/cbmakefilegen

Offline mess-mate

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: cbMakefileGen plugin
« Reply #106 on: December 09, 2008, 06:32:30 pm »
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)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9493
Re: cbMakefileGen plugin
« Reply #107 on: December 10, 2008, 07:43:02 am »
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: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline mess-mate

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: cbMakefileGen plugin
« Reply #108 on: December 10, 2008, 05:58:58 pm »
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)

Offline mmkider

  • Almost regular
  • **
  • Posts: 150
Re: cbMakefileGen plugin
« Reply #109 on: February 03, 2009, 04:28:40 am »
cbMakefileGen can't generate makefile in rev r5432 of codeblocks ( The 02 February 2009 build (5432) is out.)

 :(




[attachment deleted by admin]
« Last Edit: February 03, 2009, 04:32:28 am by mmkider »

Offline kisoft

  • Almost regular
  • **
  • Posts: 194
Re: cbMakefileGen plugin
« Reply #110 on: February 03, 2009, 10:19:08 am »
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:
https://github.com/kisoft/cbmakefilegen

Offline kisoft

  • Almost regular
  • **
  • Posts: 194
Re: cbMakefileGen plugin
« Reply #111 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!
OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
https://github.com/kisoft/cbmakefilegen

Offline mmkider

  • Almost regular
  • **
  • Posts: 150
Re: cbMakefileGen plugin
« Reply #112 on: February 03, 2009, 12:43:10 pm »
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
Code: [Select]
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
« Last Edit: February 03, 2009, 12:55:42 pm by mmkider »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9493
Re: cbMakefileGen plugin
« Reply #113 on: February 03, 2009, 01:21:14 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: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

xiq

  • Guest
Re: cbMakefileGen plugin
« Reply #114 on: March 24, 2009, 01:06:10 pm »
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

  • Guest
Re: cbMakefileGen plugin
« Reply #115 on: May 13, 2009, 05:43:13 pm »
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 :)

Offline rah2435

  • Single posting newcomer
  • *
  • Posts: 2
Re: cbMakefileGen plugin
« Reply #116 on: October 28, 2009, 03:21:14 pm »

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

thanks,
rich

Offline Svenstaro

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: cbMakefileGen plugin
« Reply #117 on: November 14, 2009, 04:11:46 am »
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!

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11783
    • Travis build status
Re: cbMakefileGen plugin
« Reply #118 on: November 16, 2009, 01:55:33 pm »
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!]

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9493
Re: cbMakefileGen plugin
« Reply #119 on: November 16, 2009, 04:31:00 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: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ