Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails: The operating system does not have any available pre-built binaries. See the build documentation to build your own. #1024

Open
yurivict opened this issue May 2, 2023 · 5 comments

Comments

@yurivict
Copy link

yurivict commented May 2, 2023

Describe the bug
Build fails:

CMake Error at /usr/ports/biology/simvascular/work/SimVascular-2022-07-19-gf6179e1f/Code/CMake/SimVascularMacros.cmake:1372 (message):
  The operating system does not have any available pre-built binaries.  See
  the build documentation to build your own.
Call Stack (most recent call first):
  CMake/SvExtOptions.cmake:79 (sv_externals_add_new_external)
  CMakeLists.txt:83 (include)

To Reproduce
Regular cmake configure

The statement:

The operating system does not have any available pre-built binaries.

is incorrect. Qt5 binaries are installed through the qt5-core-5.15.8p157_1, qt5-widgets-5.15.8p157, etc. packages.

How to make SimVascular to find Qt and other binaries?

Revision: 2022-07-19-gf6179e1f
clang-13.2
OS: FreeBSD 13.2

@ktbolt
Copy link
Contributor

ktbolt commented May 2, 2023

@yurivict SimVascular uses pre-built packages for Windows, MacOS and Ubuntu downloaded from http://simvascular.stanford.edu/downloads/public/simvascular/externals/, it does not use any of these packages (e.g., Qt) installed locally. There are currently no pre-built packages for FreeBSD.

@yurivict
Copy link
Author

yurivict commented May 2, 2023

How to use package-installed binaries?

@ktbolt
Copy link
Contributor

ktbolt commented May 2, 2023

The packages are automatically downloaded when you use CMake to build SimVascular. The error message you saw was from CMake not being able to find appropriate binaries for your OS.

@yurivict
Copy link
Author

yurivict commented May 2, 2023

cmake typically looks for Qt using a line like this:

find_package(Qt5 COMPONENTS Core Gui Svg Widgets REQUIRED)

SimVascular doesn't do this?

@ktbolt
Copy link
Contributor

ktbolt commented May 2, 2023

SimVascular downloads Qt as an external package (e.g., see http://simvascular.stanford.edu/downloads/public/simvascular/externals/2022.10/linux/ubuntu/20.04/gnu/7.5/x64/release/2022.10.13/) because of compatibility issues with the MITK framework SimVascular uses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants