Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
2

EnergyPlus source code not executing properly

asked 2016-03-09 16:52:45 -0600

Rehan Khalid's avatar

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-03-09 18:27:50 -0600

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

edit flag offensive delete link more

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 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2016-03-09 16:52:45 -0600

Seen: 272 times

Last updated: Mar 09 '16