Re: [Kicad-developers] OCE vs. OCC default build flag

2021-05-18 Thread Kevin Cozens
On 2021-05-18 11:15 a.m., Carsten Schoenert wrote: you will need to have installed libocct-data-exchange-dev which will probably pull in other OCC related packages as an dependency. Thanks for the info. Good to know that libocct is the library I will need to install when the switch is made

Re: [Kicad-developers] OCE vs. OCC default build flag

2021-05-18 Thread Ian McInerney
I would prefer we keep this change to 5.99/6.0 only and not force a default change in 5.1 builds. There are enough other dependency changes going on for future v6 that packagers/users have to handle I think it is more reasonable to force it there. -Ian On Tue, May 18, 2021 at 5:35 PM Eeli

Re: [Kicad-developers] OCE vs. OCC default build flag

2021-05-18 Thread Eeli Kaikkonen
See https://gitlab.com/eelik-kicad/kicad/-/wikis/How-to-build-KiCad-on-Ubuntu-(the-easy-way) The reason I started this thread was that I saw that practically all packages were using OCC already, so it's available. On Tue, May 18, 2021 at 6:04 PM Kevin Cozens wrote: > > How will this affect

Re: [Kicad-developers] OCE vs. OCC default build flag

2021-05-18 Thread Carsten Schoenert
Hi, Am 18.05.21 um 17:01 schrieb Kevin Cozens: > How will this affect those of us who build KiCad from source? I have liboce > packages installed which provide OCE. If you change to OCC what package(s) > will I need then? The distro I use (Linux Mint) has libocct (Open CASCADE > Technology)

Re: [Kicad-developers] OCE vs. OCC default build flag

2021-05-18 Thread Kevin Cozens
On 2021-05-17 8:19 a.m., Wayne Stambaugh wrote: How does this change affect our package devs?  I'm guessing they would have to make some package dependencies changes if OCC is going to be the default.  I would like to hear from them before we make OCC the default. How will this affect those

Re: [Kicad-developers] OCE vs. OCC default build flag

2021-05-18 Thread Wayne Stambaugh
Make sure that OCE is not installed along side OCC. I also had to add "-DOCC_INCLUDE_DIR=/${MINGW_PREFIX}/include/opencascade" so that FindOpenCASCADE.cmake could find the header files. Everything else should build as normal. On 5/18/2021 9:12 AM, Nick Østergaard wrote: It did not work

Re: [Kicad-developers] OCE vs. OCC default build flag

2021-05-18 Thread Nick Østergaard
It did not work last time I tried it. On Tue, 18 May 2021 at 14:43, Wayne Stambaugh wrote: > I just looked and the 5.1.10 windows build is using OCE. I thought we > switched over to OCC for msys2 builds but apparently not. I have > switched to OCC on my windows msys2 builds. I think we

Re: [Kicad-developers] OCE vs. OCC default build flag

2021-05-18 Thread Wayne Stambaugh
I just looked and the 5.1.10 windows build is using OCE. I thought we switched over to OCC for msys2 builds but apparently not. I have switched to OCC on my windows msys2 builds. I think we should switch the msys2 5.1 builds to OCC because it resolves some issues. Wayne On 5/17/2021 3:21

Re: [Kicad-developers] OCE vs. OCC default build flag

2021-05-17 Thread Seth Hillbrand
After reviewing the thread that Nick linked ( https://gitlab.com/kicad/code/kicad/-/issues/6198) I recall this discussion more. I think that we should remove OCE altogether. The existing versions have bugs that we cannot fix and it is fully deprecated at the source repository

Re: [Kicad-developers] OCE vs. OCC default build flag

2021-05-17 Thread Steven A. Falco
I confirm that Fedora already selects OCC in its build scripts, both for the official 5.1 builds, and for the 5.99 nightlies. The default can change without affecting Fedora. Steve ___ Mailing list: https://launchpad.net/~kicad-developers

Re: [Kicad-developers] OCE vs. OCC default build flag

2021-05-17 Thread Nick Østergaard
IMHO we should be fine with defaulting to OCC by now. Previously there were issues with the occ build in msys2 where kicad would not link to it properly, but we have since started to support msvc instead and we are using occ for those builds for master. Also, I think we are using occ on macos

Re: [Kicad-developers] OCE vs. OCC default build flag

2021-05-17 Thread Eeli Kaikkonen
On Mon, May 17, 2021 at 5:14 PM Carsten Schoenert wrote: > I'm using mostly the explicit set up of build options and do not rely on > used default values, so the Debian packages using OCC for more than a > year. And this also for backported versions. I was unsure about Debian because I didn't

Re: [Kicad-developers] OCE vs. OCC default build flag

2021-05-17 Thread Carsten Schoenert
Hi, I can just speak for Debian. Am 17.05.21 um 14:53 schrieb Eeli Kaikkonen: > As far as I can tell, Ubuntu and all derivatives, Fedora, openSUSE, > Debian (if I remember correctly), Arch and Manjaro already use OCC so > that the latest available KiCad 5.99 (and even 5.1) packages for the >

Re: [Kicad-developers] OCE vs. OCC default build flag

2021-05-17 Thread Eeli Kaikkonen
As far as I can tell, Ubuntu and all derivatives, Fedora, openSUSE, Debian (if I remember correctly), Arch and Manjaro already use OCC so that the latest available KiCad 5.99 (and even 5.1) packages for the latest available distro versions use OCC. Only gentoo KiCad 5.1 seems to use OCE. Because

Re: [Kicad-developers] OCE vs. OCC default build flag

2021-05-17 Thread Wayne Stambaugh
How does this change affect our package devs? I'm guessing they would have to make some package dependencies changes if OCC is going to be the default. I would like to hear from them before we make OCC the default. We will also have to update the developer docs to reflect this change. Wayne

Re: [Kicad-developers] OCE vs. OCC default build flag

2021-05-16 Thread Seth Hillbrand
Yes, our plan has been to switch the default (if it is not already). We were waiting until both MSVC and Mac builds had OCC well tested, which I think has happened now. Seth On Sun, May 16, 2021, 2:10 PM Eeli Kaikkonen wrote: > While I was writing Linux and several distro specific build >

[Kicad-developers] OCE vs. OCC default build flag

2021-05-16 Thread Eeli Kaikkonen
While I was writing Linux and several distro specific build instructions ( https://gitlab.com/eelik-kicad/kicad/-/wikis/How-to-build-KiCad-on-Linux-(the-easy-way) , discussion in https://forum.kicad.info/t/build-from-source-simple-instructions-to-compile-kicad-for-some-linux-distributions/28982 )