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

Single-Config Ninja build fails on Windows April 2022 #1083

Closed
traversaro opened this issue Apr 5, 2022 · 3 comments · Fixed by #1682
Closed

Single-Config Ninja build fails on Windows April 2022 #1083

traversaro opened this issue Apr 5, 2022 · 3 comments · Fixed by #1682

Comments

@traversaro
Copy link
Member

I tried to build locally with ninja, and it is failing with error:

-- Long integers (64bit) are ON
-- Configuring done
-- Generating done
CMake Error:
  Running

   'C:/Users/STraversaro/AppData/Local/mambaforge/envs/robsub/Library/bin/ninja.exe' '-C' 'C:/src/robotology-superbuild/build/src/osqp' '-t' 'recompact'

  failed with:

   ninja: error: build.ninja:320: multiple rules generate out/osqp.lib [-w dupbuild=err]





CMake Generate step failed.  Build files cannot be regenerated correctly.
ninja: build stopped: subcommand failed.
@traversaro traversaro changed the title Ninja build fails on Windows Single-Config Ninja build fails on Windows April 2022 Apr 13, 2022
@traversaro
Copy link
Member Author

Probably related to tesseract-robotics/trajopt#287 .

@traversaro
Copy link
Member Author

Apparently Windows-rebuild of the superbuild takes a lot of time. Ideally solving this and conda-forge/vc-feedstock#39 and documenting the ninja based workflow could drastically improve this.

@traversaro
Copy link
Member Author

Apparently Windows-rebuild of the superbuild takes a lot of time. Ideally solving this and conda-forge/vc-feedstock#39 and documenting the ninja based workflow could drastically improve this.

Today I did for debug a build with ROBOTOLOGY_ENABLE_DYNAMICS_FULL_DEPS and I took literally forever, I think it is quite important to fix this.

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.

1 participant