Hi, As I said earlier, it links fine for me now. It might have been some combination of installing CommandLineTools via xcode-select and uninstalling and reinstalling OCC. I did not force a 10.14 bottle.
However, 'make install' still fails for me so I'm running kicad from the build dir (which works mostly). I think it might be the same issue as https://gitlab.com/kicad/code/kicad/-/issues/3718 Would be great if we could find a fix for this.. -- 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.kiface;/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/_eeschema.kiface;/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/_gerbview.kiface;/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/_pcb_calculator.kiface;/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/_pcbnew.kiface;/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/_pl_editor.kiface;/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/3d/libs3d_plugin_idf.so;/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/3d/libs3d_plugin_oce.so;/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/3d/libs3d_plugin_vrml.so;/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/sim/libngspice.0.dylib;/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/Frameworks/python/site-packages/_pcbnew.so' -- dirs=' /usr/local/opt/opencascade/lib' -- ignoreItems='' -- fixup_bundle: preparing... -- warning: embedded item does not exist '/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/3d/libTKVCAF.7.dylib' -- warning: cannot resolve item '@loader_path/libTKVCAF.7.dylib' possible problems: need more directories? need to use InstallRequiredSystemLibraries? run in install tree instead of build tree? CMake Error at /Applications/CMake.app/Contents/share/cmake-3.15/Modules/BundleUtilities.cmake:452 (message): otool -l failed: 1 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: error: '@loader_path/libTKVCAF.7.dylib': No such file or directory Call Stack (most recent call first): /Applications/CMake.app/Contents/share/cmake-3.15/Modules/BundleUtilities.cmake:521 (get_item_rpaths) /Applications/CMake.app/Contents/share/cmake-3.15/Modules/BundleUtilities.cmake:616 (set_bundle_key_values) /Applications/CMake.app/Contents/share/cmake-3.15/Modules/BundleUtilities.cmake:939 (get_bundle_keys) kicad/cmake_install.cmake:101 (fixup_bundle) cmake_install.cmake:67 (include) On Wed, Mar 10, 2021 at 3:48 AM Adam Wolf <adamw...@feelslikeburning.com> wrote: > > I haven't seen that. I can take a look at a bigger build log if you want. > > To be clear for others, I'm not advocating carrying around a 10.14 > bottle of opencascade; this is troubleshooting in progress :) > > Adam > > On Tue, Mar 9, 2021 at 7:02 PM Jon Evans <j...@craftyjon.com> wrote: > > > > Hi Jonatan, > > > > I hit the exact same issue (I'm also on 10.15), and after chatting with > > Adam about it, decided to try using the 10.14 bottle manually: > > > > Download > > https://bintray.com/homebrew/bottles/download_file?file_path=opencascade-7.5.0.mojave.bottle.tar.gz > > > > Install with: > > > > brew install -f --force-bottle opencascade-7.5.0.mojave.bottle.tar.gz > > brew link --overwrite opencascade > > > > After this, I am able to get past the opencascade link errors. > > > > I do have another error after this, which I haven't figured out yet: > > > > make[6]: *** No rule to make target > > `/usr/local/Cellar/cairo/1.16.0_3/lib/libcairo.dylib', needed by > > `kicad/KiCad.app/Contents/PlugIns/_eeschema.kiface'. Stop. > > > > @Adam or anyone else, have you seen this before? > > > > -Jon > > > > On Sat, Mar 6, 2021 at 3:47 AM Jonatan Liljedahl <li...@kymatica.com> wrote: > >> > >> On Fri, Mar 5, 2021 at 8:45 PM Adam Wolf <adamw...@feelslikeburning.com> > >> wrote: > >> > > >> > 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. > >> > >> Yes, I think this was the case with my OCE install, OCEConfig.cmake > >> referenced 10.14. After unbrewing OCE, I tried to brew install it > >> again but only got a 404. However, after that I reinstalled OCC and it > >> built fine so maybe OCE and OCC was in conflict or something. > >> > >> > Regarding the libTKVCAF error, it looks like something's not quite > >> > right between the library and the fixup_bundle call. > >> > > >> > Does libTKVCAF.7.dylib exist on your system? > >> > >> Yes, that and all other OCC libs exist in > >> /usr/local/Cellar/opencascade/7.5.0_1/lib as well as symlinked into > >> /usr/local/lib (by homebrew). > >> > >> So I assume the problem here is that it's not finding all these libs > >> at runtime? How can I check if this is actually the issue here? > >> > >> During "make install" I get all these warnings: > >> > >> -- warning: embedded item does not exist > >> '/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/3d/libTKCAF.7.dylib' > >> -- > >> warning: cannot resolve item '@loader_path/libTKCAF.7.dylib' > >> > >> possible problems: > >> need more directories? > >> need to use InstallRequiredSystemLibraries? > >> run in install tree instead of build tree? > >> > >> -- warning: embedded item does not exist > >> '/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/3d/libTKV3d.7.dylib' > >> -- > >> warning: cannot resolve item '@loader_path/libTKV3d.7.dylib' > >> > >> possible problems: > >> need more directories? > >> need to use InstallRequiredSystemLibraries? > >> run in install tree instead of build tree? > >> > >> -- warning: embedded item does not exist > >> '/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/3d/libTKLCAF.7.dylib' > >> -- > >> warning: cannot resolve item '@loader_path/libTKLCAF.7.dylib' > >> > >> possible problems: > >> need more directories? > >> need to use InstallRequiredSystemLibraries? > >> run in install tree instead of build tree? > >> > >> -- warning: embedded item does not exist > >> '/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/3d/libTKCDF.7.dylib' > >> -- > >> warning: cannot resolve item '@loader_path/libTKCDF.7.dylib' > >> > >> possible problems: > >> need more directories? > >> need to use InstallRequiredSystemLibraries? > >> run in install tree instead of build tree? > >> > >> -- warning: embedded item does not exist > >> '/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/3d/libTKBO.7.dylib' > >> -- > >> warning: cannot resolve item '@loader_path/libTKBO.7.dylib' > >> > >> possible problems: > >> need more directories? > >> need to use InstallRequiredSystemLibraries? > >> run in install tree instead of build tree? > >> > >> -- warning: embedded item does not exist > >> '/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/3d/libTKPrim.7.dylib' > >> -- > >> warning: cannot resolve item '@loader_path/libTKPrim.7.dylib' > >> > >> possible problems: > >> need more directories? > >> need to use InstallRequiredSystemLibraries? > >> run in install tree instead of build tree? > >> > >> -- warning: embedded item does not exist > >> '/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/3d/libTKService.7.dylib' > >> -- > >> warning: cannot resolve item '@loader_path/libTKService.7.dylib' > >> > >> possible problems: > >> need more directories? > >> need to use InstallRequiredSystemLibraries? > >> run in install tree instead of build tree? > >> > >> -- warning: embedded item does not exist > >> '/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/3d/libTKMesh.7.dylib' > >> -- > >> warning: cannot resolve item '@loader_path/libTKMesh.7.dylib' > >> > >> possible problems: > >> need more directories? > >> need to use InstallRequiredSystemLibraries? > >> run in install tree instead of build tree? > >> > >> -- warning: embedded item does not exist > >> '/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/3d/libTKShHealing.7.dylib' > >> -- > >> warning: cannot resolve item '@loader_path/libTKShHealing.7.dylib' > >> > >> possible problems: > >> need more directories? > >> need to use InstallRequiredSystemLibraries? > >> run in install tree instead of build tree? > >> > >> -- warning: embedded item does not exist > >> '/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/3d/libTKHLR.7.dylib' > >> -- > >> warning: cannot resolve item '@loader_path/libTKHLR.7.dylib' > >> > >> possible problems: > >> need more directories? > >> need to use InstallRequiredSystemLibraries? > >> run in install tree instead of build tree? > >> > >> -- warning: embedded item does not exist > >> '/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/3d/libTKTopAlgo.7.dylib' > >> -- > >> warning: cannot resolve item '@loader_path/libTKTopAlgo.7.dylib' > >> > >> possible problems: > >> need more directories? > >> need to use InstallRequiredSystemLibraries? > >> run in install tree instead of build tree? > >> > >> -- warning: embedded item does not exist > >> '/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/3d/libTKGeomAlgo.7.dylib' > >> -- > >> warning: cannot resolve item '@loader_path/libTKGeomAlgo.7.dylib' > >> > >> possible problems: > >> need more directories? > >> need to use InstallRequiredSystemLibraries? > >> run in install tree instead of build tree? > >> > >> -- warning: embedded item does not exist > >> '/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/3d/libTKBRep.7.dylib' > >> -- > >> warning: cannot resolve item '@loader_path/libTKBRep.7.dylib' > >> > >> possible problems: > >> need more directories? > >> need to use InstallRequiredSystemLibraries? > >> run in install tree instead of build tree? > >> > >> -- warning: embedded item does not exist > >> '/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/3d/libTKGeomBase.7.dylib' > >> -- > >> warning: cannot resolve item '@loader_path/libTKGeomBase.7.dylib' > >> > >> possible problems: > >> need more directories? > >> need to use InstallRequiredSystemLibraries? > >> run in install tree instead of build tree? > >> > >> -- warning: embedded item does not exist > >> '/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/3d/libTKG3d.7.dylib' > >> -- > >> warning: cannot resolve item '@loader_path/libTKG3d.7.dylib' > >> > >> possible problems: > >> need more directories? > >> need to use InstallRequiredSystemLibraries? > >> run in install tree instead of build tree? > >> > >> -- warning: embedded item does not exist > >> '/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/3d/libTKG2d.7.dylib' > >> -- > >> warning: cannot resolve item '@loader_path/libTKG2d.7.dylib' > >> > >> possible problems: > >> need more directories? > >> need to use InstallRequiredSystemLibraries? > >> run in install tree instead of build tree? > >> > >> -- warning: embedded item does not exist > >> '/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/3d/libTKMath.7.dylib' > >> -- > >> warning: cannot resolve item '@loader_path/libTKMath.7.dylib' > >> > >> possible problems: > >> need more directories? > >> need to use InstallRequiredSystemLibraries? > >> run in install tree instead of build tree? > >> > >> -- warning: embedded item does not exist > >> '/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/PlugIns/3d/libTKernel.7.dylib' > >> -- > >> warning: cannot resolve item '@loader_path/libTKernel.7.dylib' > >> > >> possible problems: > >> need more directories? > >> need to use InstallRequiredSystemLibraries? > >> run in install tree instead of build tree? > >> > >> -- > >> /Jonatan > >> http://kymatica.com > >> > >> _______________________________________________ > >> Mailing list: https://launchpad.net/~kicad-developers > >> Post to : kicad-developers@lists.launchpad.net > >> Unsubscribe : https://launchpad.net/~kicad-developers > >> More help : https://help.launchpad.net/ListHelp -- /Jonatan http://kymatica.com _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp