2

EnergyPlus source code not executing properly

Hi,

I downloaded the source code and followed the instructions given on https://github.com/NREL/EnergyPlus.

If I use the "run without debugging" or the "debug" option from within Visual Studio, I get the following error: "Unable to start Program: C:\Users\Rehan\Documents\Github\EnergyPlus\Buildd\Debug\All-Build. Access is denied".

Secondly, point # 8 on the link given above says to "manually set the target to EP in visual studio". I am not able to do that. Maybe that is what is causing the issue.

My code builds in both debug and release mode but if I run it using EP launch as well, it does not respond to the changes I made. Rather follows the original installation that I have.

Can anyone suggest what may be happening and a possible fix to the issue.

Rehan Khalid's avatar
197
Rehan Khalid
asked 2016-03-09 16:52:45 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

My idf and epw are in a sub folder under where the sln file is located...\src\projectname folder. In my case C:\MyProjects\EnergyPlus_Build\src\EnergyPlus

rraustad's avatar
13.8k
rraustad
answered 2016-03-09 18:27:50 -0500
edit flag offensive 0 remove flag delete link

Comments

Thank You Sir. Your reply from a previous post also helped in clearing out the issue, specifically copy energyplus.exe and energyplusapi.dll into the root directory folder where IDF editor is located, Thank you once again ! That helped me resolve the issue and solve my problem.

Rehan Khalid's avatar Rehan Khalid (2016-03-10 10:09:19 -0500) edit
add a comment see more comments