Author Topic: When will we get Code::Blocks for Mac OS X?  (Read 26812 times)

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: When will we get Code::Blocks for Mac OS X?
« Reply #15 on: July 16, 2006, 08:15:24 pm »
No, not at all.
I think its obivious the CB dev teams doesn't think its too odd, after all that is how Code::Blocks is developed.

That makes sense if you you take the approach Project File = Makefile, to put it in unix terms.  I am hoping that a system can be developed where we get Project File = autoconf + automake scripts.  Although that is probably to large a goal for the Code::Blocks core, so something like the plugin I sketched out above would probably be a better idea.  Of course the whole idea maybe overly complex but autotools are popular for a reason.

Offline bnilsson

  • Almost regular
  • **
  • Posts: 184
Re: When will we get Code::Blocks for Mac OS X?
« Reply #16 on: July 16, 2006, 11:50:19 pm »
I was able to generate the configuration files by installing the latest autoconf, automake, and libtool using darwinports and by modifying bootstrap file somewhat
./configure generated the Makefiles as it should.
However, it failed in the make process.
What version of wxwidgets is required?
My wxwidgets is installed using darwinports, it is version 2.6.3.
The first error was in that wxUSleep was not declared.
-- Ingnorance should not be taken for stupidity --

HW: PowerMac Dual PowerPC G5 2.3Ghz, 1GB RAM OS: MacOSX 10.4.10 Compiler: powerpc-apple-darwin8-gcc-4.0.1

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: When will we get Code::Blocks for Mac OS X?
« Reply #17 on: July 17, 2006, 12:38:25 am »
This error is not Macintosh specific. It is a bug in the Code::Blocks sources which is normally not visible (and which nobody cares about), as it is hidden in some #ifdef construct. Strange that you see it though, that part of code should only be evaluated for wx 2.4.

Replace wxUSleep with wxUsleep.

Actually, this should have been removed many months ago. We talked about removing it alltogether (since we don't support wx 2.4 anyway) but then we somehow forgot about it.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: When will we get Code::Blocks for Mac OS X?
« Reply #18 on: July 17, 2006, 12:50:14 am »
Ah, never mind... I removed it. Just run svn update.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline bnilsson

  • Almost regular
  • **
  • Posts: 184
Re: When will we get Code::Blocks for Mac OS X?
« Reply #19 on: July 17, 2006, 10:16:30 am »
Thanks, wxUsleep helped.

Now to the next:
In file included from ../../../src/src/wxDockit/include/wx/gripper.h:19,
                 from src/generic/barholder.cpp:13:
../../../src/src/wxDockit/include/wx/gdi.h:64:6: error: #error "Your platform does not currently support wxGdi"

Is there anything that can be done about this?
I did not specify any options when installing wxwidgets using darwinports.
Any good links for svn, since I don't have it?


-- Ingnorance should not be taken for stupidity --

HW: PowerMac Dual PowerPC G5 2.3Ghz, 1GB RAM OS: MacOSX 10.4.10 Compiler: powerpc-apple-darwin8-gcc-4.0.1

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: When will we get Code::Blocks for Mac OS X?
« Reply #20 on: July 17, 2006, 10:49:11 am »
Quote
In file included from ../../../src/src/wxDockit/include/wx/gripper.h:19
Hmm... that's a strange one, we don't reference wxDockit at all any more (we use wxAUI).
Unless wxprec.h includes it (which I don't know), I have no idea how this would be included at all. Global search does not find any of gripper.h, barholder.h, or gdi.h in the entire source tree of Code::Blocks.

Maybe you could try and recompile wxWidgets from source? It almost looks like something *inside* your wxWidgets install is not consistent?

Quote
Any good links for svn, since I don't have it?
http://subversion.tigris.org
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline bnilsson

  • Almost regular
  • **
  • Posts: 184
Re: When will we get Code::Blocks for Mac OS X?
« Reply #21 on: July 17, 2006, 12:17:32 pm »
In the released source kit for BC (codeblocks-1.0rc2) there is definetely a wxDockit and a gripper.h inside it:
.//src/src/wxDockit/include/wx/gripper.h
Are you referring to a development version?

-- Ingnorance should not be taken for stupidity --

HW: PowerMac Dual PowerPC G5 2.3Ghz, 1GB RAM OS: MacOSX 10.4.10 Compiler: powerpc-apple-darwin8-gcc-4.0.1

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2178
Re: When will we get Code::Blocks for Mac OS X?
« Reply #22 on: July 17, 2006, 12:58:24 pm »
In the released source kit for BC (codeblocks-1.0rc2) there is definetely a wxDockit and a gripper.h inside it:
.//src/src/wxDockit/include/wx/gripper.h
Are you referring to a development version?



You really do not want to waste your time on CB 1.0rc2.
Building from SVN will reward you in both short and long run.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: When will we get Code::Blocks for Mac OS X?
« Reply #23 on: July 17, 2006, 01:32:20 pm »
In the released source kit for BC...
This will never work.
Get Subversion (http://subversion.tigris.org) and run svn checkout svn://svn.berlios.de/codeblocks/trunk from a console. Then try what happens if you run ./bootstrap and configure
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline Angel Portal

  • Multiple posting newcomer
  • *
  • Posts: 34
  • We are in the Country
wxWidgets With Code::Blocks
« Reply #24 on: July 17, 2006, 01:47:13 pm »
I installed the wxWidgtes in the c:\ directory.
How do I configure the Code::Blocks to use the Library.
I did what it was explained in the IDE but it is not
enouth.

Angel Portal
[email protected]
Angel Portal - AG
Win:98
wx 2.6.3 MinGW

sethjackson

  • Guest
Re: wxWidgets With Code::Blocks
« Reply #25 on: July 17, 2006, 01:54:46 pm »
I installed the wxWidgtes in the c:\ directory.
How do I configure the Code::Blocks to use the Library.
I did what it was explained in the IDE but it is not
enouth.

Angel Portal
[email protected]

Please do not hijack threads like this......

EDIT:

Cross-posting isn't so good either....
« Last Edit: July 17, 2006, 02:00:06 pm by sethjackson »

Offline Angel Portal

  • Multiple posting newcomer
  • *
  • Posts: 34
  • We are in the Country
Re: wxWidgets With Code::Blocks
« Reply #26 on: July 17, 2006, 02:03:51 pm »
I Posted By mistake.
It it was not done by proposal.
Best Regards

Please do not hijack threads like this......

EDIT:

Cross-posting isn't so good either....
Angel Portal - AG
Win:98
wx 2.6.3 MinGW

sethjackson

  • Guest
Re: wxWidgets With Code::Blocks
« Reply #27 on: July 17, 2006, 02:04:48 pm »
I Posted By mistake.
It it was not done by proposal.
Best Regards

Please do not hijack threads like this......

EDIT:

Cross-posting isn't so good either....

K. See my reply to your other post. ;)

Offline bnilsson

  • Almost regular
  • **
  • Posts: 184
Re: When will we get Code::Blocks for Mac OS X?
« Reply #28 on: July 17, 2006, 02:39:33 pm »
I realize I have not presented my platform:
PoweMac G5 dual 2.3GHz
Mac OS X 10.4.7
wxwidgets 2.6.3 / darwinports

I did svn checkout of CB, a re-install of wxwidgets, bootstrap, configure and make.
This time I did not get very far in make:

./infowindow.h:52: error: expected class-name before '{' token
make[2]: *** [sdk.h.gch] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

and if I just remove by // : public wxPopupWindow
to test and condinue make I get another halt at 

./src/propgrid/propgrid.cpp: In member function 'virtual bool wxPropertyGrid::SetFont(const wxFont&)':
./src/propgrid/propgrid.cpp:5904: error: 'res' was not declared in this scope

I see no reason to continue at this point.
Any hints would be appreciated.
-- Ingnorance should not be taken for stupidity --

HW: PowerMac Dual PowerPC G5 2.3Ghz, 1GB RAM OS: MacOSX 10.4.10 Compiler: powerpc-apple-darwin8-gcc-4.0.1

Offline bnilsson

  • Almost regular
  • **
  • Posts: 184
Re: When will we get Code::Blocks for Mac OS X?
« Reply #29 on: July 17, 2006, 03:14:50 pm »
And my gcc version:
gcc --version
powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5341)

Is this thread the proper one for trying to build CB for OS X on a Mac by 'remote support'?
Or is it just a waste of time (mine and everybody else's) before a core developer gets his/her hands on a Mac?
I am happy to give it some time if you can bear with me, but I guess it will be slow.
-- Ingnorance should not be taken for stupidity --

HW: PowerMac Dual PowerPC G5 2.3Ghz, 1GB RAM OS: MacOSX 10.4.10 Compiler: powerpc-apple-darwin8-gcc-4.0.1