Making all in wxFlatNotebook
make[4]: Entering directory `/home/lukasz/progz/trunk/src/sdk/wxFlatNotebook'
make[4]: *** Brak reguł do zrobienia obiektu `TextDropTarget.h', wymaganego przez `all-am'. Stop.
No rules for making 'TextDropTarget.h' object required for 'all-am'. Stop.
make[4]: Leaving directory `/home/lukasz/progz/trunk/src/sdk/wxFlatNotebook'
make[3]: *** [all-recursive] Błąd 1 (Error 1)
make[3]: Leaving directory `/home/lukasz/progz/trunk/src/sdk'
make[2]: *** [all] Błąd 2 (Error 2)
make[2]: Leaving directory `/home/lukasz/progz/trunk/src/sdk'
make[1]: *** [all-recursive] Błąd 1 (Error 1)
make[1]: Leaving directory `/home/lukasz/progz/trunk/src'
make: *** [all-recursive] Błąd 1 (Error 1)
i have this error when compiling 1731 version on Linux:Edit the Makefile.am in "[C::B]\sdk\wxFlatNotebook" and change "TextDropTarget.h" to "wxFNBDropTarget.h". This should help.
bindings/sc_wxstring.cpp: In function `char* StringCharAt(unsigned int,
scWxString&)':
bindings/sc_wxstring.cpp:232: error: `_C' undeclared (first use this function)
bindings/sc_wxstring.cpp:232: error: (Each undeclared identifier is reported
only once for each function it appears in.)
bindings/sc_wxstring.cpp: In function `scWxString* StringFactory(unsigned int,
const char*)':
bindings/sc_wxstring.cpp:259: error: `_U' undeclared (first use this function)
make[4]: *** [sc_wxstring.lo] Błąd 1
make[4]: Leaving directory `/home/lukasz/progz/trunk/src/sdk/as'
make[3]: *** [all-recursive] Błąd 1
make[3]: Leaving directory `/home/lukasz/progz/trunk/src/sdk'
make[2]: *** [all] Błąd 2
make[2]: Leaving directory `/home/lukasz/progz/trunk/src/sdk'
make[1]: *** [all-recursive] Błąd 1
make[1]: Leaving directory `/home/lukasz/progz/trunk/src'
make: *** [all-recursive] Błąd 1
In addition:Thanks, i use your first fix and when i try to compile C::B i had some error (i dont remember now). Today i downloaded new SVN version (1748), and i have different error with sc_wxstring (it's in my previous post).
I've seen that with revision 1736 a fix has been introduced. Unfortunately the changes still have an error. To fix the fix (;-)), in the same file, replace "wxFNBDropTarget.h.h" with "wxFNBDropTarget.h". Morten.
In file included from editorconfigurationdlg.h:6,
from editorconfigurationdlg.cpp:39:
editormanager.h:40: error: syntax error before `<' token
editormanager.h:44: error: syntax error before `public'
editormanager.h: In function `wxFlatNotebook* GetNotebook()':
editormanager.h:47: error: `m_pNotebook' undeclared (first use this function)
editormanager.h:47: error: (Each undeclared identifier is reported only once
for each function it appears in.)
editormanager.h: In function `AutoCompleteMap& GetAutoCompleteMap()':
editormanager.h:52: error: `m_AutoCompleteMap' undeclared (first use this
function)
editormanager.h: In function `EditorColorSet* GetColorSet()':
editormanager.h:72: error: invalid use of `this' in non-member function
editormanager.h:72: error: `m_Theme' undeclared (first use this function)
editormanager.h: At global scope:
editormanager.h:126: error: invalid use of undefined type `class EditorManager'
editormanager.h:40: error: forward declaration of `class EditorManager'
editormanager.h:150: error: syntax error before `protected'
editormanager.h:169: error: `AutoCompleteMap m_AutoCompleteMap' used prior to
declaration
editormanager.h:170: error: syntax error before `private'
editormanager.h:172: error: destructors must be member functions
editormanager.h:176: error: `wxFlatNotebook*m_pNotebook' used prior to
declaration
editormanager.h:178: error: `EditorColorSet*m_Theme' used prior to declaration
editormanager.h:186: error: `friend' can only be specified inside a class
editormanager.h:189: error: syntax error before `private'
editormanager.h:189: error: virtual outside class declaration
editormanager.h:189: error: non-member function `const wxEventTable*
GetEventTable()' cannot have `const' method qualifier
editormanager.h:189: error: no matching function for call to `wxEventHashTable
::wxEventHashTable()'
/usr/include/wx-2.6/wx/event.h:2298: error: candidates are:
wxEventHashTable::wxEventHashTable(const wxEventHashTable&)
/usr/include/wx-2.6/wx/event.h:2262: error:
wxEventHashTable::wxEventHashTable(const wxEventTable&)
editormanager.h:189: error: virtual outside class declaration
editormanager.h:189: error: non-member function `wxEventHashTable&
GetEventHashTable()' cannot have `const' method qualifier
editormanager.h:190: error: syntax error before `protected'
editormanager.h: In function `bool sanity_check_advanced()':
editormanager.h:190: error: invalid use of `this' in non-member function
editormanager.h:190: error: invalid use of `this' in non-member function
editormanager.h:190: error: `m_sanitycheck_self' undeclared (first use this
function)
editormanager.h: At global scope:
editormanager.h:190: error: `void*m_sanitycheck_self' used prior to declaration
editormanager.h:192: error: syntax error before `}' token
In file included from editorconfigurationdlg.cpp:41:
manager.h:72: error: syntax error before `*' token
editorconfigurationdlg.cpp: In constructor `
EditorConfigurationDlg::EditorConfigurationDlg(wxWindow*)':
editorconfigurationdlg.cpp:132: error: `GetEditorManager' undeclared (first use
this function)
editorconfigurationdlg.cpp:475:10: warning: #warning "wxComboBox::SetString() doesn't work under non-win32 platforms"
editorconfigurationdlg.cpp: In member function `void
EditorConfigurationDlg::OnOK(wxCommandEvent&)':
editorconfigurationdlg.cpp:697: error: `GetEditorManager' undeclared (first use
this function)
make[4]: *** [editorconfigurationdlg.lo] Błąd 1
make[4]: Leaving directory `/home/lukasz/progz/trunk/src/sdk'
make[3]: *** [all-recursive] Błąd 1
make[3]: Leaving directory `/home/lukasz/progz/trunk/src/sdk'
make[2]: *** [all] Błąd 2
make[2]: Leaving directory `/home/lukasz/progz/trunk/src/sdk'
make[1]: *** [all-recursive] Błąd 1
make[1]: Leaving directory `/home/lukasz/progz/trunk/src'
make: *** [all-recursive] Błąd 1
Version 1751. The same error.
Developers do you read this thread? :(
What is this? Are you gonna post one message per-commit?Please delete it if you dont need it.
Anyway, the project builds fine for me in windows and in linux (both with PCH on and off). Try a fresh checkout.Do you think i didnt tried fresh chcek out before reporting this bug?
Do you think i didnt tried fresh chcek out before reporting this bug?
#include <manager.h>to configmanager.h, projectmanager.h and toolsmanager.h which fixed problems with managers, i had this problem with cbU2C function:
globals.cpp: In function `wxChar* cbU2C(const wxString&)':
globals.cpp:471: error: invalid conversion from `const wxChar*' to `wxChar*'
make[4]: *** [globals.lo] Błąd 1
make[4]: Leaving directory `/home/lukasz/progz/trunk/src/sdk'
make[3]: *** [all-recursive] Błąd 1
make[3]: Leaving directory `/home/lukasz/progz/trunk/src/sdk'
make[2]: *** [all] Błąd 2
make[2]: Leaving directory `/home/lukasz/progz/trunk/src/sdk'
make[1]: *** [all-recursive] Błąd 1
make[1]: Leaving directory `/home/lukasz/progz/trunk/src'
make: *** [all-recursive] Błąd 1
return str.mb_str();
return (wxChar*)str.mb_str();
manager.cpp: In static member function `static Manager* Manager::Get(wxFrame*)
':
manager.cpp:67: error: `cbThrow' undeclared (first use this function)
manager.cpp:67: error: (Each undeclared identifier is reported only once for
each function it appears in.)
make[4]: *** [manager.lo] Błąd 1
make[4]: Leaving directory `/home/lukasz/progz/trunk/src/sdk'
make[3]: *** [all-recursive] Błąd 1
make[3]: Leaving directory `/home/lukasz/progz/trunk/src/sdk'
make[2]: *** [all] Błąd 2
make[2]: Leaving directory `/home/lukasz/progz/trunk/src/sdk'
make[1]: *** [all-recursive] Błąd 1
make[1]: Leaving directory `/home/lukasz/progz/trunk/src'
make: *** [all-recursive] Błąd 1
OK, we 're getting somewhere now. Add #include "cbexception.h" in sdk/manager.cpp.Files pluginmanager.h and personalitymanager.h needs #include "manager.h", too.
I wonder if updating GCC would help somehow, at least with the compilation problems.Maybe it could help (i will try to upgrade gcc in this weekend) but i compiled v1703 on 3.3.6 without errors.
Versions to update gcc and g++ to: 3.4.5 or 4.0.2