Re: build and debug Elmer on VS-Code on Windows
Posted: 08 Sep 2023, 15:30
Hello Phil,
Good to see that configure was successful. Not good to see the error in generate. One way to figure out if it is a VS Code setup issue, would be to download and install Cmake. Open Cmake-gui and run configure in the elmerfem directory. When prompted, create a build directory and select 'mingw makefiles'. Click on configure several times until all red entries have turned white, then click on generate. If generate is successful, change to the build directory, and run 'mingw32-make'. If that is successful, then run 'ctest'.
If Cmake-gui is successful, then the generate error is probably due to VS Code setup.
Rich.
Good to see that configure was successful. Not good to see the error in generate. One way to figure out if it is a VS Code setup issue, would be to download and install Cmake. Open Cmake-gui and run configure in the elmerfem directory. When prompted, create a build directory and select 'mingw makefiles'. Click on configure several times until all red entries have turned white, then click on generate. If generate is successful, change to the build directory, and run 'mingw32-make'. If that is successful, then run 'ctest'.
If Cmake-gui is successful, then the generate error is probably due to VS Code setup.
Rich.