Load gewt.dll

Hi,

I am not able to add gewt.dll:

My code: ierr = psspy.addmodellibrary(r'C:\Program Files\PTI\PSSE35\35.5\PSSBIN\gewt.dll')

ierr=1 indicates that the library was not found. I also tried placing gewt.dll in another directory and updated the path in my code, but the library is still not found.

How can I resolve this issue? By the way, I use PSSE 35.5 and executed my code in visual studio code and pythonwin.

JQ's avatar
1
JQ
asked 2025-02-10 17:52:29 -0500, updated 2025-02-10 20:07:47 -0500
edit flag offensive 0 remove flag close merge delete

Comments

Have you compiled and linked gewt.dll yourself?

perolofl's avatar perolofl (2025-02-11 01:56:46 -0500) edit

I see now your other post regarding gewt.dll. The file is not linked for rev 35.5!

perolofl's avatar perolofl (2025-02-11 01:59:12 -0500) edit

Hi perolofl, how can I compile and link gewt.dll?

JQ's avatar JQ (2025-02-11 09:11:19 -0500) edit

Always the same answer. The source code is needed, and an appropriate compiler.

perolofl's avatar perolofl (2025-02-11 14:10:39 -0500) edit
add a comment see more comments