Opened 10 years ago

Closed 10 years ago

#2443 closed defect (duplicate)

wxWidgets compilation error on Mac OS X 10.9.1

Reported by: Tom Brewe Owned by:
Priority: Must Have Milestone:
Component: Core engine Keywords: compilation mac
Cc: Patch:

Description

happened when executing the build osx libs script.

/Users/tom/Install/0ad/libraries/osx/wxwidgets/wxWidgets-3.0.0/build-release/bk-deps g++ -mmacosx-version-min=10.5 -c -o netlib_fs_inet.o -I./.pch/wxprec_netlib -D__WXOSX_COCOA__      -DWXBUILDING -I/Users/tom/Install/0ad/libraries/osx/wxwidgets/wxWidgets-3.0.0/build-release/src/tiff/libtiff -I../src/tiff/libtiff    -I../src/regex  -DwxUSE_GUI=0 -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/Users/tom/Install/0ad/libraries/osx/wxwidgets/wxWidgets-3.0.0/build-release/lib/wx/include/osx_cocoa-unicode-static-3.0 -I../include -arch x86_64 -fvisibility=hidden -I/Users/tom/Install/0ad/libraries/osx/libiconv/include -DWX_PRECOMP -O2 -fno-strict-aliasing -fno-common  ../src/common/fs_inet.cpp
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:161,
                 from /System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/IMKInputSession.h:23,
                 from /System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h:240,
                 from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:29,
                 from ../include/wx/osx/core/private.h:55,
                 from ../include/wx/osx/private.h:4,
                 from ../src/osx/cocoa/utils.mm:27:
/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:16: error: expected `}' before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:16: error: expected unqualified-id before ‘=’ token
/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:17: error: expected declaration before ‘}’ token
make: *** [baselib_cocoa_utils.o] Error 1
make: *** Waiting for unfinished jobs....
ERROR: wxWidgets build failed

Change History (3)

comment:1 by Tom Brewe, 10 years ago

Summary: wxwidgets compile error on osx 10.9.1wxWidgets compilation error on Mac OS X 10.9.1

comment:2 by Echelon9, 10 years ago

Suggest you use the patches in the following ticket related to support for Mac OS X, and then repost here if you have problems.

http://trac.wildfiregames.com/ticket/2304

comment:3 by historic_bruno, 10 years ago

Milestone: Backlog
Resolution: duplicate
Status: newclosed

Closing this as a duplicate of #2304 (also haven't seen wxWidgets build errors in recent Mavericks attempts).

Note: See TracTickets for help on using tickets.