I assume you selected the Visual Studio generator at the very
beginning of the CMake configuration?
When using the CMake Visual Studio generators, you do not select
anything at configuration time. Instead, CMake will generate the
four standard configurations (Debug, MinSizeRelease, Release, and
RelWithDebInfo) and you select one of those when you build the
solution within Visual Studio.
--
You received this message because you are subscribed to the Google Groups "ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email to projectchron...@googlegroups.com.
To post to this group, send email to projec...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Haja (?),
First, don't choose "some" Visual Studio. Instead pick 'Win 64'; Chrono must be built in 64-bit.
Second, leave the CMake variable 'CMAKE_CONFIGURATION_TYPES' unchanged. CMake provides a multi-configuration generator for Visual Studio and the build type is set at build time (unlike on Linux for example, where the build type is set at configuration time).
I'm not quite sure what the problem is exactly. If the above do not address it, please provide more details.
--Radu
When I press Configure, automatically is choose some Visual Studio....
Check your Visual Studio installation. If that one is fine, maybe reinstall CMake (did you by any chance get VS 2015 after you installed CMake?)
As shown in the screenshot you provided, CMake didn't find any
generator. The message next to the 'Configure', 'Generate', 'Open
Project' buttons should read something like: "Current generator:
Visual Studio 15 2017 Win64".
Look also in the CMakeOutput.log file. What does that say?
--Radu
I try VS 10-15 Win64, there is always a mistake.
Hmm, now I saw your second image which shows that CMake is trying to use VS 2017 Win64 as the generator. There may still be a problem with CMake not finding your Visual Studio 2017 installation, so it may be worth trying to reinstall CMake.
But first, try also to delete everything in your build tree (D:/CHRONO/chrono_built).
If you cannot figure this out from the log file, please post it here.
--Radu