I built from source via:
~/dev/SimVascular-build$ cmake -DQt5_DIR=/Users/heiland/dev/SimVascular-Qt5.4.2/5.4/clang_64/lib/cmake/Qt5 ~/git/SimVascular/
...
~/dev/SimVascular-build$ make
...
However, when I try to run it, I get:
~/dev/SimVascular-build$ SimVascular-build/bin/simvascular
dyld: Library not loaded: libfreetype.2.6.dylib
Referenced from: /Users/heiland/dev/SimVascular-build/SimVascular-build/bin/simvascular
and I do have it:
~/dev/SimVascular-build$ find . -name libfreetype.2.6.dylib
./Externals-build/sv_externals/bin/appleclang/9.0/x64/freetype-2.6.3/lib/libfreetype.2.6.dylib
Is there a startup script or something else I've missed?
thanks! Randy
running on OSX
- Adam Updegrove
- Posts: 236
- Joined: Fri Aug 30, 2013 4:11 pm
Re: running on OSX
Hi Randy,
Yep, you guessed it. The startup script should be just outside the bin directory named 'sv'.
Try ~/dev/SimVascular-build/sv
Let me know if that doesn't work.
Thanks!
SimVascular Development Team
Yep, you guessed it. The startup script should be just outside the bin directory named 'sv'.
Try ~/dev/SimVascular-build/sv
Let me know if that doesn't work.
Thanks!
SimVascular Development Team
- Randy Heiland
- Posts: 9
- Joined: Tue Mar 27, 2007 6:43 am
Re: running on OSX
$ SimVascular-build/sv
dyld: Library not loaded: /usr/local/package/Qt5.4.2/5.4/clang_64/lib/QtXmlPatterns.framework/Versions/5/QtXmlPatterns
Referenced from: /Users/heiland/dev/SimVascular-build/Externals-build/sv_externals/bin/appleclang/9.0/x64/mitk-2016.03/lib/libCTKCommandLineModulesBackendLocalProcess.0.1.dylib
And sure enough:
$ ldd /Users/heiland/dev/SimVascular-build/Externals-build/sv_externals/bin/appleclang/9.0/x64/mitk-2016.03/lib/libCTKCommandLineModulesBackendLocalProcess.0.1.dylib
/Users/heiland/dev/SimVascular-build/Externals-build/sv_externals/bin/appleclang/9.0/x64/mitk-2016.03/lib/libCTKCommandLineModulesBackendLocalProcess.0.1.dylib:
/usr/local/sv/ext/build/clang-7.0/x64/mitk-2016.03/ep/src/CTK-build/CTK-build/bin/libCTKCommandLineModulesBackendLocalProcess.0.1.dylib (compatibility version 0.1.0, current version 0.1.0)
/usr/local/sv/ext/build/clang-7.0/x64/mitk-2016.03/ep/src/CTK-build/CTK-build/bin/libCTKCommandLineModulesCore.0.1.dylib (compatibility version 0.1.0, current version 0.1.0)
/usr/local/sv/ext/build/clang-7.0/x64/mitk-2016.03/ep/src/CTK-build/CTK-build/bin/libCTKCore.0.1.dylib (compatibility version 0.1.0, current version 0.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)
/usr/local/package/Qt5.4.2/5.4/clang_64/lib/QtXmlPatterns.framework/Versions/5/QtXmlPatterns (compatibility version 5.4.0, current version 5.4.2)
/usr/local/package/Qt5.4.2/5.4/clang_64/lib/QtNetwork.framework/Versions/5/QtNetwork (compatibility version 5.4.0, current version 5.4.2)
/usr/local/package/Qt5.4.2/5.4/clang_64/lib/QtWidgets.framework/Versions/5/QtWidgets (compatibility version 5.4.0, current version 5.4.2)
/usr/local/package/Qt5.4.2/5.4/clang_64/lib/QtGui.framework/Versions/5/QtGui (compatibility version 5.4.0, current version 5.4.2)
/usr/local/package/Qt5.4.2/5.4/clang_64/lib/QtConcurrent.framework/Versions/5/QtConcurrent (compatibility version 5.4.0, current version 5.4.2)
/usr/local/package/Qt5.4.2/5.4/clang_64/lib/QtCore.framework/Versions/5/QtCore (compatibility version 5.4.0, current version 5.4.2)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.1.0)
As background, I installed your qt-opensource-mac-x64-clang-5.4.2.dmg as a dependency for SV.
-Randy
dyld: Library not loaded: /usr/local/package/Qt5.4.2/5.4/clang_64/lib/QtXmlPatterns.framework/Versions/5/QtXmlPatterns
Referenced from: /Users/heiland/dev/SimVascular-build/Externals-build/sv_externals/bin/appleclang/9.0/x64/mitk-2016.03/lib/libCTKCommandLineModulesBackendLocalProcess.0.1.dylib
And sure enough:
$ ldd /Users/heiland/dev/SimVascular-build/Externals-build/sv_externals/bin/appleclang/9.0/x64/mitk-2016.03/lib/libCTKCommandLineModulesBackendLocalProcess.0.1.dylib
/Users/heiland/dev/SimVascular-build/Externals-build/sv_externals/bin/appleclang/9.0/x64/mitk-2016.03/lib/libCTKCommandLineModulesBackendLocalProcess.0.1.dylib:
/usr/local/sv/ext/build/clang-7.0/x64/mitk-2016.03/ep/src/CTK-build/CTK-build/bin/libCTKCommandLineModulesBackendLocalProcess.0.1.dylib (compatibility version 0.1.0, current version 0.1.0)
/usr/local/sv/ext/build/clang-7.0/x64/mitk-2016.03/ep/src/CTK-build/CTK-build/bin/libCTKCommandLineModulesCore.0.1.dylib (compatibility version 0.1.0, current version 0.1.0)
/usr/local/sv/ext/build/clang-7.0/x64/mitk-2016.03/ep/src/CTK-build/CTK-build/bin/libCTKCore.0.1.dylib (compatibility version 0.1.0, current version 0.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)
/usr/local/package/Qt5.4.2/5.4/clang_64/lib/QtXmlPatterns.framework/Versions/5/QtXmlPatterns (compatibility version 5.4.0, current version 5.4.2)
/usr/local/package/Qt5.4.2/5.4/clang_64/lib/QtNetwork.framework/Versions/5/QtNetwork (compatibility version 5.4.0, current version 5.4.2)
/usr/local/package/Qt5.4.2/5.4/clang_64/lib/QtWidgets.framework/Versions/5/QtWidgets (compatibility version 5.4.0, current version 5.4.2)
/usr/local/package/Qt5.4.2/5.4/clang_64/lib/QtGui.framework/Versions/5/QtGui (compatibility version 5.4.0, current version 5.4.2)
/usr/local/package/Qt5.4.2/5.4/clang_64/lib/QtConcurrent.framework/Versions/5/QtConcurrent (compatibility version 5.4.0, current version 5.4.2)
/usr/local/package/Qt5.4.2/5.4/clang_64/lib/QtCore.framework/Versions/5/QtCore (compatibility version 5.4.0, current version 5.4.2)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.1.0)
As background, I installed your qt-opensource-mac-x64-clang-5.4.2.dmg as a dependency for SV.
-Randy
- Adam Updegrove
- Posts: 236
- Joined: Fri Aug 30, 2013 4:11 pm
Re: running on OSX
Hi Randy,
Yes, we actually recently realized this issue and are working on a fix for it. For now, you can install Qt at /usr/local/package or create a symbolic link to /usr/local/package and things should work fine.
Thanks!
SimVascular Development Team
Yes, we actually recently realized this issue and are working on a fix for it. For now, you can install Qt at /usr/local/package or create a symbolic link to /usr/local/package and things should work fine.
Thanks!
SimVascular Development Team
- Randy Heiland
- Posts: 9
- Joined: Tue Mar 27, 2007 6:43 am
Re: running on OSX
Yep, the symlink does the trick. Just wanted to be sure I hadn't goofed up the build/install process. I have a GUI now!
Impressive bit of software bundling you've all done there. Thanks Adam!
-Randy
Impressive bit of software bundling you've all done there. Thanks Adam!
-Randy