Hi, im new to code blocks and today i tried to compile it for the first time.
Im using mac os x 10.8 (M. Lion).
I saw this http://forums.next.codeblocks.org/index.php/topic,11379.msg77580.html (http://forums.next.codeblocks.org/index.php/topic,11379.msg77580.html) which describes the exact same issues
i'm having. I managed to fix the first one, and im still stuck on the second one:
configmanager.cpp: In function 'wxString<unnamed>::DetermineResourcesPath()':
configmanager.cpp:124: error: 'wxMacCFStringHolder' was not declared in this scope
I have no idea what i can do to make this work.
Any help would be great...
Thanks,
itzik
http://forums.next.codeblocks.org/index.php/topic,17231.0.html
Please use the search next time...
Quote from: oBFusCATed on April 01, 2013, 12:42:46 AM
http://forums.next.codeblocks.org/index.php/topic,17231.0.html
Please use the search next time...
Thanks, I guess i missed that answer.
After removing some plug in flags and a lot of work,
I am currently stuck over here:
Undefined symbols for architecture x86_64:
"Hunspell::get_dic_encoding()", referenced from:
HunspellInterface::GetCharacterEncoding() in libwxSpellChecker.a(HunspellInterface.o)
"Hunspell::spell(char const*, int*, char**)", referenced from:
HunspellInterface::IsWordInDictionary(wxString const&) in libwxSpellChecker.a(HunspellInterface.o)
"Hunspell::suggest(char***, char const*)", referenced from:
HunspellInterface::GetSuggestions(wxString const&) in libwxSpellChecker.a(HunspellInterface.o)
"Hunspell::Hunspell(char const*, char const*, char const*)", referenced from:
HunspellInterface::InitializeSpellCheckEngine() in libwxSpellChecker.a(HunspellInterface.o)
"Hunspell::~Hunspell()", referenced from:
HunspellInterface::UninitializeSpellCheckEngine() in libwxSpellChecker.a(HunspellInterface.o)
HunspellInterface::~HunspellInterface()in libwxSpellChecker.a(HunspellInterface.o)
HunspellInterface::~HunspellInterface()in libwxSpellChecker.a(HunspellInterface.o)
ld: symbol(s) not found for architecture x86_64I tried to disable hunspell because i had my share of problems with it before getting stuck on the above
with no luck.
tried to config with:
../configure --with-contrib-plugins=all,-FileManager,-NassiShneiderman,-SpellChecker,-WxTreeListCtrl,-wxTreeList,--host=i386-apple-darwin8 --target=i386-apple-darwin8Did not help as well.
I saw this post:
http://forums.next.codeblocks.org/index.php/topic,17178.0.html (http://forums.next.codeblocks.org/index.php/topic,17178.0.html)
Its related to my issue, but no specific answer for the above topic was found...
Where can i go from now?
Quote from: itzik on April 01, 2013, 04:01:36 AM
tried to config with:
../configure --with-contrib-plugins=all,-FileManager,-NassiShneiderman,-SpellChecker,-WxTreeListCtrl,-wxTreeList,--host=i386-apple-darwin8 --target=i386-apple-darwin8
Try removing the comma after -wxTreeList.
Also I don't think -WxTreeListCtrl,-wxTreeList are valid options.
p.s. I don't know it this will help though :)
As you suspected, It didn't ::)
Please, Any help?
There must be a solution....
Btw, which project is giving these errors? You've cropped the most interesting part of the log.
Sorry, I hope this will do:
Making all in SpellChecker
Making all in wxspellchecker
make[5]: Nothing to be done for `all'.
/bin/sh ../../../../libtool --tag=CXX --mode=link g++ -O2 -ffast-math -DCB_AUTOCONF -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -module -version-info 0:1:0 -shared -no-undefined -avoid-version -o libSpellChecker.la -rpath /usr/local/lib/codeblocks/plugins DictionariesNeededDialog.lo MySpellingDialog.lo OnlineSpellChecker.lo SpellCheckHelper.lo SpellCheckSettingsPanel.lo SpellCheckerConfig.lo SpellCheckerPlugin.lo StatusField.lo Thesaurus.lo ThesaurusDialog.lo mythes.lo wxThes.lo -L/opt/local/lib -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -lwx_osx_cocoau_aui-2.9 -lwx_osx_cocoau_propgrid-2.9 -lwx_osx_cocoau_richtext-2.9 -lwx_osx_cocoau_xrc-2.9 -lwx_osx_cocoau_webview-2.9 -lwx_osx_cocoau_html-2.9 -lwx_osx_cocoau_qa-2.9 -lwx_osx_cocoau_adv-2.9 -lwx_osx_cocoau_core-2.9 -lwx_baseu_xml-2.9 -lwx_baseu_net-2.9 -lwx_baseu-2.9 wxspellchecker/libwxSpellChecker.la ../../../sdk/libcodeblocks.la -lpthread -ldl
libtool: link: g++ -o .libs/libSpellChecker.so -bundle .libs/DictionariesNeededDialog.o .libs/MySpellingDialog.o .libs/OnlineSpellChecker.o .libs/SpellCheckHelper.o .libs/SpellCheckSettingsPanel.o .libs/SpellCheckerConfig.o .libs/SpellCheckerPlugin.o .libs/StatusField.o .libs/Thesaurus.o .libs/ThesaurusDialog.o .libs/mythes.o .libs/wxThes.o -Wl,-force_load,wxspellchecker/.libs/libwxSpellChecker.a -L/opt/local/lib -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL ../../../sdk/.libs/libcodeblocks.dylib -lwx_osx_cocoau_aui-2.9 -lwx_osx_cocoau_propgrid-2.9 -lwx_osx_cocoau_richtext-2.9 -lwx_osx_cocoau_xrc-2.9 -lwx_osx_cocoau_webview-2.9 -lwx_osx_cocoau_html-2.9 -lwx_osx_cocoau_qa-2.9 -lwx_osx_cocoau_adv-2.9 -lwx_osx_cocoau_core-2.9 -lwx_baseu_xml-2.9 -lwx_baseu_net-2.9 -lwx_baseu-2.9 -lpthread -ldl -O2 -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL
Undefined symbols for architecture x86_64:
"Hunspell::get_dic_encoding()", referenced from:
HunspellInterface::GetCharacterEncoding() in libwxSpellChecker.a(HunspellInterface.o)
"Hunspell::spell(char const*, int*, char**)", referenced from:
HunspellInterface::IsWordInDictionary(wxString const&) in libwxSpellChecker.a(HunspellInterface.o)
"Hunspell::suggest(char***, char const*)", referenced from:
HunspellInterface::GetSuggestions(wxString const&) in libwxSpellChecker.a(HunspellInterface.o)
"Hunspell::Hunspell(char const*, char const*, char const*)", referenced from:
HunspellInterface::InitializeSpellCheckEngine() in libwxSpellChecker.a(HunspellInterface.o)
"Hunspell::~Hunspell()", referenced from:
HunspellInterface::UninitializeSpellCheckEngine() in libwxSpellChecker.a(HunspellInterface.o)
HunspellInterface::~HunspellInterface()in libwxSpellChecker.a(HunspellInterface.o)
HunspellInterface::~HunspellInterface()in libwxSpellChecker.a(HunspellInterface.o)
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[5]: *** [libSpellChecker.la] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Interesting. You've disabled spellchecker and you're still building it.
Can you try to run make distclean and then repeat all other steps?
Run ./configure --help to see how the options are spelled exactly.
The options are case-sensitive and the option to disable SpellChecker-plugin is -spellchecker !
By the way, it's normally best practice to create a seperate build-folder and run the configure script (and the make and make install command) from there. In this case you can delete the whole folder (including hidden folders) to get a clean build-environmanet again.
Thanks a lot! ;D
The lower case did the trick...
I feel really stupid right now, but how can i bundle the application?
Sorry for what might be a silly question, but i never did such thing and i am kinda lost over here. ???
Is there a simple guide about what needs to be done? i saw this one:
http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Mac_OS_X#Way_One:_Mac_OS_.28resource.29 (http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Mac_OS_X#Way_One:_Mac_OS_.28resource.29)
But i dont really get what needs to be done? should i write a script holding the mentioned paragraphes in the mentioned guide?
And thanks once again
Quote from: jens on April 01, 2013, 01:43:13 PM
Run ./configure --help to see how the options are spelled exactly.
The options are case-sensitive and the option to disable SpellChecker-plugin is -spellchecker !
Jens is it possible to make configure fail if the option is spelled incorrectly or to ignore the case?
Still no clue on how to make a normal mac application after successful compiling... ???
Please guys,
Any help?
Total newbie on these issues...
Quote from: itzik on April 01, 2013, 04:25:22 PM
Still no clue on how to make a normal mac application after successful compiling... ???
Please guys,
Any help?
Total newbie on these issues...
Please be patient !
What do you expect ?
Here are very few Mac developer, so will have to wait until one of the answers or search the forum, if I remember correctly, there are therads about the same problem.
Quote from: oBFusCATed on April 01, 2013, 02:37:27 PM
Quote from: jens on April 01, 2013, 01:43:13 PM
Run ./configure --help to see how the options are spelled exactly.
The options are case-sensitive and the option to disable SpellChecker-plugin is -spellchecker !
Jens is it possible to make configure fail if the option is spelled incorrectly or to ignore the case?
I think stopping with an error is the better option, even if converting to lowercase is quite easy with sed.
Quote from: jens on April 01, 2013, 04:33:53 PM
I think stopping with an error is the better option, even if converting to lowercase is quite easy with sed.
Could it be done? I've looked at the code and it is quite a big and complex mess there (the standard state of autotools code) :)
Stop with an error ?
I can commit it this evening.
Or converting to lowercase, I can commit this also today.
Quote from: jens on April 01, 2013, 05:09:06 PM
Stop with an error ?
I prefer stopping with an error :)
If you can fix this it will be great :)
Quote from: oBFusCATed on April 01, 2013, 05:37:32 PM
Quote from: jens on April 01, 2013, 05:09:06 PM
Stop with an error ?
I prefer stopping with an error :)
If you can fix this it will be great :)
I just committed it to trunk (svn r8931).