Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Mac Binaries

<< < (9/25) > >>

Pecan:

--- Quote from: afb ---
I'm not sure you can use it for compiling (?),
but I uploaded the file to SourceForge instead:

http://wxd.sf.net/codeblocks-rev2040_macppc.zip

This is not a permanent location for it, though,
hope BerliOS is working for the next C::B build.

HTH,
--anders



--- End quote ---

Anders, I received the .app and am attempting to compile CB using the unix.cbp
thanks

I just cannot seem to find the right combo of autoconf-HELL to create a configure.

I noticed there are a few errors in the code using "#ifdef __FreeBSD__".
I've changed them to "#if defined (__FreeBSD__) || defined (__WXMAC__)"

Should I have just defined __FreeBSD__ in the build options and left the code alone, or is adding __WXMAC__  and adding that to the build options appropriate.

thanks
pecan

Pecan:
While compiling svn source under the afb Mac binary, I'm getting the following error. I'm using the CodeBlocks-unix.cbp


--- Code: ---Compiling: sdk/wxscintilla/src/scintilla/src/StyleContext.cxx\
Compiling: sdk/wxscintilla/src/scintilla/src/UniConversion.cxx\
Compiling: sdk/wxscintilla/src/scintilla/src/ViewStyle.cxx\
Compiling: sdk/wxscintilla/src/scintilla/src/WindowAccessor.cxx\
Compiling: sdk/wxscintilla/src/scintilla/src/XPM.cxx\
Compiling: sdk/wxscintilla/src/PlatWX.cpp\
Linking dynamic library: devel/libwxscintilla.so\
g++: unrecognized option `-shared'\
ld: Undefined symbols:\

--- End code ---

I cannot find "-shared" in the .cbp

Wherever it is, I think I should change it to "-dynamic".
Can anyone tell me where this flag is comming from.

thanks
pecan

mandrav:

--- Quote ---I cannot find "-shared" in the .cbp

Wherever it is, I think I should change it to "-dynamic".
Can anyone tell me where this flag is comming from.
--- End quote ---

In advanced compiler options, look inside the "Link DLL" command.

afb:

--- Quote from: Pecan on April 29, 2006, 12:29:11 am ---I cannot find "-shared" in the .cbp

Wherever it is, I think I should change it to "-dynamic".

--- End quote ---

For doing plugins, the flag to use is: -bundle
-dynamic is used for .dylib (shared libraries)

On Linux, both of these are using a .so suffix.

Pecan:

--- Quote from: afb on April 29, 2006, 09:51:22 am ---
--- Quote from: Pecan on April 29, 2006, 12:29:11 am ---I cannot find "-shared" in the .cbp

Wherever it is, I think I should change it to "-dynamic".

--- End quote ---

For doing plugins, the flag to use is: -bundle
-dynamic is used for .dylib (shared libraries)

On Linux, both of these are using a .so suffix.

--- End quote ---

wxscintilla ends up being a .dll on windows, so I assumed it needed -dynamic on the MAC. 

Is -dynamic correct for wxscintilla ?


EDIT: Oh.. Anders.. will looking inside your .app tell me which flag to use. Could you post your make file, so we could see the options used?

thanks
pecan

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version