kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #34883
Re: Building with visual studio? looking for a tutorial.
No doubt I'm out of touch. :) It's been at least 10 years since I used
msvs. It's great that they have decided to support open source
development tools. I'm may to to check it out when I get a chance. I'm
guessing they have a minimal free version available or have they stopped
offering that?
On 3/12/2018 11:36 AM, Mark Roszko wrote:
> Way out of touch now Wayne ;)
>
> VS can open CMake projects directly without generator. Also supports
> GDB.....MINGW....and even ships with Clang. MS even patched all their
> VC++ headers to be compatible with Clang.
>
>
> I haven't tried this yet though, but in theory it should be possible to
> run MSYS2/MINGW and debug via this new feature from last year that lets
> you configure toolchains and even use gdb:
>
> https://blogs.msdn.microsoft.com/vcblog/2017/07/19/using-mingw-and-cygwin-with-visual-cpp-and-open-folder/
> <https://blogs.msdn.microsoft.com/vcblog/2017/07/19/using-mingw-and-cygwin-with-visual-cpp-and-open-folder/>
>
> In this example it is using MSYS2.
>
>
>
> On Fri, Mar 9, 2018 at 9:54 AM, Wayne Stambaugh <stambaughw@xxxxxxxxx
> <mailto:stambaughw@xxxxxxxxx>> wrote:
>
> It's been a really long time since I've done this but you should be able
> to tell cmake to create a VSxxxx project (`cmake -G "Visual Studio 14
> 2015 [arch]`") and then use msvs to build. You might want to disable
> python scripting, oce, and ngspice unless you feel like building msvc
> variant of those dependencies. You will also need a msvc build of boost
> as well for the unit test library. I'm pretty sure Simon Richter
> creates msvs builds so he may have some more up to date information than
> I do.
>
> Wayne
>
> On 3/9/2018 9:48 AM, Tomasz Wlostowski wrote:
> > Dear Windows experts,
> >
> > I'm desperately trying to debug a segfault in a Windows build of
> Kicad.
> > So far I've been unable to pause the program in gdb, because gdb exits
> > when I press Ctrl-C instead of pausing the application.
> >
> > I'm fed up with this 'unix style of doing things'.
> >
> > Could you help me set up a VS2015 project for building and debugging
> > Kicad? Is there some tutorial?
> >
> > Cheers,
> > Tom
> >
> >
> >
> > _______________________________________________
> > 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>
>
>
>
>
> --
> Mark
Follow ups
References