-
Notifications
You must be signed in to change notification settings - Fork 94
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
NG building from microsoft/vcpkg #196
Comments
Related: microsoft/vcpkg#12839 |
Which version of VTK are you using? Are you building programs that use vtk-dicom, or are you packaging it up for other people to use? For VTK 9, the most common way to build vtkDICOM is to enable it as part of the VTK build itself, by using the following configuration option (only for VTK 9, not for older versions of VTK): VTK_MODULE_ENABLE_VTK_DICOM:STRING=DEFAULT For VTK 8 and earlier, the instructions at https://dgobbi.github.io/vtk-dicom/doc/api/installation.html should work. |
@dgobbi VTK version 9.0.1.
does't work. |
appreciate for reply!! On the other hand, i am trying to build vtk-dicom as a sub module, in this case there is also an unexpected behavior. |
build vtk-dicom from vcpkg, find_package and target_link_libraries is not working.
The following find_package and target_link_libraries is not working.
![image](https://user-images.githubusercontent.com/12969818/89864181-15039380-dbde-11ea-975a-cc0a228aed0c.png)
Error Message is: LINK: fatal error LNK1104: can not open "VTK::DICOM.lib".
Check the vcpkg build log , we can find that vtk-dicom is built by "outside of VTK" mode.
![image](https://user-images.githubusercontent.com/12969818/89864988-7b3ce600-dbdf-11ea-81c3-531eee97ffec.png)
Please help, How can I fix this problem?
The text was updated successfully, but these errors were encountered: