build and debug Elmer on VS-Code on Windows

Discussion about building and installing Elmer
Rich_B
Posts: 423
Joined: 24 Aug 2009, 20:18

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

Post 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.
Phil13
Posts: 6
Joined: 03 Sep 2023, 19:31
Antispam: Yes

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

Post 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
Attachments
CMake_gui_error.JPG
(149.74 KiB) Not downloaded yet
Rich_B
Posts: 423
Joined: 24 Aug 2009, 20:18

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

Post 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.
Post Reply