← Back to team overview

kicad-developers team mailing list archive

Re: Kicad-5522 osx testing - miscellaneous errors

 

Hmm, it is not quite that easy. In addition to changing all the 10.7 to
10.10 --

The compile_kicad.sh really wants the location of the MacOSX10.10.sdk.
The location needs to be in the cmake_settings file:

 -DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk

On 03/17/2015 04:58 PM, Bob Gustafson wrote:
Ahh, I see the compile_kicad.sh script is looking for MacOS10.7.sdk -
I only have the 10.9 and 10.10 sdk's

I saw the 10.7 min while running the compile_wx script, but it didn't
give a problem.
(I wonder whether the yosemite patch didn't do anything..)

I will change the 10.7 to 10.10 and go ahead with the compile_kicad
step. If you think it will be incompatible with the wx built with 10.7
minimum - let me know and I will redo that step.

--- scratch that

I'm going back to the beginning and changing all the 10.7's to 10.10,
then rebuild from the beginning.

-----

I'm looking for differences between your successful script and my
buggy build. Maybe it is the 10.7 <-> 10.10 difference in osx version,
or maybe it is still the boost 1.57.0 (which is still lurking below -
ready to be linked to)

--- No, scratch that - the compile script downloads, patches, and builds
the 1.54.0 boost. This is the step that is skipped over with my
configuration.

So the boost 1.54.0 will be used anyway.


Have fun

Bob G


On 03/17/2015 03:54 PM, Adam Wolf wrote:
Thanks!  I'm not 100% happy with them, but they work, and that's half
the battle :)  all.sh is perfect for what you're doing!

Adam Wolf

