User forums > Help

Two issues with C::B 13.12 SVN with wxWidgets 3.1 on OSX 10.10

<< < (4/4)

MortenMacFly:

--- Quote from: jens on June 03, 2015, 06:13:12 am ---I made several fixes for the C::B sources, but the fortran-plugin is not maintained by us and so the fixes are not there.

--- End quote ---
If you provide them to me, I can apply the fixes.

juanfal:
Hi, calling for help, SOS!

trying to make C::B work with Spanish keyboard. I think some other keyboards fail too.  It is impossible to do anything when the opening-curly-brace does not work, you can imagine.

Thanks Anders F Björklund, I have known there could be some patches for src/sdk/wxscintilla/src/ScintillaWX.cpp

--- Code: ----
-    if (key)
-        return rv;
-    else
-        return 1;

--- End code ---
etc, etc.

It seems somehow brew could install it, and even before that, I could put the .patch files in the Cellar directories.

No luck with anything.

Nor brew can install code blocks

--- Code: ---$ brew install codeblocks
Error: No available formula for codeblocks
Searching formulae...
Searching taps...
Caskroom/cask/codeblocks

--- End code ---
nor I can compile it from sources

--- Code: ---Making all in autorevision
/bin/sh ../../../libtool  --tag=CXX   --mode=link g++ -DTIXML_USE_STL -O2 -ffast-math -DCB_AUTOCONF  -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions  -Wl,--no-undefined -o auto_revision auto_revision-autorevision.o ../../base/tinyxml/libtinyxml.la
libtool: link: g++ -DTIXML_USE_STL -O2 -ffast-math -DCB_AUTOCONF -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -Wl,--no-undefined -o auto_revision auto_revision-autorevision.o -Wl,-bind_at_load  ../../base/tinyxml/.libs/libtinyxml.a
ld: unknown option: --no-undefined
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [auto_revision] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

--- End code ---

…nothing

How could I compile, Yosemite 10.10.3, just to start to find a fix for the { problem?

Thanks

stahta01:
Did you try the steps in this thread for homebrew http://forums.codeblocks.org/index.php/topic,20366.0.html

Tim S.



--- Quote from: juanfal on June 25, 2015, 10:36:41 am ---Hi, calling for help, SOS!

trying to make C::B work with Spanish keyboard. I think some other keyboards fail too.  It is impossible to do anything when the opening-curly-brace does not work, you can imagine.

Thanks Anders F Björklund, I have known there could be some patches for src/sdk/wxscintilla/src/ScintillaWX.cpp

--- Code: ----
-    if (key)
-        return rv;
-    else
-        return 1;

--- End code ---
etc, etc.

It seems somehow brew could install it, and even before that, I could put the .patch files in the Cellar directories.

No luck with anything.

Nor brew can install code blocks

--- Code: ---$ brew install codeblocks
Error: No available formula for codeblocks
Searching formulae...
Searching taps...
Caskroom/cask/codeblocks

--- End code ---
…nothing

How could I compile, Yosemite 10.10.3, just to start to find a fix for the { problem?

Thanks

--- End quote ---

afb:
I haven't submitted the formula yet, since homebrew wants release versions (and not only --HEAD)
And the "last release" (13.12) doesn't work with wxWidgets 3, so think it'll have to wait until next release.


--- Quote from: https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Acceptable-Formulae.md ---Stable versions

Formulae in the core repository must have a stable version tagged by the upstream project. Tarballs are preferred to git checkouts, and tarballs should include the version in the filename whenever possible.
--- End quote ---

For the actual error, I think the fix was as simple as:

--- Code: --- inreplace "configure", "-Wl,--no-undefined", "-Wl,-undefined,error"
--- End code ---

This fix and the fix for *.so (vs *.dylib) should be prepared to be fixed properly/upstream, for OS X.
Currently this is left as an exercise for the reader, Code::Blocks needs real OS X developer to volunteer.

But if you want to apply some additional patches, you can probably just throw them in at the end:
https://github.com/afb/homebrew/blob/codeblocks-osx/Library/Formula/codeblocks.rb

Navigation

[0] Message Index

[*] Previous page

Go to full version