User forums > Help
rev3910 does not build (for Mac OSX)
bnilsson:
Two problems:
--- Quote ---codesnippets.cpp: In member function 'int CodeSnippets::LaunchProcess(const wxString&, const wxString&)':
codesnippets.cpp:1198: error: 'DebugLog' was not declared in this scope
make[1]: *** [codesnippets.lo] Error 1
make: *** [all-recursive] Error 1
--- End quote ---
--- Quote ---editorconfigurationdlg.cpp: In member function 'void EditorConfigurationDlg::UpdateSampleFont(bool)':
editorconfigurationdlg.cpp:477: error: no matching function for call to 'wxFontDialog::wxFontDialog(EditorConfigurationDlg* const, wxFontData*)'
/Users/bnilsson/include/wx-2.8/wx/mac/carbon/fontdlg.h:47: note: candidates are: wxFontDialog::wxFontDialog(const wxFontDialog&)
/Users/bnilsson/include/wx-2.8/wx/mac/carbon/fontdlg.h:36: note: wxFontDialog::wxFontDialog(wxWindow*, const wxFontData&)
/Users/bnilsson/include/wx-2.8/wx/mac/carbon/fontdlg.h:35: note: wxFontDialog::wxFontDialog()
make[3]: *** [editorconfigurationdlg.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
--- End quote ---
I did bootstrap,
./configure --enable-contrib --with-wx-config=$HOME/bin/wx-config --prefix=$HOME
make clean,
make clean-zipfiles,
make
Any suggestions?
Pecan:
--- Quote from: bnilsson on April 30, 2007, 07:40:11 pm ---Two problems:
--- Quote ---codesnippets.cpp: In member function 'int CodeSnippets::LaunchProcess(const wxString&, const wxString&)':
codesnippets.cpp:1198: error: 'DebugLog' was not declared in this scope
make[1]: *** [codesnippets.lo] Error 1
make: *** [all-recursive] Error 1
--- End quote ---
--- End quote ---
Change "DebugLog" to "Manager::Get()->GetMessageManager()->DebugLog" and see if it plays better.
bnilsson:
"Manager::Get()->GetMessageManager()->DebugLog" fixed the codesnippets error, thanks.
The editorconfigurationdlg.cpp problem remains.
Auria:
--- Quote from: bnilsson on April 30, 2007, 07:40:11 pm ---editorconfigurationdlg.cpp:477: error: no matching function for call to 'wxFontDialog::wxFontDialog(EditorConfigurationDlg* const, wxFontData*)'
candidates are:
/Users/bnilsson/include/wx-2.8/wx/mac/carbon/fontdlg.h:36: note: wxFontDialog::wxFontDialog(wxWindow*, const wxFontData&)
--- End quote ---
the error message says it - it wants a reference but it is given a pointer. i think this was changed btween wx 2.6 and 2.8. just use a * to make the pointer a reference and that should build
DragonSt0rm:
Compilling issues also in Mandriva Spring 2007 with the same version:
sc_wxtypes.cpp: In function 'SQInteger ScriptBindings::wxArrayString_Index(SQVM*)':
sc_wxtypes.cpp:141: error: no matching function for call to 'wxString::wc_str()'
/usr/include/wx-2.8/wx/string.h:888: note: candidates are: const wxWCharBuffer wxString::wc_str(const wxMBConv&) const
make[4]: *** [sc_wxtypes.lo] Error 1
make[4]: Leaving directory `/.../codeblocks/trunk/src/sdk/scripting/bindings'
This happen both using wx-2.8 and 2.6, both with and without --disable-pch in ./configure
In 2.6 by commenting out the precomp include, undefining CB_PRECOMP by hand and defining an unicode flags I saw in wx/string.h
this file compile. But bombs out later in editormanager.cpp and others.
Did anyone else tried to compile it on Mandriva ?
Navigation
[0] Message Index
[#] Next page
Go to full version