User forums > Help

Problem with Dynamic Library CB target on MacOSX

<< < (3/4) > >>

bnilsson:
Thanks, afb.
Noticed I changed my signature back to what it was before?  I think I need it.

bnilsson:
As an exercise, I am trying to build a test version of CB using CB.
The build of CoreBlocks-unix.cbp fails, probably for reasons discussed in this thread.
The target "Core app plugins" reports
"/usr/bin/ld: devel/libwxscintilla.so is input for the dynamic link editor, is not relocatable by the static link editor again
collect2: ld returned 1 exit status"

There is no difference(execept for the -shared error message) if I use -shared, -bundle or -dynamic in the command line.

Is it true to say that CB cannot be built using CB on MacOSX?
Or can the original CoreBlocks-unix.cbp be modified to make it work?


BTW: Does this kind of topic belong here? Or should it be in "Using Code::Blocks"?

Game_Ender:

--- Quote from: bnilsson on October 31, 2006, 08:45:32 am ---Is it true to say that CB cannot be built using CB on MacOSX?
--- End quote ---

Of course not, but you just have to realize that Code::Blocks projects files are not really portable, so even though its called a Unix project file its really a Linux one.  I think Pecan had/maintains a Codeblocks-mac.cbp project file.  Hopefully he will post.

bnilsson:
That's good news.
May I humbly ask if it would be possible to bundle it with the svn distribution?

Pecan:

--- Quote from: bnilsson on October 31, 2006, 09:04:47 am ---That's good news.
May I humbly ask if it would be possible to bundle it with the svn distribution?

--- End quote ---

I have cbp's for svn 2984 for OSX 10.3 ansi and unicode.
I have attached a zip file to this message.

I create the projects by comparing my old mac-cbp's with the unix-cbp's.
You will have to update them to the current svn.

I believe you will also have to modify the link sections of these 10.3 cbp's for 10.4.



[attachment deleted by admin]

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version