Skip to content

OpenFAST fails to build with CMake + VS on Windows #1523

@andrew-platt

Description

@andrew-platt

Bug description
When building on Windows with CMake, OneAPI, and VS, the OpenFAST.sln fails to build. The failure appears to be from not finding the relevant types files.

This may be related to the recent cmake updates from PR #1010.

To Reproduce

  1. Following steps in https://openfast.readthedocs.io/en/main/source/install/index.html#cmake-with-visual-studio-for-windows
  2. cmake -G "Visual Studio 16 2019" -- this runs ok
  3. start OpenFAST.sln -- opens fine
  4. Build solution -- fails on 14 of 87 projects

Expected behavior
We expect this to compile as expected.

OpenFAST Version
Current dev version (git hash 86b63a9).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions