Skip to content

ITK build problems with Sphinx Examples #250

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

Closed
melrobin opened this issue Mar 17, 2021 · 1 comment · Fixed by #258
Closed

ITK build problems with Sphinx Examples #250

melrobin opened this issue Mar 17, 2021 · 1 comment · Fixed by #258
Assignees

Comments

@melrobin
Copy link
Contributor

When building ITK with BUILD_EXAMPLES and BUILD_DOCUMENTATION turned on I receive the following error:
CMake Error at Examples/SpatialObjects/CMakeLists.txt:27 (add_executable):
add_executable cannot create target "LineSpatialObject" because another
target with the same name already exists. The existing target is an
executable created in source directory
"/home/melrobin/packages/ITK/Modules/Remote/SphinxExamples/src/Core/SpatialObjects/LineSpatialObject".
See documentation for policy CMP0002 for more details.

There may be some conflict with ITKExamples.

@thewtex
Copy link
Member

thewtex commented Mar 17, 2021

Perhaps we should rename the sphinx example to CreateALineSpatialObject or similar.

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

Successfully merging a pull request may close this issue.

3 participants