> On Nov 6, 2014, at 12:36 PM, Bernhard Stegmaier <[email protected]> > wrote: > > Is it on intention that you use "-mmacosx-version-min=10.9”? > I always build with 10.5 and everything is fine… maybe some previously only > deprecated changes got removed when using a 10.9 Framework?
I tried both 10.5 and 10.9 and both failed :( -a > > Regards, > Bernhard > > On 06.11.2014, at 19:57, Andy Peters <[email protected]> wrote: > >>> >>> On Nov 6, 2014, at 10:09 AM, Adam Wolf <[email protected]> >>> wrote: >>> >>> First, I patch the source with: >>> >>> patch -p0 < ../kicad/patches/wxwidgets-3.0.0_macosx.patch >>> patch -p0 < >>> ../kicad/patches/wxwidgets-3.0.0_macosx_bug_15908.patch >>> patch -p0 < >>> ../kicad/patches/wxwidgets-3.0.0_macosx_soname.patch >>> patch -p0 < >>> ../kicad/patches/wxwidgets-3.0.2_macosx_yosemite.patch >>> >>> After that: >>> >>> ../wx-src/configure \ >>> --prefix=`pwd`/../wx-bin \ >>> --with-opengl \ >>> --enable-aui \ >>> --enable-utf8 \ >>> --enable-html \ >>> --enable-stl \ >>> --with-libjpeg=builtin \ >>> --with-libpng=builtin \ >>> --with-regex=builtin \ >>> --with-libtiff=builtin \ >>> --with-zlib=builtin \ >>> --with-expat=builtin \ >>> --without-liblzma \ >>> --with-macosx-version-min=10.5 \ >>> --enable-universal-binary=i386,x86_64 \ >>> CPPFLAGS="-stdlib=libstdc++" \ >>> LDFLAGS="-stdlib=libstdc++" \ >>> CC=clang \ >>> CXX=clang++ >>> >>> My paths may be different than yours, as I'm cutting and pasting from a >>> script. >>> >>> Before doing all that, I make sure I have bzr cmake doxygen wget glew cairo >>> openssl installed. >> >> Huh, that's basically the same ./configure thing I had I am getting the same >> errors as before. >> >> It's complaining about Apple system frameworks (AppKit) and have the most >> recent command-line tools etc all installed. I get the same errors on both >> my MacBook Pro and my iMac so I assume I have the same tools installed on >> both. >> >> -a >> >> >> >>> >>> On Thu, Nov 6, 2014 at 11:07 AM, Andy Peters <[email protected]> wrote: >>> >>>> On Oct 29, 2014, at 11:21 AM, Adam Wolf <[email protected]> >>>> wrote: >>>> >>>> Hi folks, >>>> >>>> Attached is a patch from the latest revision of KiCad to add a patch in >>>> the patches/ directory suitable for building wxwidgets 3 on OS X 10.10 >>>> (Yosemite). It does not add it to any build scripts in our tree per >>>> Bernhard. >>>> >>>> I used this as the commit message on my own branch. >>>> >>>> "Added patch for wxwidgets-3.0.2 for Mac OSX 10.10 (Yosemite). The patch >>>> was taken from https://trac.macports.org/ticket/44524 for the upstream bug >>>> of http://trac.wxwidgets.org/ticket/16329." >>> >>> What is your ./configure recipe for building wxwidgets-3.0.2 on 10.10? I am >>> getting errors like this: >>> >>> meshugge:wxWidgets-3.0.2 andy$ make >>> /Users/andy/Projects/wxWidgets-3.0.2/bk-deps clang++ >>> -mmacosx-version-min=10.9 -c -o basedll_cocoa_utils.o >>> -I./.pch/wxprec_basedll -D__WXOSX_COCOA__ -DWXBUILDING >>> -I/Users/andy/Projects/wxWidgets-3.0.2/src/tiff/libtiff >>> -I./src/tiff/libtiff -I./src/jpeg -I./src/png -I./src/zlib -I./src/regex >>> -I./src/expat/lib -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1 -dynamic >>> -fPIC -DPIC -D_FILE_OFFSET_BITS=64 >>> -I/Users/andy/Projects/wxWidgets-3.0.2/lib/wx/include/osx_cocoa-unicode-3.0 >>> -I./include -stdlib=libstdc++ -O2 -fno-strict-aliasing >>> ./src/osx/cocoa/utils.mm >>> In file included from ./src/osx/cocoa/utils.mm:27: >>> In file included from ./include/wx/osx/private.h:4: >>> In file included from ./include/wx/osx/core/private.h:55: >>> In file included from >>> /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:29: >>> In file included from >>> /System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolbox.h:240: >>> In file included from >>> /System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/IMKInputSession.h:23: >>> In file included from >>> /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10: >>> In file included from >>> /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:7: >>> In file included from >>> /System/Library/Frameworks/Foundation.framework/Headers/NSRange.h:5: >>> /System/Library/Frameworks/Foundation.framework/Headers/NSValue.h:12:1: >>> error: >>> 'objc_returns_inner_pointer' attribute only applies to methods >>> @property (readonly) const char *objCType NS_RETURNS_INNER_POINTER; >>> ^ ~~~~~~~~~~~~~~~~~~~~~~~~ >>> >>> Thanks, >>> -a >>> _______________________________________________ >>> Mailing list: https://launchpad.net/~kicad-developers >>> Post to : [email protected] >>> Unsubscribe : https://launchpad.net/~kicad-developers >>> More help : https://help.launchpad.net/ListHelp >>> >> >> Andy Peters >> 5511 E Rosewood St >> Tucson, AZ 85711 >> 520-907-2262 >> [email protected] >> >> >> >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~kicad-developers >> Post to : [email protected] >> Unsubscribe : https://launchpad.net/~kicad-developers >> More help : https://help.launchpad.net/ListHelp > Andy Peters 5511 E Rosewood St Tucson, AZ 85711 520-907-2262 [email protected] _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

