Closed dtakeshita closed 1 year ago
Hi there! Can you scroll up in the output window at the bottom, the actual error message should be written over there
Sorry I missed the error message. It says like below, but I had installed Visual Studio (Microsoft Visual Studio Community 2022, Version 17.7.6, VisualStudio.17.Release/17.7.6+34221.43). Is there something to do like giving a path for Visual Studio or anything like that? I really need to do this although I am horribly stuck. I really appreciate your help.
CMake Error at CMakeLists.txt:2 (project): Generator
Visual Studio 17 2022
could not find any instance of Visual Studio.
Hi @dtakeshita !
This issue is a CMake issue, not an ezc3d issue. There are plenty of reasons why CMake won't find Visual Studio on your computer. The most likely is that you have VS, but you forgot to install the C++ compiler that comes with it. You can have a look here (first answer): https://stackoverflow.com/questions/51668676/cmake-visual-studio-15-2017-could-not-find-any-instance-of-visual-studio to get some help!
Also, if you need help compiling thereafter, I suggest this video I made: https://www.youtube.com/watch?v=gWno_NXrITA
That said, if you have never compiled a C++ project, I suspect you are not using ezc3d from C++. If you are using it from Python, I strongly suggest to use the precompiled version on anaconda conda install ezc3d -cconda-forge
. Please refer to the documentation to see how!
Thanks for a quick reply. Actually, I would like to use ezc3d from Matlab. In that case, how would you install?
For Matlab, you will need to compile. The video I provided will help, but you must properly install Visual Studio with C++ compiler first. So both links should help :)
Although the contents of the configure files was different from your video, I managed to use ezc3d on Matlab!!! Your information was very helpful. Thanks a lot!!!
I tried to compile with CMake. But, I get an error when I try to configure on CMake. What does this mean?