Struggling to build on Window 11 - "invalid version specification" for Visual Studio #778
-
Hi, I'm currently trying to build OpenRV on Windows, and have hit an issue. I have installed the following build tools in VS:
I have edited
If I look in
When I run
Any idea what I've missed here? I feel like I've been pretty thorough in following the steps. I know that some of the build documentation is out of date, as I noticed that the Qt installer screenshots don't match the current installer. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
Hi @HughMacdonald! For Qt install, I think it got an update recently which changed the whole UI. I don't think it would change much, but you could try to not modify the props file since we are specifying it in the CMake command. The documentation need to be updated to reflect that. Quick question, which version of CMake are you using? It seems like CMake does not like the |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick reply! I'm using CMake 3.27.6, which matches what the documentation specifies. I've changed the props file back to what it was before (14.42.34433) and tried running rvcfg again My output is similar, except that now it lists a different version:
|
Beta Was this translation helpful? Give feedback.
-
Ah - so I just updated CMake to the latest version (4.0.2), and ran rvcfg again, and it seems to be working now (or at least is getting past the place where it got stuck before) |
Beta Was this translation helpful? Give feedback.
-
For the sake of having an answer on here (apologies for treating multiple answers as a thread), here's what worked for me:
Thanks @cedrik-fuoco-adsk - I'm going to answer this and close this out. |
Beta Was this translation helpful? Give feedback.
For the sake of having an answer on here (apologies for treating multiple answers as a thread), here's what worked for me:
CMAKE_POLICY_VERSION_MINIMUM
env var to3.5
Thanks @cedrik-fuoco-adsk - I'm going to answer this and close this out.