← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Changed the 3d model previewer to use spinboxes

 

Thank you for the help everyone!

The missing component was the "base-devel" package, worth noting is that I set up this machine with the sole purpose of building and testing kicad under windows, It might be worth to add that the base-devel package is needed as well in the documentation. To make it easier to set up from scratch, just a small note "It is assumed that the base-devel package is already installed"

- Kristoffer

On 2017-01-30 10:46, Константин Барановский wrote:
Hi, Kristoffer!

You need to install the make utility. Just launch mingw and run command:

    pacman -S make



2017-01-30 10:51 GMT+02:00 Kristoffer Ödmark
<kristofferodmark90@xxxxxxxxx <mailto:kristofferodmark90@xxxxxxxxx>>:

    I am using this PKGbuild:

    https://github.com/Alexpux/MINGW-packages/blob/master/mingw-w64-kicad-git/PKGBUILD
    <https://github.com/Alexpux/MINGW-packages/blob/master/mingw-w64-kicad-git/PKGBUILD>

    I was trying to get the compilation to work under MSYS2 the easy way
    according to the guide. To see that everything was set up correctly,
    which apparently it isnt.

    - Kristoffer


    On 2017-01-30 09:42, Nick Østergaard wrote:

        Please show me your cmake options. Remember to make sure you
        have the
        relevant mingw toolchain installed.

        2017-01-30 9:23 GMT+01:00 Kristoffer Ödmark
        <kristofferodmark90@xxxxxxxxx
        <mailto:kristofferodmark90@xxxxxxxxx>>:

            I can't get Kicad to compile under windows, the guide in the
            online docs
            doesnt work for me under windows 7 64bit. If anyone have any
            ideas of what
            to test I would really appreciate it.

            I am following the guide at:
            http://ci.kicad-pcb.org/job/kicad-doxygen/ws/Documentation/doxygen/html/md_Documentation_development_compiling.html
            <http://ci.kicad-pcb.org/job/kicad-doxygen/ws/Documentation/doxygen/html/md_Documentation_development_compiling.html>


            The errors I am getting when running the makepkg-mingw:

            CMake Error: CMake was unable to find a build program
            corresponding to "MSYS
            Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably
            need to select a
            different build tool.
            CMake Error: CMake was unable to find a build program
            corresponding to "MSYS
            Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably
            need to select a
            different build tool.
            CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
            CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
            CMake Error: CMAKE_AR was not found, please set to archive
            program.
            -- Configuring incomplete, errors occurred!

            - Kristoffer



            On 2017-01-27 16:40, Wayne Stambaugh wrote:


                This doesn't work on windows at all.  Changing any of
                the values either
                with the spin buttons or direct entry into the edit
                control does not
                update 3D view of the model.  This issue will need to be
                resolved before
                the patch can be committed.

                On 1/27/2017 8:16 AM, Kristoffer Ödmark wrote:


                    Glad to hear it!

                    Also, I found that incrementing in steps of 10 for
                    the rotations misses
                    45 deegrees, so changed that to 5 and made it wrap
                    around at 180 as well.

                    Attaching that one!

                     -Kristoffer

                    On 2017-01-27 13:47, Wayne Stambaugh wrote:


                        It's on my list for today.  It would be nice if
                        an osx dev could test it
                        before it's committed just in case there is some
                        unexpected behavior
                        on osx.

                        On 1/27/2017 7:43 AM, Chris Pavlina wrote:


                            Just tried this. It's REALLY nice to be able
                            to nudge the model around
                            by turning the scroll wheel over the fields. <3

                            Anyone test this on something other than
                            Linux yet? I'd like to see
                            this
                            merged.

                            On Thu, Jan 26, 2017 at 05:24:17PM +0100,
                            Kristoffer Ödmark wrote:


                                Yes, you can still manually change the
                                values, I tried that.

                                The only change I did to the code was to
                                change the stepping of the
                                offset
                                to 0.1mm instead of 1 in this patch. the
                                best thing is that you can
                                now use
                                the scrollwheel as well. Wich makes
                                rotating stuff a breeze.

                                - Kristoffer

                                On 2017-01-26 17:09, Chris Pavlina wrote:


                                    On Thu, Jan 26, 2017 at 09:49:40AM
                                    -0500, Wayne Stambaugh wrote:


                                        If no one is opposed to adding
                                        spin controls to the 3D model
                                        selection
                                        dialog, I'll commit this patch
                                        when I get a chance.  I've never
                                        been
                                        convinced that using a spin
                                        control to change a floating point
                                        number is
                                        terribly useful but I'm guessing
                                        some users will prefer this over
                                        manual
                                        entry of calculated values used
                                        by old curmudgeons like me.



                                    I can see value in it. When you're
                                    moving around a 3D model, you
                                    don't
                                    want to type in a specific value,
                                    you want to move it until it's
                                    aligned. If the model is far off it
                                    can be hard to guess what the
                                    offset
                                    should be like, so having a button
                                    to nudge it up and down could be
                                    nice.

                                    Might want to hold off for a bit
                                    though as I think there was talk
                                    about
                                    an updated patch in IRC, this might
                                    not be final


                                        On 1/26/2017 6:11 AM, Kristoffer
                                        Ödmark wrote:


                                            Hello!

                                            One thing that has always
                                            bothered me is that when
                                            aligning 3D
                                            models to
                                            fit the footprint, one have
                                            to type the value and test,
                                            delete
                                            characters and test again.
                                            Very minor issue, but it
                                            still bothers
                                            me.

                                            With a spinbox the values
                                            can be changed using the
                                            mouse only.

                                            attaching the patch for this
                                            minor change.

                                            - Kristoffer



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


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



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



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



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



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



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


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


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




Follow ups

References