Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR from script file {utilManageCompileLink.py} #69

Open
fungsiufung opened this issue Jul 2, 2024 · 0 comments
Open

ERROR from script file {utilManageCompileLink.py} #69

fungsiufung opened this issue Jul 2, 2024 · 0 comments

Comments

@fungsiufung
Copy link

Hi All,

I'm using EnergyPlustoFMU 3.1.0 to build up a EnergyPlus co-simulation in Python with a error below.

////
PS C:\Users\siufu\Documents> python C:\Users\siufu\Documents\EnergyPlusToFMU-v3.1.0\Scripts\EnergyPlusToFMU.py -i
C:\EnergyPlusV22-1-0\Energy+.idd -w C:\Users\siufu\Documents\Cosim\EP\USA_AZ_Tucson-Davis-Monthan.AFB.722745_TMY3.epw -a 2 -d -L C:\Users\siufu\Documents\Cosim\EP\Co.idf
! EnergyPlusToFMU.py -- Setting IDF file to {C:\Users\siufu\Documents\Cosim\EP\Co.idf}
! EnergyPlusToFMU.py -- Begin exporting IDF file {C:\Users\siufu\Documents\Cosim\EP\Co.idf} as an FMU
! EnergyPlusToFMU.py -- Using model identifier {Co}
! EnergyPlusToFMU.py -- Checking for export-prep application
! makeExportPrepApp.py -- Begin creating executable {idf-to-fmu-export-prep-win.exe}
! makeExportPrepApp.py -- Using system-specific scripts from batch directory {win}
! utilManageCompileLink.py -- Begin compile-link build of {idf-to-fmu-export-prep-win.exe}
! utilManageCompileLink.py -- Cleaning up existing build directory {bld-idf-to-fmu-export-prep-win-exe}
! utilManageCompileLink.py -- Jumping to build directory {bld-idf-to-fmu-export-prep-win-exe}
! utilManageCompileLink.py -- Compiling files using {C:\Users\siufu\Documents\EnergyPlusToFMU-v3.1.0\Scripts\win\compile-cpp.bat}
! utilManageCompileLink.py -- Compiling {fmu-export-write-model-desc.cpp}
Problem configuring the Visual Studio tools for command-line use
ERROR from script file {utilManageCompileLink.py}
Failed to create object file for source code file {C:\Users\siufu\Documents\EnergyPlusToFMU-v3.1.0\SourceCode\v20\fmu-export-prep\fmu-export-write-model-desc.cpp}
PS C:\Users\siufu\Documents>
////

I searched similar threads beforehand and relocated the folders to ensure writing right is granted, nevertheless, the captioned error persist. Version of various softare are listed below

  • Compiler: MS Visual Studio 2022
  • Python: 3.9.18
  • EnergyPlus: 22.1

I would be grateful if you can suggest the potential cause and solution. Many thanks for your help and kind assistance!

Yours Sincerely,
Alex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant