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

Issues with install #31

Open
UmSoLikeYeah opened this issue Mar 9, 2021 · 1 comment
Open

Issues with install #31

UmSoLikeYeah opened this issue Mar 9, 2021 · 1 comment

Comments

@UmSoLikeYeah
Copy link

I was trying to install and m having some issues.
I am using MacOs 10.15.7 (Catalina) and have been following the suggested instructions by virtualritz.

When I get to "cmake -DUSE_GDCM=ON .." I am getting an error that reads: 15 (find_package):
Could not find a configuration file for package "Qt5" that is compatible
with requested version "5.15".

I did check that I had qt5 installed, and I do. I'm at a loss of what else to do.

I have attached the CMakeOutput.log. and have copied my terminal code below.

`Last login: Mon Mar 8 17:42:45 on ttys000

The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh.
For more details, please visit https://support.apple.com/kb/HT208050.
(base) MacBook-Pro:~ Jessi$ cd desktop
(base) MacBook-Pro:desktop Jessi$ cd Notwork
(base) MacBook-Pro:Notwork Jessi$ brew install gdcm
Warning: gdcm 3.0.8_2 is already installed and up-to-date.
To reinstall 3.0.8_2, run:
brew reinstall gdcm
(base) MacBook-Pro:Notwork Jessi$ git clone https://github.com/dgobbi/vtk-dicom.git
Cloning into 'vtk-dicom'...
remote: Enumerating objects: 187, done.
remote: Counting objects: 100% (187/187), done.
remote: Compressing objects: 100% (134/134), done.
remote: Total 8627 (delta 99), reused 102 (delta 53), pack-reused 8440
Receiving objects: 100% (8627/8627), 10.46 MiB | 9.91 MiB/s, done.
Resolving deltas: 100% (6430/6430), done.
(base) MacBook-Pro:Notwork Jessi$ cd vtk-dicom
(base) MacBook-Pro:vtk-dicom Jessi$ mkdir build
(base) MacBook-Pro:vtk-dicom Jessi$
(base) MacBook-Pro:vtk-dicom Jessi$ cd build
(base) MacBook-Pro:build Jessi$ cmake -DUSE_GDCM=ON ..
-- The C compiler identification is AppleClang 12.0.0.12000032
-- The CXX compiler identification is AppleClang 12.0.0.12000032
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:5 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.

Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.

-- vtkDICOM: Building vtkDICOM outside of VTK
CMake Error at /usr/local/lib/cmake/vtk-9.0/VTK-vtk-module-find-packages.cmake:115 (find_package):
Could not find a configuration file for package "Qt5" that is compatible
with requested version "5.15".

The following configuration files were considered but not accepted:

/Users/Jessi/opt/anaconda3/lib/cmake/Qt5/Qt5Config.cmake, version: 5.9.7

Call Stack (most recent call first):
/usr/local/lib/cmake/vtk-9.0/vtk-config.cmake:131 (include)
CMakeLists.txt:83 (find_package)

-- Configuring incomplete, errors occurred!
See also "/Users/Jessi/desktop/NotWork/vtk-dicom/build/CMakeFiles/CMakeOutput.log".
(base) MacBook-Pro:build Jessi$ brew install qt@5
Warning: qt@5 5.15.2 is already installed and up-to-date.
To reinstall 5.15.2, run:
brew reinstall qt@5
(base) MacBook-Pro:build Jessi$ `

CMakeOutput.log

@UmSoLikeYeah
Copy link
Author

I also tried not installing not doing vtk-dicom and just installing DicomToMesh and I am still having the same issue

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

1 participant