Page 2 of 2

Re: build and debug Elmer on VS-Code on Windows

Posted: 08 Sep 2023, 15:30
by Rich_B
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.

Re: build and debug Elmer on VS-Code on Windows

Posted: 14 Sep 2023, 23:11
by Phil13
Hello Rich

first of all let me apologize for my late answer, I stupidly not see that your post had generated a page 2 of the discussion.
I really appreciate your help and thank you a lot !

I tried your procedure and got the following:
* in CMake-GUI all items turned white but an error is reported => see attached snapshot
* got the same when pressing Generate afterward

Phil

Re: build and debug Elmer on VS-Code on Windows

Posted: 15 Sep 2023, 00:04
by Rich_B
Hello Phil,

Looks like some good progress. Next step is to look through the log, there should be some clues from the error messages. Look for missing items, or items flagged as errors.

Rich.