First time here? Check our help page!
0

how to link openstudio sdk with visual studio code

Hi am workink on project of integrating openstudio for energy calculations, Can any one help me doing this

Rocker's avatar
41
Rocker
asked 2023-02-03 05:57:53 -0500
Aaron Boranian's avatar
14.1k
Aaron Boranian
updated 2023-02-03 13:49:37 -0500
edit flag offensive 0 remove flag close merge delete

Comments

I recently came across a Linkedin post, that you might find useful, on Using Ruby and OpenStudio to create a whole building Energy Model within a Jupyter Notebook on Windows by @Luis Lara .

Ammar De's avatar Ammar De (2023-02-05 14:43:29 -0500) edit
1

You want to link the OpenStudio SDK with a C++ project in Visual Studio, is that right? What language is your code written in?

macumber's avatar macumber (2023-02-05 17:22:23 -0500) edit

I have just begun my programming carrier, I have very little knowledge about these workflows, I am writing my code in C++

Rocker's avatar Rocker (2023-02-05 22:34:32 -0500) edit

Actually I am facing issue with linking it to my c++ code. It would be great if you suggest me the correct way of linking it, And also the way to check weather it is linked properly or not

Rocker's avatar Rocker (2023-02-06 01:18:29 -0500) edit
add a comment see more comments

1 Answer

1

The OpenStudio SDK installer can install components for a C++ API, C# API, Ruby API, or Python. Depending on which programing language you are using, you can install the appropriate API. How you use the OpenStudio SDK after installing it depends on the programming language you are using as well. The OpenStudio Application is one example of a C++ program that uses the OpenStudio SDK's C++ API. The OpenStudio Application uses CMake for it's build configuration system, it uses a CMake finder to find and use the OpenStudio SDK's C++ API. You can see this finder here. You can see how the OpenStudio SDK libraries are then linked with OpenStudio Application here.

macumber's avatar
12k
macumber
answered 2023-02-07 21:40:35 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments