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

Target "ITKReview" requests linking to directory "/opt/cuda/lib64". #217

Open
hatiden opened this Issue Nov 21, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@hatiden

hatiden commented Nov 21, 2018

#209 [Before submitting an issue, please check that your issue hasn't been already
filed]

Description

Hello,
I tried to build the ITKREVIEW in Ubuntu 16.04,When I set Module_ITKREVIEW ON and use ccmake to generante the files.WARNING ERRORS AS FOLLOWS:

WARNING: Target "ITKReview" requests linking to directory "/opt/cuda/lib64". Targets may link only to libraries. CMake is dropping the
item.

WARNING: Target "ITKReview" requests linking to directory "/opt/cuda/lib64". Targets may link only to libraries. CMake is dropping the
item.

WARNING: Target "ITKReview" requests linking to directory "/opt/cuda/lib64". Targets may link only to libraries. CMake is dropping the
item.

WARNING: Target "ITKReview" requests linking to directory "/opt/cuda/lib64". Targets may link only to libraries. CMake is dropping the
item.
I 'VE tried to add the link_directories(“/opt/cuda/lib64”) in the top of the CMakeList.txt,error still

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

[Provide a minimal, complete, compilable, and verifiable example (commonly
abbreviated as MWE, minimal working example) or code snippet, either through a
GitHub gist or providing your own files (including
your source code, CMakeLists.txt file and your data) reproducing the issue or
clearly showing where your concern lies.

Expected behavior

[What you expect to happen]

Actual behavior

[What actually happens]

Reproducibility

[What percentage of the time does it reproduce?]

Versions

[If a tagged version, you can get this information by inspecting the
ITK_VERSION_MAJOR ITK_VERSION_MINOR and ITK_VERSION_PATCH variable
values in the ITKConfig.cmake file]

[If the commit number is required, run $ git rev-parse --short HEAD]

Environment

[Which your OS and compiler are]

Additional Information

[Any additional information, configuration or data that might be necessary to reproduce the issue.]

Note: Use issues for their purpose; issues are not for code help. Need help? Ask
your question at https://discourse.itk.org/

@thewtex

This comment has been minimized.

Member

thewtex commented Nov 26, 2018

Hi @hatiden ,

Could you please provide more information on the ITK version that you are trying to build and the CMake configuration options passed?

Also, note that there are ITK packages available in Ubuntu 16.04.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment