I'm having trouble building on mac after enabling OCC.
I had both OCC and OCE disabled and I assume that's why 3D viewer
didn't show STEP models any more.
I installed OCC 7.5.0 using homebrew 'opencascade' formula.
Is it possible to disable just kicad2step?
[ 30%] Linking CXX static library libkic
Ok, I'm now trying to build against OCE instead, as I'm sure that used
to work before.
I managed to have CMake find my homebrew installed OCE by setting
OCE_DIR, however it fails here:
make[2]: *** No rule to make target
`/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Develop
You need to make sure you have a clean buid dir and try yo explicitly
disable oce and enable occt on your cmake configure line.
fre. 5. mar. 2021 11.48 skrev Jonatan Liljedahl :
> Ok, I'm now trying to build against OCE instead, as I'm sure that used
> to work before.
> I managed to have CMake fi
I've tried with a fresh build dir, still getting this:
Undefined symbols for architecture x86_64:
"Standard_Type::Register(char const*, char const*, unsigned long,
opencascade::handle const&)", referenced from:
opencascade::type_instance::get() in
libkicad2step_lib.a(oce_utils.cpp.o)
@Jonatan Liljedahl Please share your cmake commandss
On Fri, 5 Mar 2021 at 12:42, Jeff Young wrote:
>
> I never managed to get this to work (but my kung fu with build systems is
> notoriously weak).
>
> Anyway, my current build flags are:
>
> -DCMAKE_C_COMPILER=clang
> -DCMAKE_CXX_COMPILER=clan
Ok,
I finally made it build with OCC, after uninstalling and reinstalling
OCC with homebrew. Not sure what happened..
However, now there are *no* 3D models showing up.
I noticed that there's a new KICAD6_3DMODEL_DIR path, which defaults
to "/usr/local/3dmodels/" (where I have no 3d models).
Is this
I tried "make install" in case something wasn't in the right place,
but now that fails (which used to work fine):
-- fixup_bundle
--
app='/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/MacOS/kicad'
--
libs='/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/_cvpcb
Maybe try the kicad-mac-buidler just to verify your environment works?
It should use the same brew stuff as you manually use.
https://gitlab.com/kicad/packaging/kicad-mac-builder/
On Fri, 5 Mar 2021 at 17:44, Jonatan Liljedahl wrote:
>
> I tried "make install" in case something wasn't in the rig
It is certainly possible that Homebrew is distributing bottles that
are linked a little weird, and you'd be getting the MacOS 10.14
reference from that. We've had this happen before.
Regarding the libTKVCAF error, it looks like something's not quite
right between the library and the fixup_bundle
9 matches
Mail list logo