On Tue, Mar 17, 2015 at 3:07 PM, Bob Gustafson <bobgus@xxxxxxx
<mailto:bobgus@xxxxxxx>> wrote:

    Hi Adam

    OK, I'm looking at:
    https://code.launchpad.net/~adamwolf/+junk/kicad-mac-packaging-python
    <https://code.launchpad.net/%7Eadamwolf/+junk/kicad-mac-packaging-python>

    I read through your README.md - nice job of explaining your
    tradeoffs.

    I'm using your 'all.sh' as a to-do list and going through each
    step. Looking good.

    Having fun

    Bob G


    On 03/17/2015 12:26 PM, Adam Wolf wrote:
    Hi Bob,

    All the build scripts are in my Launchpad repo.  Please search
    the archives as I know I've posted them 3 or 4 times and I
    cannot get the link easily on my phone.

    Adam Wolf

    On Tue, Mar 17, 2015 at 12:24 PM, Adam Wolf
    <adamwolf@xxxxxxxxxxxxxxxxxxxx
    <mailto:adamwolf@xxxxxxxxxxxxxxxxxxxx>> wrote:

        No problem.  Collin did all the heavy lifting there, adding
        the Python support.

        Adam Wolf

        On Tue, Mar 17, 2015 at 12:24 PM, Bob Gustafson
        <bobgus@xxxxxxx <mailto:bobgus@xxxxxxx>> wrote:

            Hi Adam

            I tried your python enabled nightly in the DEBUG folder.

            Lots of my problems have been cleaned up by your nightly
            - the' KiCad->About' works without an Alert box popping
            up - it looks pretty clean. I tried some of the clicks
            that gave me problems before and it looks pretty solid.

            Thanks much.

            Application: kicad
            Version: (2015-03-15 BZR 5517)-product Release build
            wxWidgets: Version 3.0.2 (debug,UTF-8,compiler with C++
            ABI 1002,GCC 4.2.1,STL containers,compatible with 2.8)
            Platform: Mac OS X (Darwin 14.1.0 x86_64), 64 bit,
            Little endian, wxMac
            Boost version: 1.54.0
            USE_WX_GRAPHICS_CONTEXT=OFF
                     USE_WX_OVERLAY=ON
                     KICAD_SCRIPTING=ON
            KICAD_SCRIPTING_MODULES=ON
            KICAD_SCRIPTING_WXPYTHON=ON
            USE_FP_LIB_TABLE=HARD_CODED_ON
            BUILD_GITHUB_PLUGIN=ON
            KICAD_USE_WEBKIT=OFF

            The only thing that looks different from my builds is
            the use of Boost version 1.54.0 instead of my 1.57.0
            I think my 1.57.0 was massaged slightly by one of my
            builds in the past - perhaps it has problems.

            The newPCB->Tools->Scripting Console does pop up, but as
            noted by others before, as soon as you type the 'e' in
            help - things go wrong. This is fine - a nightly build
            (particularly in the DEBUG folder) is there to show the
            latest stuff and what needs to be done.

            It would be good to also have an OSX nightly
            incorporating whatever is available for panning support
            too. Since your nightlies are for OSX only, progress on
            panning for OSX might shine a light on the problems for
            other platforms.

            I had a glimmer of success a couple of weeks ago when I
            did a merge of Garth's trackpad branch - but this was
            masked by my other difficulties (perhaps my Boost 1.57.0
            ??).

            Are your nightly build scripts available? I could try
            again with Garth's files.

            Thanks again

            Bob G



            On 03/17/2015 11:12 AM, Adam Wolf wrote:
            Just as an aside, last night's build failed, for the
            first time in a while--but the diff pairs should still
            work fine.

            Adam Wolf

            On Tue, Mar 17, 2015 at 11:06 AM, Nick Østergaard
            <oe.nick@xxxxxxxxx <mailto:oe.nick@xxxxxxxxx>> wrote:

                2015-03-17 16:50 GMT+01:00 Bob Gustafson
                <bobgus@xxxxxxx <mailto:bobgus@xxxxxxx>>:
                > Hi Adam
                >
                > As written in the kicad build documentation, I
                patched the
                > wxPython/wxWidgets code and built that (also
                added the doPatch for the patch
                > files that were not included in the virgin
                osx_build_wx.sh file). All patch
                > files were used successfully (including the added
                ones -
                > macos_scrolledwindow and macos_yosemite).
                >
                > I also turned on most of the scripting build
                switches (why not..)
                >
                > I used a custom kicad-configure.sh script to turn
                on these switches (see
                > attached). From there it was just ‘make’ and
                ‘sudo make install’. No compile
                > errors, but as I have reported before, lots of
                warnings and notes (using
                > clang - which is also available on Fedora21)
                >
                > I have the console output saved from all of these
                steps if that would be of
                > interest.
                >
                > As you point out, the gesture/trackpad patches
                are not in the patches/
                > directory, so were not included. These patch
                files could perhaps be included
                > or not by commenting out appropriate doPatch
                lines in osx_build_wx.sh
                >
                >
                > I tried your nightlies before, but didn’t see any
                trackpad panning
                > improvement - will try again.
                >
                > I will also try the nightly with Python support
                you mentioned in a previous
                > email. I thought about that last night after I
                sent the email report.
                >
                > My motivation is to get a working KiCad that I
                can use to build a board for
                > a legacy piece of gear. I see these beautiful
                youtube videos of paired board
                > traces and wiggly matched delay traces - am
                disappointed that I can’t have
                > the same action on my OSX platform. Perhaps I
                should concentrate on my
                > Fedora21 box instead, although it seems that the
                build instructions for that
                > platform are more or less identical to OSX.

                The differential pairs and length tuning stuff do
                not depend on python
                scripting as far as I know and should be available
                in the latest
                nightlies.

                > I'm guessing that some of the OSX problems may be
                caused by a mix of carbon
                > and cocoa library calls. Many of the error
                reports have carbon references.
                > Also, try out the KiCad->About menu item.
                >
                > I will fish around in the DEBUG folder and look
                for the Python support
                > build.
                >
                > Because of the clumsiness of scrollbars, having
                two finger panning is more
                > or less essential on the OSX platform. When are
                you planning to try out
                > those patches in your nightly builds? The OpenGL
                option, without scrollbars,
                > needs those patches.
                >
                > Thanks very much for your efforts all
                >
                > Bob G
                >
                > On Mar 16, 2015, at 23:59, Adam Wolf
                <adamwolf@xxxxxxxxxxxxxxxxxxxx
                <mailto:adamwolf@xxxxxxxxxxxxxxxxxxxx>> wrote:
                >
                > Hi Bob,
                >
                > Did you add any patches?  If you didn't, there
                definitely won't be any
                > gesture/trackpad support.  It isn't ready for
                merging yet due to behavior on
                > other platforms.
                >
                > Are you looking for issues or trying to get a
                usable KiCad?  If the latter,
                > I suggest the nightlies. I, and quite a few other
                people, use them to make
                > real boards!  (There are even nightlies with
                Python support in the DEBUG
                > folder.)
                >
                > Adam Wolf
                > Cofounder and Engineer
                > W&L
                >
                >
                > On Mon, Mar 16, 2015 at 11:46 PM, Bob Gustafson
                <bobgus@xxxxxxx <mailto:bobgus@xxxxxxx>> wrote:
                > Application: kicad
                > Version: (2015-03-16 BZR 5522)-product Debug build
                > wxWidgets: Version 3.0.2 (debug,UTF-8,compiler
                with C++ ABI 1002,GCC
                > 4.2.1,STL containers,compatible with 2.8)
                > Platform: Mac OS X (Darwin 14.1.0 x86_64), 64
                bit, Little endian, wxMac
                > Boost version: 1.57.0
                > USE_WX_GRAPHICS_CONTEXT=OFF
                > USE_WX_OVERLAY=ON
                > KICAD_SCRIPTING=ON
                > KICAD_SCRIPTING_MODULES=ON
                > KICAD_SCRIPTING_WXPYTHON=ON
                > USE_FP_LIB_TABLE=HARD_CODED_ON
                > BUILD_GITHUB_PLUGIN=ON
                > KICAD_USE_WEBKIT=ON
                >
                >
                > pcbnewinitPythonScripting() failed (error 0:
                Undefined error: 0)
                >
                > ***** Error importing the wxPython API! ****
                20:43:52
                > pcbnewinitPythonScripting() failed: (error 0:
                Undefined error: 0)
                > 20:43:52
                >
                > ----
                >
                > There are a number of other error conditions -
                see attached screen dumps and
                > logs
                >
                > -----
                >
                > I see that the Contents/Contents typo was removed
                somewhere in the 5513-5522
                > changes.
                >
                > -----
                >
                > I am not able to pan anywhere using two finger
                gestures. When I try, the
                > newPCB zooms in and out.
                >
                > Hope this is helpful
                >
                > Bob G
                >
                > _______________________________________________
                > Mailing list:
                https://launchpad.net/~kicad-developers
                <https://launchpad.net/%7Ekicad-developers>
                > Post to  : kicad-developers@xxxxxxxxxxxxxxxxxxx
                <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
                > Unsubscribe :
                https://launchpad.net/~kicad-developers
                <https://launchpad.net/%7Ekicad-developers>
                > More help  : https://help.launchpad.net/ListHelp
                >
                >
                >
                >
                > _______________________________________________
                > Mailing list:
                https://launchpad.net/~kicad-developers
                <https://launchpad.net/%7Ekicad-developers>
                > Post to  : kicad-developers@xxxxxxxxxxxxxxxxxxx
                <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
                > Unsubscribe :
                https://launchpad.net/~kicad-developers
                <https://launchpad.net/%7Ekicad-developers>
                > More help  : https://help.launchpad.net/ListHelp
                >










_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


References