Пытаюсь скомпилить в линуксе билд для винды, все сделал точно по тутору: http://wiki.codeblocks.org/index.php?title=Cross_Compiling_wxWidgets_Applicat...
Но компилятор матерится, в чем может быть ошибка?
Лог:
-------------- Clean: WinRelease in startgame ---------------
Cleaned "startgame - WinRelease"
-------------- Build: WinRelease in startgame ---------------
Precompiling header: wx_pch.h
i586-mingw32msvc-g++: unrecognized option '-pthread'
cc1plus: внимание: /home/user1/site1/workspace/startgame/wx_pch.h.gch/Debug_wx_pch_h_gch: created by a different GCC executable
cc1plus: внимание: ./wx_pch.h.gch/Debug_wx_pch_h_gch: created by a different GCC executable
В файле, включенном из /usr/include/wx-2.8/wx/defs.h:21,
из /usr/include/wx-2.8/wx/wxprec.h:13,
из ./wx_pch.h:14,
из <command-line>:0:
/usr/include/wx-2.8/wx/platform.h:540:33: ошибка: wx/msw/libraries.h: Нет такого файла или каталога
В файле, включенном из /usr/include/wx-2.8/wx/generic/filedlgg.h:15,
из /usr/include/wx-2.8/wx/gtk/filedlg.h:13,
из /usr/include/wx-2.8/wx/filedlg.h:210,
из /usr/include/wx-2.8/wx/wx.h:94,
из /usr/include/wx-2.8/wx/wxprec.h:68,
из ./wx_pch.h:14,
из <command-line>:0:
/usr/include/wx-2.8/wx/listctrl.h:32:33: ошибка: wx/msw/listctrl.h: Нет такого файла или каталога
In file included from /usr/include/wx-2.8/wx/wxprec.h:13,
from ./wx_pch.h:14,
from <command-line>:0:
/usr/include/wx-2.8/wx/defs.h:2825: error: conflicting declaration ‘typedef struct GtkWidget* WXWidget’
/usr/include/wx-2.8/wx/defs.h:2616: error: ‘WXWidget’ has a previous declaration as ‘typedef void* WXWidget’
In file included from /usr/include/wx-2.8/wx/wx.h:21,
from /usr/include/wx-2.8/wx/wxprec.h:68,
from ./wx_pch.h:14,
from <command-line>:0:
/usr/include/wx-2.8/wx/hashmap.h: In member function ‘wxLongToLongHashMap_wxImplementation_HashTable::Node** wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(const long int&) const’:
/usr/include/wx-2.8/wx/hashmap.h:735: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from /usr/include/wx-2.8/wx/event.h:18,
from /usr/include/wx-2.8/wx/wx.h:25,
from /usr/include/wx-2.8/wx/wxprec.h:68,
from ./wx_pch.h:14,
from <command-line>:0:
/usr/include/wx-2.8/wx/clntdata.h: In member function ‘wxShadowObjectMethods_wxImplementation_HashTable::Node** wxShadowObjectMethods_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:
/usr/include/wx-2.8/wx/clntdata.h:20: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/include/wx-2.8/wx/clntdata.h: In member function ‘wxShadowObjectFields_wxImplementation_HashTable::Node** wxShadowObjectFields_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:
/usr/include/wx-2.8/wx/clntdata.h:25: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from /usr/include/wx-2.8/wx/event.h:21,
from /usr/include/wx-2.8/wx/wx.h:25,
from /usr/include/wx-2.8/wx/wxprec.h:68,
from ./wx_pch.h:14,
from <command-line>:0:
/usr/include/wx-2.8/wx/gdicmn.h: In member function ‘wxStringToColourHashMap_wxImplementation_HashTable::Node** wxStringToColourHashMap_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:
/usr/include/wx-2.8/wx/gdicmn.h:544: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from /usr/include/wx-2.8/wx/utils.h:21,
from /usr/include/wx-2.8/wx/cursor.h:41,
from /usr/include/wx-2.8/wx/event.h:22,
from /usr/include/wx-2.8/wx/wx.h:25,
from /usr/include/wx-2.8/wx/wxprec.h:68,
from ./wx_pch.h:14,
from <command-line>:0:
/usr/include/wx-2.8/wx/filefn.h: At global scope:
/usr/include/wx-2.8/wx/filefn.h:414: error: zero width for bit-field ‘wxAssert_415::BadFileSizeType’
In file included from /usr/include/wx-2.8/wx/wx.h:45,
from /usr/include/wx-2.8/wx/wxprec.h:68,
from ./wx_pch.h:14,
from <command-line>:0:
/usr/include/wx-2.8/wx/image.h: In member function ‘wxImageHistogramBase_wxImplementation_HashTable::Node** wxImageHistogramBase_wxImplementation_HashTable::GetNodePtr(const long unsigned int&) const’:
/usr/include/wx-2.8/wx/image.h:136: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from /usr/include/wx-2.8/wx/generic/filedlgg.h:15,
from /usr/include/wx-2.8/wx/gtk/filedlg.h:13,
from /usr/include/wx-2.8/wx/filedlg.h:210,
from /usr/include/wx-2.8/wx/wx.h:94,
from /usr/include/wx-2.8/wx/wxprec.h:68,
from ./wx_pch.h:14,
from <command-line>:0:
/usr/include/wx-2.8/wx/listctrl.h: At global scope:
/usr/include/wx-2.8/wx/listctrl.h:44: error: expected class-name before ‘{’ token
/usr/include/wx-2.8/wx/listctrl.h: In constructor ‘wxListView::wxListView(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, long int, const wxValidator&, const wxString&)’:
/usr/include/wx-2.8/wx/listctrl.h:55: error: ‘Create’ was not declared in this scope
/usr/include/wx-2.8/wx/listctrl.h: In member function ‘void wxListView::Select(long int, bool)’:
/usr/include/wx-2.8/wx/listctrl.h:64: error: ‘SetItemState’ was not declared in this scope
/usr/include/wx-2.8/wx/listctrl.h: In member function ‘void wxListView::Focus(long int)’:
/usr/include/wx-2.8/wx/listctrl.h:70: error: ‘SetItemState’ was not declared in this scope
/usr/include/wx-2.8/wx/listctrl.h:71: error: ‘EnsureVisible’ was not declared in this scope
/usr/include/wx-2.8/wx/listctrl.h: In member function ‘long int wxListView::GetFocusedItem() const’:
/usr/include/wx-2.8/wx/listctrl.h:77: error: ‘GetNextItem’ was not declared in this scope
/usr/include/wx-2.8/wx/listctrl.h: In member function ‘long int wxListView::GetNextSelected(long int) const’:
/usr/include/wx-2.8/wx/listctrl.h:82: error: ‘GetNextItem’ was not declared in this scope
/usr/include/wx-2.8/wx/listctrl.h: In member function ‘bool wxListView::IsSelected(long int) const’:
/usr/include/wx-2.8/wx/listctrl.h:88: error: ‘GetItemState’ was not declared in this scope
/usr/include/wx-2.8/wx/listctrl.h: In member function ‘void wxListView::SetColumnImage(int, int)’:
/usr/include/wx-2.8/wx/listctrl.h:98: error: ‘SetColumn’ was not declared in this scope
In file included from /usr/include/wx-2.8/wx/gtk/filedlg.h:13,
from /usr/include/wx-2.8/wx/filedlg.h:210,
from /usr/include/wx-2.8/wx/wx.h:94,
from /usr/include/wx-2.8/wx/wxprec.h:68,
from ./wx_pch.h:14,
from <command-line>:0:
/usr/include/wx-2.8/wx/generic/filedlgg.h: At global scope:
/usr/include/wx-2.8/wx/generic/filedlgg.h:251: error: expected class-name before ‘{’ token
Process terminated with status 1 (0 minutes, 2 seconds)
15 errors, 5 warnings