First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
0

PSSE V33 Compile User Model Failure

asked May 24 '17

funnyjason gravatar image

updated May 25 '17

jconto gravatar image

Try to compile a user defined model in V33 with IVF 12.0 and Visio Studio 2010 Professional installed. But receive the following error:

Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385 Copyright (C) Microsoft Corporation. All rights reserved. Creating C:\Windows\system32\dsusr.res Using codepage 936 as default C:\Windows\system32\dsusr.rc. Writing VERSION:1, lang:0x409, size 640

link /INCREMENTAL:NO /NOLOGO /DLL /SUBSYSTEM:WINDOWS /MACHINE:X86 /ERRORREPORT:PROMPT @"C:\Windows\system32\linkfilestxqhqe.txt" /OUT:"C:\Windows\system32\dsusr.dll" /map:"C:\Windows\system32\dsusr.map" /MANIFEST /MANIFESTFILE:"C:\Windows\system32\dsusr.dll.intermediate.manifest" /def:"C:\Windows\system32\dsusr.def" /IMPLIB:"C:\Windows\system32\dsusr.lib"

LINK : fatal error LNK1181: cannot open input file 'C:\Windows\system32\dsusr.res'

ERROR during link(2)... Aborted

2 answers

Sort by » oldest newest most voted
0

answered May 25 '17

jconto gravatar image

To test your PSSe v33 set up, run the following compiling test [compile and create a demo dll]

Go to the environ manager folder: C:\Python27\Lib\site-packages\psseenvmanager,

open a CMD window and run:examplepsse33ivf12_vs2010.py

link

Comments

Hi, Please can you help me for the download link of (IVF 12.0 Student Version )and Visio Studio 2010

Tahir Abbas gravatar imageTahir Abbas (Jun 5 '17)
0

answered May 24 '17

EBahr gravatar image

One thing to check is that you have write privileges to C:\windows\system32\

link

Comments

Thanks, I have write privileges to this folder. Is that because I was using 64 bit operating system rather than 32 bit version?

funnyjason gravatar imagefunnyjason (May 25 '17)

I also have a 64-bit OS and PSSe 33 compiles fine. Run the "Create User DLL", select v.33 and verify in the log window, Fortran & Visual studio versions

jconto gravatar imagejconto (May 25 '17)

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

Stats

Asked: May 24 '17

Seen: 678 times

Last updated: May 24 '17