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

openstudiolib.dll not found without C++ API installation #4897

Closed
MatthewSteen opened this issue May 27, 2023 · 1 comment · Fixed by #4900
Closed

openstudiolib.dll not found without C++ API installation #4897

MatthewSteen opened this issue May 27, 2023 · 1 comment · Fixed by #4900

Comments

@MatthewSteen
Copy link
Member

Issue overview

The openstudiolib.dll isn't installed if the C++ API is unchecked during installation of 3.6.0 and 3.6.1, which means the CLI can't be used. Not sure if this is the intended behavior now but it's different than previous versions.

Current Behavior

See below.

Expected Behavior

Users should be able to use the CLI without installing the C++ API as in previous versions (e.g. 3.4.0) or be told that it's now required.

Steps to Reproduce

  1. Install 3.6.0 or 3.6.1 with the following options.

    image

  2. Add C:\openstudio-3.6.0\bin to PATH

  3. openstudio --version

    image

Possible Solution

Fix or provide information during installation that the C++ API is now required for the CLI to work.

Details

Environment

Some additional details about your environment for this issue (if relevant):

  • Platform: Windows 10
  • Version of OpenStudio: 3.6.0 and 3.6.1

Context

@MatthewSteen MatthewSteen added the Triage Issue needs to be assessed and labeled, further information on reported might be needed label May 27, 2023
@jmarrec
Copy link
Collaborator

jmarrec commented May 31, 2023

@MatthewSteen thanks for the report. The CLI used to be self-contained (statically linked) and now isn't since the labs subcommand was added, so we need to update the install rules.

@jmarrec jmarrec added severity - Normal Bug component - Installer/Platform and removed Triage Issue needs to be assessed and labeled, further information on reported might be needed labels May 31, 2023
@jmarrec jmarrec self-assigned this May 31, 2023
jmarrec added a commit that referenced this issue May 31, 2023
…udiolib as part of the CLI component for IFW
jmarrec added a commit that referenced this issue Jun 29, 2023
Fix #4897 - openstudiolib.dll/libopenstudiolib.so not found without C++ API Component selected in IFW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants