User forums > Using Code::Blocks

Compiling on Mac OS X

<< < (2/13) > >>

Urxae:
Well, it seems CodeBlocks-unix.cbp at least includes wxScintilla, so I exported a makefile for it and attached it. Zipped to meet both the size and file type restrictions of this board. You'll have to remodify it to work on OS X, I didn't do anything but export it.
Hope this helps.

EDIT: You mentioned you use wx 2.5.x, I'm not sure which project you need for that. Attached file is from CodeBlocks-unix.cbp, so for wx 2.4.

[attachment deleted by admin]

mandrav:
Makefiles may be outdated for a while. They 're not constantly outdated :P
Judging by the error log, you probably used an older makefile. Newer CVS contains wxScintilla, which is what you 're missing.
So, update from CVS and everything should be fine again :)


--- Quote ---I got pretty far with compiling Code::Blocks on Mac OS X, using gcc 3.3 and the bundled wxWidgets 2.5.x by making some changes to the source and makefile, but now I'm stuck. I know that Mac OS X isn't officially supported, but maybe you can help me anyway.
--- End quote ---
It 's not supported because none of us owns a Mac :P
We 'd be glad though to have Mac-guy on board :D

*EDIT*:
Notice that under linux it only works with wx2.4 currently. So if you finally build it but it doesn't run, don't despair. It might have the same problem with the linux port. In that case, either try to fix it (and many users will be greatful :) ), or use wx2.4.

TheWizzard:
I use the latest CVS and did a make clean but now it already fails at libwxscintilla.so.

I think I'll just build wx 2.6 from source and try again then. I'll let you know if it works (or at least compiles)

TheWizzard:
Well,

The Makefile.unix.wx2.6 doesn't seem to include scintilla :(
and the other one won't work with wx 2.6, will it?

TheWizzard

mandrav:
Sorry, my bad  :oops:
Because the linux port doesn't work with wx2.6, the relevant project file and makefile were outdated...

I 'm updating both now.
Because anonymous cvs lags a few hours, I 'm attaching a (hopefully) correct Makefile.unix.wx2.6 as a zip file.
If it doesn't work, try Makefile.unix. You will only have to change the lib names for wx...

[attachment deleted by admin]

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version