# Extrude meshing question

**URL:** <https://prepomax.discourse.group/t/extrude-meshing-question/1389>\
**Category:** General Questions\
**Created:** [January 6, 2024, 12:46pm UTC](https://prepomax.discourse.group/t/extrude-meshing-question/1389 "2024-01-06T12:46:23Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trevor](https://avatars.discourse-cdn.com/v4/letter/t/258eb7/32.png) [@Trevor](https://prepomax.discourse.group/u/Trevor)\
**Post date:** [January 6, 2024, 12:46pm UTC](https://prepomax.discourse.group/t/extrude-meshing-question/1389/1 "2024-01-06T12:46:23Z")

</div>

Getting an error for the gmsh trying the extrusion example, any ideas ?

 ![image](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/8/85369f109f0645911897d17f35eb913194ad77dc.png)  
 ![image](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/1/184fa53c4018b94b8e1bb6662412f1aeb6536ffc.png)

---

<div class="post-metadata">

**Author:** ![FEAnalyst](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/feanalyst/32/688_2.png) [@FEAnalyst](https://prepomax.discourse.group/u/FEAnalyst)\
**Post date:** [January 6, 2024, 12:51pm UTC](https://prepomax.discourse.group/t/extrude-meshing-question/1389/2 "2024-01-06T12:51:43Z")

</div>

The first screenshot is from 2.0.0 but the second one shows files from 2.0.2. Is this GmshCommon.dll file also present in the folder with 2.0.0 ?

---

<div class="post-metadata">

**Author:** ![Trevor](https://avatars.discourse-cdn.com/v4/letter/t/258eb7/32.png) [@Trevor](https://prepomax.discourse.group/u/Trevor)\
**Post date:** [January 6, 2024, 2:06pm UTC](https://prepomax.discourse.group/t/extrude-meshing-question/1389/3 "2024-01-06T14:06:26Z")

</div>

Yes, I tried both versions. Dll is present in both.

 ![image](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/3/364071a1913f31f6cad403d8339db07e71993860.png)

Is anyone else using windows 11 ?  
Just seems strange I’m having issues with dll’s, this and the use of ccx\_dynamic.

---

<div class="post-metadata">

**Author:** ![lucas\_bueno](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/lucas_bueno/32/1168_2.png) [@lucas\_bueno](https://prepomax.discourse.group/u/lucas_bueno)\
**Post date:** [January 8, 2024, 12:14am UTC](https://prepomax.discourse.group/t/extrude-meshing-question/1389/4 "2024-01-08T00:14:36Z")

</div>

I had a different GMSH error a while ago. I then moved the PrePoMax installation folder to my computer root, such as C:/PrePoMax. Maybe this can help.

---

<div class="post-metadata">

**Author:** ![Trevor](https://avatars.discourse-cdn.com/v4/letter/t/258eb7/32.png) [@Trevor](https://prepomax.discourse.group/u/Trevor)\
**Post date:** [January 8, 2024, 9:15am UTC](https://prepomax.discourse.group/t/extrude-meshing-question/1389/5 "2024-01-08T09:15:41Z")

</div>

Yes, I saw that post, I did try but made no difference.

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [January 8, 2024, 8:29pm UTC](https://prepomax.discourse.group/t/extrude-meshing-question/1389/6 "2024-01-08T20:29:22Z")

</div>

Did you try any other Gmsh features? Can you try downloading and running the native Gmsh to see if it works?

---

<div class="post-metadata">

**Author:** ![Trevor](https://avatars.discourse-cdn.com/v4/letter/t/258eb7/32.png) [@Trevor](https://prepomax.discourse.group/u/Trevor)\
**Post date:** [January 8, 2024, 8:31pm UTC](https://prepomax.discourse.group/t/extrude-meshing-question/1389/7 "2024-01-08T20:31:19Z")

</div>

I downloaded Gmsh and that is functional.  
I can’t get any Gmsh functions to run in prepomax, all give the same error.  
Ill try on another device.

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [January 8, 2024, 8:33pm UTC](https://prepomax.discourse.group/t/extrude-meshing-question/1389/8 "2024-01-08T20:33:42Z")

</div>

Did you try different versions of PrePoMax that support Gmsh?

---

<div class="post-metadata">

**Author:** ![Trevor](https://avatars.discourse-cdn.com/v4/letter/t/258eb7/32.png) [@Trevor](https://prepomax.discourse.group/u/Trevor)\
**Post date:** [January 8, 2024, 8:35pm UTC](https://prepomax.discourse.group/t/extrude-meshing-question/1389/9 "2024-01-08T20:35:13Z")

</div>

I tried 2.0.0 and 2.0.2 dev  
I’m running Windows 11 pro on a mini pc for evaluation purposes, the pc is 4 days old with nothing installed other than the os. Are they the only versions on the download page with Gmsh functionality?

---

<div class="post-metadata">

**Author:** ![Trevor](https://avatars.discourse-cdn.com/v4/letter/t/258eb7/32.png) [@Trevor](https://prepomax.discourse.group/u/Trevor)\
**Post date:** [January 9, 2024, 1:14pm UTC](https://prepomax.discourse.group/t/extrude-meshing-question/1389/10 "2024-01-09T13:14:29Z")

</div>

Gmsh functionality is ok on another system running windows 10 that I tried so issue is not the user !  
So it’s either the o/s or something about the system.  
Has anyone tried the gmsh functions on windows 11 ?

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [January 9, 2024, 7:37pm UTC](https://prepomax.discourse.group/t/extrude-meshing-question/1389/11 "2024-01-09T19:37:51Z")

</div>

I am using windows 11. Maybe some library was removed by the antivirus software. Check the number of files in the:  
lib subfolder: 74  
netgen subfolder: 53

---

<div class="post-metadata">

**Author:** ![Trevor](https://avatars.discourse-cdn.com/v4/letter/t/258eb7/32.png) [@Trevor](https://prepomax.discourse.group/u/Trevor)\
**Post date:** [January 9, 2024, 8:23pm UTC](https://prepomax.discourse.group/t/extrude-meshing-question/1389/12 "2024-01-09T20:23:12Z")

</div>

I’ve got the correct file counts.  
Netgen works fine

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [January 10, 2024, 9:23am UTC](https://prepomax.discourse.group/t/extrude-meshing-question/1389/13 "2024-01-10T09:23:27Z")

</div>

After you start the meshing a file called gmshData is created in the working directory. Can you try running GmshMesher.exe with the argument gmshData in command line as:

c:.…\lib\GmshMesher.exe gmshData

---

<div class="post-metadata">

**Author:** ![Trevor](https://avatars.discourse-cdn.com/v4/letter/t/258eb7/32.png) [@Trevor](https://prepomax.discourse.group/u/Trevor)\
**Post date:** [January 10, 2024, 9:58am UTC](https://prepomax.discourse.group/t/extrude-meshing-question/1389/14 "2024-01-10T09:58:58Z")

</div>

Yes i tried this already, same error. Ckearly the issues i have are not prepomax issues. There’s something about the dll’s for gmsh and ccx\_dynamic my system doesn’t like.

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [January 10, 2024, 10:12am UTC](https://prepomax.discourse.group/t/extrude-meshing-question/1389/15 "2024-01-10T10:12:39Z")

</div>

GmshMesher.exe is an exe developed by me (a part of PrePoMax) that only calls the gmsh.dll. So this file might also be a problem. The reason a .exe is used internally instead of the .dll is that if it fails, or if it is stuck in a loop, or if the process takes too long, it can be stopped by killing the .exe process.

---

<div class="post-metadata">

**Author:** ![Trevor](https://avatars.discourse-cdn.com/v4/letter/t/258eb7/32.png) [@Trevor](https://prepomax.discourse.group/u/Trevor)\
**Post date:** [January 10, 2024, 2:35pm UTC](https://prepomax.discourse.group/t/extrude-meshing-question/1389/16 "2024-01-10T14:35:10Z")

</div>

for completeness

 ![image](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/d/dcf902fc6b4c5daf2e12bfadd950952697a1dc35.png)

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [January 10, 2024, 7:57pm UTC](https://prepomax.discourse.group/t/extrude-meshing-question/1389/17 "2024-01-10T19:57:10Z")

</div>

What you could try is the Dependency walker. It is a free tool to find missing .dll files.

YOu can download it from here: [https://www.dependencywalker.com/](https://www.dependencywalker.com/)

Open the file GmshCommon.dll, wait for a little, and then post the resulting image with the main tree collapsed. I am not an expert using this tool, but sometimes, I am lucky to find the problem.

 ![image](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/d/d02db2a0023c94c444348355cd5c5e5ddcf44831.png)

---

<div class="post-metadata">

**Author:** ![Trevor](https://avatars.discourse-cdn.com/v4/letter/t/258eb7/32.png) [@Trevor](https://prepomax.discourse.group/u/Trevor)\
**Post date:** [January 10, 2024, 8:08pm UTC](https://prepomax.discourse.group/t/extrude-meshing-question/1389/18 "2024-01-10T20:08:18Z")

</div>

![image](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/8/86bce7f9bbb00d3edf816c90ddd9a435520d86e7.png)

2 of the libraries are not in the folder, I do have them with and extra “d”

 ![image](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/b/bc1ad0bb37e5d8f79dd43428476f376207638a78.png)  
 ![image](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/1/1975deff900f15879f508c8dd55388056b98c281.png)

---

<div class="post-metadata">

**Author:** ![Trevor](https://avatars.discourse-cdn.com/v4/letter/t/258eb7/32.png) [@Trevor](https://prepomax.discourse.group/u/Trevor)\
**Post date:** [January 10, 2024, 8:43pm UTC](https://prepomax.discourse.group/t/extrude-meshing-question/1389/19 "2024-01-10T20:43:02Z")

</div>

so i hunted down the missing libraries and copied then to the lib directory, copied and renamed some where the reference dll has an extra “d” in the name, and behold…

 ![image](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/5/5124fd6a446405f9948ce0b2cc9d014a0d217784.png)

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [January 10, 2024, 9:07pm UTC](https://prepomax.discourse.group/t/extrude-meshing-question/1389/20 "2024-01-10T21:07:56Z")

</div>

Is your system 32bit?

Poslano iz programa [Outlook za iOS](https://aka.ms/o0ukef)

[Next page](https://prepomax.discourse.group/t/extrude-meshing-question/1389.md?page=2)
