← Back to team overview

kicad-developers team mailing list archive

Re: OCE vs. OCC default build flag

 

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 last time I tried it.

On Tue, 18 May 2021 at 14:43, Wayne Stambaugh <stambaughw@xxxxxxxxx <mailto:stambaughw@xxxxxxxxx>> 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 should switch
    the msys2 5.1 builds to OCC because it resolves some issues.

    Wayne

    On 5/17/2021 3:21 PM, Seth Hillbrand wrote:
     > After reviewing the thread that Nick linked
     > (https://gitlab.com/kicad/code/kicad/-/issues/6198
    <https://gitlab.com/kicad/code/kicad/-/issues/6198>
     > <https://gitlab.com/kicad/code/kicad/-/issues/6198
    <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 (https://github.com/tpaviot/oce/releases
    <https://github.com/tpaviot/oce/releases>
     > <https://github.com/tpaviot/oce/releases
    <https://github.com/tpaviot/oce/releases>>) in that it only tags
    upstream
     > releases and hasn't released any updates since 2018.
     >
     > Keeping OCE in the build tree as an option is just asking for
    headaches
     > that we can avoid in v6.
     >
     > -Seth
     >
     > On Mon, May 17, 2021 at 12:07 PM Steven A. Falco
    <stevenfalco@xxxxxxxxx <mailto:stevenfalco@xxxxxxxxx>
     > <mailto:stevenfalco@xxxxxxxxx <mailto:stevenfalco@xxxxxxxxx>>> wrote:
     >
     >     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
    <https://launchpad.net/~kicad-developers>
     >     <https://launchpad.net/~kicad-developers
    <https://launchpad.net/~kicad-developers>>
     >     Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
    <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
     >     <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx
    <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>>
     >     Unsubscribe : https://launchpad.net/~kicad-developers
    <https://launchpad.net/~kicad-developers>
     >     <https://launchpad.net/~kicad-developers
    <https://launchpad.net/~kicad-developers>>
     >     More help   : https://help.launchpad.net/ListHelp
    <https://help.launchpad.net/ListHelp>
     >     <https://help.launchpad.net/ListHelp
    <https://help.launchpad.net/ListHelp>>
     >
     >
     >
     > --
     > KiCad Services Corporation Logo
     > Seth Hillbrand
     > *Lead Developer*
     > +1-530-302-5483‬
     > Long Beach, CA
     > www.kipro-pcb.com <http://www.kipro-pcb.com>
    <https://www.kipro-pcb.com/ <https://www.kipro-pcb.com/>>
    info@xxxxxxxxxxxxx <mailto:info@xxxxxxxxxxxxx>
     > <mailto:info@xxxxxxxxxxxxx <mailto:info@xxxxxxxxxxxxx>>
     >
     >
     > _______________________________________________
     > 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>



References