[wxMac CVS Snapshot] A Mac OS X Build Suggestion/Question...
chris elliott
biol75 at york.ac.uk
Thu Jan 4 08:17:43 PST 2007
Hi, I haven't got a mac, but like your output. It is just what i would
expect if setup.h was missing (sometimes is in unix and msw, and gives
same output)
There is (or should be) setup0.h in include/wx/mac, so this could be
copied to setup.h in your include path - I'd copy it to
/Users/codonnell/Proj/wxMac-2007-01-04/src/build/include/wx/setup.h as
that should be on the search path; others with a real mac will no doubt
give a better answer!
chris
Casey O'Donnell wrote:
> I was just sitting here trying to get the latest CVS snapshot to build
> on my machine. It works fine using the command line tools, which I
> don't mind doing for building the library. However, is there a reason
> that the Xcode project and command line tools seem mutually exclusive?
>
> Shouldn't I be able to build the library via the command line tools
> and still use the Xcode project in the Minimal sample? However that is
> not how it was created, which I suppose makes some sense, you either
> use Xcode or you don't. I'm not big on not having and IDE though, so
> I'm trying to use Xcode.
>
> My previous post probably wasn't specific enough with my question on
> building on OS X with Xcode.
>
> Like others have found and resolved, the stable OS X release will not
> build via Xcode because of some missing files. This is resolved by
> getting a CVS snapshot, which I've done. Now however just opening the
> Xcode project and hitting build results in it being unable to find
> setup.h:
>
> Building target "static" of project "wxWindows" with configuration
> "Development" — (241 errors)
> In file included from ../include/wx/defs.h:21,
> ../include/wx/platform.h:196:22: wx/setup.h: No such file or directory
>
> The install-mac.txt for Xcode doesn't say anything about
> altering/moving/etc setup.h, so I haven't done that. I've search the
> archives related to 2.8.0 and wxMac and building. I'm sure I am just
> not doing something simple.
>
> Thanks for any help.
> Casey
>
> Pasted below is the long version of the output given by Xcode:
>
> cd /Users/codonnell/Proj/wxMac-2007-01-04/src
> setenv MACOSX_DEPLOYMENT_TARGET 10.3
> setenv NEXT_ROOT /Developer/SDKs/MacOSX10.4u.sdk
> /usr/bin/gcc-3.3 -x c++-header -arch ppc -pipe -Wno-trigraphs
> -fpascal-strings -fasm-blocks -g -O0 -Wswitch -DNO_GCC_PRAGMA
> -D__WXMAC__ -DwxUSE_BASE=1 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
> -D__WXMAC_XCODE__=1 -DWX_PRECOMP=1 -DMACOS_CLASSIC -D__WXDEBUG__=1
> -fmessage-length=0 -ffix-and-continue -mtune=G4
> -Wno-deprecated-declarations -Wmost -Wno-four-char-constants
> -Wno-unknown-pragmas
> -F/Users/codonnell/Proj/wxMac-2007-01-04/src/build/Development
> -I/Users/codonnell/Proj/wxMac-2007-01-04/src/build/include
> -I../include -Imac/carbon/morefilex -Icommon -Ijpeg -Ipng -Iregex
> -Iexpat/lib -Itiff -I-
> -I/Users/codonnell/Proj/wxMac-2007-01-04/src/build/Development/include
> -I/Users/codonnell/Proj/wxMac-2007-01-04/src/build/wxWindows.build/Development/static.build/DerivedSources
>
> -DMAC_OS_X_VERSION_MIN_REQUIRED=1030 -fconstant-cfstrings
> -D__CONSTANT_CFSTRINGS__ -isystem
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc/darwin/3.3
> -I/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc/darwin/3.3/c++
> -I/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc/darwin/3.3/c++/ppc-darwin
> -isystem /Developer/SDKs/MacOSX10.4u.sdk/usr/include -c
> /Users/codonnell/Proj/wxMac-2007-01-04/src/../include/wx/wxprec.h -o
> /Library/Caches/com.apple.Xcode.501/SharedPrecompiledHeaders/wxprec-eyfsuqpbuqodjaficxklwxhsyhmd/wxprec.h.gch
>
> In file included from ../include/wx/defs.h:21,
> from
> /Users/codonnell/Proj/wxMac-2007-01-04/include/wx/wxprec.h:13:
> ../include/wx/platform.h:196:22: wx/setup.h: No such file or directory
> In file included from ../include/wx/platform.h:279,
> from ../include/wx/defs.h:21,
> from
> /Users/codonnell/Proj/wxMac-2007-01-04/include/wx/wxprec.h:13:
> ../include/wx/chkconf.h:98:9: #error "wxUSE_DYNLIB_CLASS must be defined."
> ../include/wx/chkconf.h:106:9: #error "wxUSE_EXCEPTIONS must be defined."
> ../include/wx/chkconf.h:114:9: #error "wxUSE_FILESYSTEM must be defined."
> ../include/wx/chkconf.h:122:9: #error "wxUSE_FS_ARCHIVE must be defined."
> ../include/wx/chkconf.h:135:9: #error "wxUSE_DYNAMIC_LOADER must be
> defined."
> ../include/wx/chkconf.h:143:9: #error "wxUSE_LOG must be defined."
> ../include/wx/chkconf.h:151:9: #error "wxUSE_LONGLONG must be defined."
> ../include/wx/chkconf.h:159:9: #error "wxUSE_MIMETYPE must be defined."
> ../include/wx/chkconf.h:167:9: #error "wxUSE_ON_FATAL_EXCEPTION must
> be defined."
> ../include/wx/chkconf.h:175:9: #error "wxUSE_PRINTF_POS_PARAMS must be
> defined."
> ../include/wx/chkconf.h:183:9: #error "wxUSE_PROTOCOL must be defined."
> ../include/wx/chkconf.h:225:9: #error "wxUSE_REGEX must be defined."
> ../include/wx/chkconf.h:233:9: #error "wxUSE_STDPATHS must be defined."
> ../include/wx/chkconf.h:241:9: #error "wxUSE_XML must be defined."
> ../include/wx/chkconf.h:249:9: #error "wxUSE_SOCKETS must be defined."
> ../include/wx/chkconf.h:257:9: #error "wxUSE_STREAMS must be defined."
> ../include/wx/chkconf.h:265:9: #error "wxUSE_STOPWATCH must be defined."
> ../include/wx/chkconf.h:273:9: #error "wxUSE_TEXTBUFFER must be defined."
> ../include/wx/chkconf.h:281:9: #error "wxUSE_TEXTFILE must be defined."
> ../include/wx/chkconf.h:297:9: #error "wxUSE_URL must be defined."
> ../include/wx/chkconf.h:305:9: #error "wxUSE_VARIANT must be defined."
> ../include/wx/chkconf.h:325:9: #error "wxUSE_ABOUTDLG must be defined."
> ../include/wx/chkconf.h:333:9: #error "wxUSE_ACCEL must be defined."
> ../include/wx/chkconf.h:341:9: #error "wxUSE_ANIMATIONCTRL must be
> defined."
> ../include/wx/chkconf.h:349:9: #error "wxUSE_BITMAPCOMBOBOX must be
> defined."
> ../include/wx/chkconf.h:357:9: #error "wxUSE_BMPBUTTON must be defined."
> ../include/wx/chkconf.h:365:9: #error "wxUSE_BUTTON must be defined."
> ../include/wx/chkconf.h:373:9: #error "wxUSE_CALENDARCTRL must be defined."
> ../include/wx/chkconf.h:381:9: #error "wxUSE_CARET must be defined."
> ../include/wx/chkconf.h:389:9: #error "wxUSE_CHECKBOX must be defined."
> ../include/wx/chkconf.h:397:9: #error "wxUSE_CHECKLISTBOX must be defined."
> ../include/wx/chkconf.h:405:9: #error "wxUSE_CHOICE must be defined."
> ../include/wx/chkconf.h:413:9: #error "wxUSE_CHOICEBOOK must be defined."
> ../include/wx/chkconf.h:421:9: #error "wxUSE_CHOICEDLG must be defined."
> ../include/wx/chkconf.h:429:9: #error "wxUSE_CLIPBOARD must be defined."
> ../include/wx/chkconf.h:437:9: #error "wxUSE_COLLPANE must be defined."
> ../include/wx/chkconf.h:445:9: #error "wxUSE_COLOURDLG must be defined."
> ../include/wx/chkconf.h:453:9: #error "wxUSE_COLOURPICKERCTRL must be
> defined."
> ../include/wx/chkconf.h:461:9: #error "wxUSE_COMBOBOX must be defined."
> ../include/wx/chkconf.h:469:9: #error "wxUSE_COMBOCTRL must be defined."
> ../include/wx/chkconf.h:477:9: #error "wxUSE_DATAOBJ must be defined."
> ../include/wx/chkconf.h:485:9: #error "wxUSE_DATAVIEWCTRL must be defined."
> ../include/wx/chkconf.h:493:9: #error "wxUSE_DATEPICKCTRL must be defined."
> ../include/wx/chkconf.h:501:9: #error "wxUSE_DIRPICKERCTRL must be
> defined."
> ../include/wx/chkconf.h:509:9: #error "wxUSE_DISPLAY must be defined."
> ../include/wx/chkconf.h:517:9: #error "wxUSE_DOC_VIEW_ARCHITECTURE
> must be defined."
> ../include/wx/chkconf.h:525:9: #error "wxUSE_FILEDLG must be defined."
> ../include/wx/chkconf.h:533:9: #error "wxUSE_FILEPICKERCTRL must be
> defined."
> ../include/wx/chkconf.h:541:9: #error "wxUSE_FONTDLG must be defined."
> ../include/wx/chkconf.h:549:9: #error "wxUSE_FONTMAP must be defined."
> ../include/wx/chkconf.h:557:9: #error "wxUSE_FONTPICKERCTRL must be
> defined."
> ../include/wx/chkconf.h:565:9: #error "wxUSE_GAUGE must be defined."
> ../include/wx/chkconf.h:582:9: #error "wxUSE_GRID must be defined."
> ../include/wx/chkconf.h:590:9: #error "wxUSE_HELP must be defined."
> ../include/wx/chkconf.h:598:9: #error "wxUSE_HYPERLINKCTRL must be
> defined."
> ../include/wx/chkconf.h:606:9: #error "wxUSE_HTML must be defined."
> ../include/wx/chkconf.h:618:13: #error "wxUSE_LIBMSPACK must be defined."
> ../include/wx/chkconf.h:627:9: #error "wxUSE_ICO_CUR must be defined."
> ../include/wx/chkconf.h:635:9: #error "wxUSE_IFF must be defined."
> ../include/wx/chkconf.h:643:9: #error "wxUSE_IMAGLIST must be defined."
> ../include/wx/chkconf.h:651:9: #error "wxUSE_JOYSTICK must be defined."
> ../include/wx/chkconf.h:659:9: #error "wxUSE_LISTBOOK must be defined."
> ../include/wx/chkconf.h:667:9: #error "wxUSE_LISTBOX must be defined."
> ../include/wx/chkconf.h:675:9: #error "wxUSE_LISTCTRL must be defined."
> ../include/wx/chkconf.h:683:9: #error "wxUSE_LOGGUI must be defined."
> ../include/wx/chkconf.h:691:9: #error "wxUSE_LOGWINDOW must be defined."
> ../include/wx/chkconf.h:699:9: #error "wxUSE_LOG_DIALOG must be defined."
> ../include/wx/chkconf.h:707:9: #error "wxUSE_MDI must be defined."
> ../include/wx/chkconf.h:715:9: #error "wxUSE_MDI_ARCHITECTURE must be
> defined."
> ../include/wx/chkconf.h:723:9: #error "wxUSE_MENUS must be defined."
> ../include/wx/chkconf.h:731:9: #error "wxUSE_MSGDLG must be defined."
> ../include/wx/chkconf.h:739:9: #error "wxUSE_NOTEBOOK must be defined."
> ../include/wx/chkconf.h:747:9: #error "wxUSE_ODCOMBOBOX must be defined."
> ../include/wx/chkconf.h:755:9: #error "wxUSE_PALETTE must be defined."
> ../include/wx/chkconf.h:763:9: #error "wxUSE_POPUPWIN must be defined."
> ../include/wx/chkconf.h:771:9: #error "wxUSE_PRINTING_ARCHITECTURE
> must be defined."
> ../include/wx/chkconf.h:779:9: #error "wxUSE_RADIOBOX must be defined."
> ../include/wx/chkconf.h:787:9: #error "wxUSE_RADIOBTN must be defined."
> ../include/wx/chkconf.h:795:9: #error "wxUSE_SASH must be defined."
> ../include/wx/chkconf.h:803:9: #error "wxUSE_SCROLLBAR must be defined."
> ../include/wx/chkconf.h:811:9: #error "wxUSE_SLIDER must be defined."
> ../include/wx/chkconf.h:819:9: #error "wxUSE_SOUND must be defined."
> ../include/wx/chkconf.h:827:9: #error "wxUSE_SPINBTN must be defined."
> ../include/wx/chkconf.h:835:9: #error "wxUSE_SPINCTRL must be defined."
> ../include/wx/chkconf.h:843:9: #error "wxUSE_SPLASH must be defined."
> ../include/wx/chkconf.h:851:9: #error "wxUSE_SPLITTER must be defined."
> ../include/wx/chkconf.h:859:9: #error "wxUSE_STATBMP must be defined."
> ../include/wx/chkconf.h:867:9: #error "wxUSE_STATBOX must be defined."
> ../include/wx/chkconf.h:875:9: #error "wxUSE_STATLINE must be defined."
> ../include/wx/chkconf.h:883:9: #error "wxUSE_STATTEXT must be defined."
> ../include/wx/chkconf.h:891:9: #error "wxUSE_STATUSBAR must be defined."
> ../include/wx/chkconf.h:899:9: #error "wxUSE_TAB_DIALOG must be defined."
> ../include/wx/chkconf.h:907:9: #error "wxUSE_TEXTCTRL must be defined."
> ../include/wx/chkconf.h:915:9: #error "wxUSE_TIPWINDOW must be defined."
> ../include/wx/chkconf.h:923:9: #error "wxUSE_TOOLBAR must be defined."
> ../include/wx/chkconf.h:931:9: #error "wxUSE_TOOLTIPS must be defined."
> ../include/wx/chkconf.h:939:9: #error "wxUSE_TREECTRL must be defined."
> ../include/wx/chkconf.h:947:9: #error "wxUSE_VALIDATORS must be defined."
> ../include/wx/chkconf.h:955:9: #error "wxUSE_WXHTML_HELP must be defined."
> ../include/wx/chkconf.h:963:9: #error "wxUSE_XRC must be defined."
> ../include/wx/chkconf.h:1324:9: #error "wxUSE_GRAPHICS_CONTEXT
> requires wxUSE_GEOMETRY"
> ../include/wx/chkconf.h:1725:9: #error "wxMessageBox is always needed"
> In file included from ../include/wx/mac/region.h:4,
> from ../include/wx/region.h:234,
> from ../include/wx/window.h:26,
> from ../include/wx/wx.h:36,
> from
> /Users/codonnell/Proj/wxMac-2007-01-04/include/wx/wxprec.h:68:
> ../include/wx/mac/carbon/region.h: In constructor
> `wxRegion::wxRegion(const wxBitmap&, const wxColour&, int)':
> ../include/wx/mac/carbon/region.h:33: error: no matching function for
> call to `wxRegion::Union(const wxBitmap&, const wxColour&, int&)'
> ../include/wx/region.h:128: error: candidates are: bool
> wxRegionBase::Union(int, int, int, int)
> ../include/wx/region.h:130: error: bool
> wxRegionBase::Union(const wxRect&)
> ../include/wx/region.h:132: error: bool
> wxRegionBase::Union(const wxRegion&)
> In file included from ../include/wx/dcgraph.h:19,
> from ../include/wx/dc.h:881,
> from ../include/wx/mac/carbon/window.h:16,
> from ../include/wx/mac/window.h:4,
> from ../include/wx/window.h:1479,
> from ../include/wx/wx.h:36,
> from
> /Users/codonnell/Proj/wxMac-2007-01-04/include/wx/wxprec.h:68:
> ../include/wx/graphics.h: At global scope:
> ../include/wx/graphics.h:315: error: parse error before `&' token
> ../include/wx/graphics.h:319: error: parse error before `&' token
> ../include/wx/graphics.h:323: error: parse error before `&' token
> ../include/wx/graphics.h:333: error: parse error before `)' token
> ../include/wx/graphics.h:337: error: parse error before `&' token
> ../include/wx/graphics.h:373: error: parse error before `)' token
> ../include/wx/graphics.h:376: error: parse error before `&' token
> ../include/wx/graphics.h:541: error: parse error before `*' token
> ../include/wx/graphics.h:544: error: parse error before `*' token
> ../include/wx/graphics.h:544: error: `virtual void
> wxGraphicsContext::StrokeLines(...)' and `virtual void
> wxGraphicsContext::StrokeLines(...)' cannot be overloaded
> ../include/wx/graphics.h:547: error: parse error before `*' token
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>
>
More information about the wx-users
mailing list