wxMac XCode problems

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
stijnschoor
In need of some credit
In need of some credit
Posts: 1
Joined: Sun May 25, 2008 3:18 pm

wxMac XCode problems

Post by stijnschoor » Sun May 25, 2008 3:42 pm

Hello everyone

I've got some errors when I try to compile wxMac with XCode.
I've read the tutorial, copied result from terminal in XCode but it doesn't help.
I get errors like:
(150 errors)

Code: Select all

/Users/stijnvanderschoor/libs/wxMac-2.8.7/include/wx/evtloop.h:172: error: ISO C++ forbids declaration of 'wxWindowDisabler' with no type
/Users/stijnvanderschoor/libs/wxMac-2.8.7/include/wx/evtloop.h:172: error: expected ';' before '*' token
/Users/stijnvanderschoor/libs/wxMac-2.8.7/include/wx/evtloop.h:159: error: 'm_windowDisabler' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/include/wx/evtloop.h:159: error: expected type-specifier before 'wxWindowDisabler'
/Users/stijnvanderschoor/libs/wxMac-2.8.7/include/wx/evtloop.h:159: error: expected `;' before 'wxWindowDisabler'
/Users/stijnvanderschoor/libs/wxMac-2.8.7/include/wx/evtloop.h:165: error: 'm_windowDisabler' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp: At global scope:
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:84: error: 'wxAppBase' has not been declared
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:84: error: ISO C++ forbids declaration of 'wxAppBase' with no type
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:86: error: 'm_topWindow' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:88: error: 'm_useBestVisual' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:89: error: 'm_forceTrueColour' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:91: error: 'm_isActive' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:93: error: 'm_mainLoop' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:107: error: 'm_exitOnFrameDelete' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:107: error: 'Later' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp: At global scope:
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:110: error: 'wxAppBase' is not a class or namespace
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:112: error: cannot call member function 'virtual bool wxAppConsole::Initialize(int&, wxChar**)' without object
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:119: error: 'wxInitializeStockLists' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:121: error: 'wxBitmap' has not been declared
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:121: error: 'InitStandardHandlers' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp: At global scope:
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:130: error: expected constructor, destructor, or type conversion before '::' token
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:135: error: 'wxAppBase' is not a class or namespace
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:138: error: 'DeletePendingObjects' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:142: error: 'wxTopLevelWindows' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:150: error: 'wxBitmap' has not been declared
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:150: error: 'CleanUpHandlers' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:152: error: 'wxStockGDI' has not been declared
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:152: error: 'DeleteAll' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:154: error: 'wxDeleteStockLists' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:156: error: 'wxTheColourDatabase' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp: At global scope:
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:177: error: 'wxAppBase' is not a class or namespace
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:177: error: non-member function 'wxWindow* GetTopWindow()' cannot have cv-qualifier
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:179: error: 'm_topWindow' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:180: error: 'wxTopLevelWindows' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp: At global scope:
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:185: error: 'wxAppBase' is not a class or namespace
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:185: error: non-member function 'wxVideoMode GetDisplayMode()' cannot have cv-qualifier
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:190: error: 'wxAppBase' is not a class or namespace
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:190: error: non-member function 'wxLayoutDirection GetLayoutDirection()' cannot have cv-qualifier
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:308: error: 'wxAppBase' is not a class or namespace
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:310: error: 'm_mainLoop' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp: At global scope:
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:315: error: 'wxAppBase' is not a class or namespace
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:319: error: 'm_mainLoop' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp: At global scope:
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:325: error: 'wxAppBase' is not a class or namespace
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:335: error: 'wxAppBase' is not a class or namespace
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:347: error: 'wxAppBase' is not a class or namespace
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:357: error: 'wxAppBase' is not a class or namespace
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:361: error: 'm_exitOnFrameDelete' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:361: error: 'Later' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:363: error: 'Yes' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp: At global scope:
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:370: error: 'wxAppBase' is not a class or namespace
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:376: error: cannot call member function 'virtual int wxAppConsole::OnExit()' without object
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp: At global scope:
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:379: error: 'wxAppBase' is not a class or namespace
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:384: error: 'wxAppBase' is not a class or namespace
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:386: error: expected type-specifier before 'wxGUIAppTraits'
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:386: error: cannot convert 'int*' to 'wxAppTraits*' in return
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:386: error: expected ';' before 'wxGUIAppTraits'
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:386: error: 'wxGUIAppTraits' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp: At global scope:
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:393: error: 'wxAppBase' is not a class or namespace
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:395: error: 'm_isActive' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:398: error: 'm_isActive' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:400: error: 'wxActivateEvent' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:400: error: expected `;' before 'event'
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:401: error: 'event' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:401: error: invalid use of 'this' in non-member function
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:403: error: 'ProcessEvent' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp: At global scope:
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:410: error: 'wxAppBase' is not a class or namespace
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:432: error: 'wxAppBase' is not a class or namespace
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:435: error: 'ProcessPendingEvents' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:437: error: 'wxIdleEvent' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:437: error: expected `;' before 'event'
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:439: error: incomplete type 'wxWindowList' used in nested name specifier
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:439: error: expected `;' before 'node'
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:440: error: 'node' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:443: error: 'event' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:443: error: 'SendIdleEvents' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:448: error: 'event' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:448: error: invalid use of 'this' in non-member function
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:449: error: 'ProcessEvent' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:461: error: 'wxUpdateUIEvent' has not been declared
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:461: error: 'ResetUpdateTime' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp: At global scope:
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:467: error: 'wxAppBase' is not a class or namespace
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:467: error: 'wxIdleEvent' has not been declared
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:471: error: invalid use of undefined type 'struct wxWindow'
/Users/stijnvanderschoor/libs/wxMac-2.8.7/include/wx/utils.h:51: error: forward declaration of 'struct wxWindow'
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:473: error: 'wxIdleEvent' has not been declared
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:473: error: 'CanSend' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:475: error: request for member 'SetEventObject' in 'event', which is of non-class type 'int'
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:476: error: invalid use of undefined type 'struct wxWindow'
/Users/stijnvanderschoor/libs/wxMac-2.8.7/include/wx/utils.h:51: error: forward declaration of 'struct wxWindow'
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:478: error: request for member 'MoreRequested' in 'event', which is of non-class type 'int'
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:481: error: incomplete type 'wxWindowList' used in nested name specifier
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:481: error: expected `;' before 'node'
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:482: error: 'node' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp: At global scope:
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:494: error: 'wxAppBase' is not a class or namespace
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:494: error: variable or field 'OnIdle' declared void
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:494: error: 'wxIdleEvent' was not declared in this scope
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:494: error: expected primary-expression before ')' token
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:495: error: expected ',' or ';' before '{' token
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:534: error: 'wxGUIAppTraitsBase' has not been declared
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:562: error: 'wxGUIAppTraitsBase' has not been declared
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:570: error: 'wxGUIAppTraitsBase' has not been declared
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:576: error: cannot call member function 'virtual bool wxAppTraitsBase::ShowAssertDialog(const wxString&)' without object
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp: At global scope:
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:639: error: 'wxGUIAppTraitsBase' has not been declared
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:650: error: 'wxGUIAppTraitsBase' has not been declared
/Users/stijnvanderschoor/libs/wxMac-2.8.7/src/common/appcmn.cpp:656: error: 'wxGUIAppTraitsBase' has not been declared

Does anyone know what the problem is?

protocol
Moderator
Moderator
Posts: 680
Joined: Wed Jan 18, 2006 6:13 pm
Location: Dallas, TX
Contact:

Post by protocol » Wed Jun 04, 2008 2:50 pm

How did you do your "./configure"?

You may want to double check the tutorial.

regards.
/* UIKit && wxWidgets 2.8 && Cocoa && .Net */
QuRegExmm
wxPCRE & ObjPCRE - Regex It!

Post Reply