Skip to content

Simulink Issue with Visual Studio 2022 and Intel oneAPI 2025.1 (IFX) #2764

@arthursfs

Description

@arthursfs

Dear all,

This is a compilation of some notes and issues during the installation of Openfast.
The guide that I'm working with is this.

I'm using:

  • Windows 11
  • Visual Studio Community 2022 (LTSC 17.12)
  • Intel Fortran (2025.1.0.602)
  • Git

Also, the following is considered:

  • The compatibility issues between Visual Studio and Intel Fortran are taken into account (as noted by Bonnie Jonkman in issue #1133)
  • The release/debug configuration follows:

Image

So, the notes:

First, one note on the prerequisites. The Intel Fortran Compiler should be downloaded either as part of the toolkit or a stand-alone version with the oneAPI Math Kernel Library. The stand-alone version alone will result in an error in the build step (step 7 of the guide).

Second, after the build is complete, the top of the create_FAST_SFunc.m file reads as follows

% - The 'includeDir' variable must specify the directory that contains the following header files:
% "FAST_Library.h", "OpenFOAM_Types.h", "SuperController_Types.h", and "ExtLoadsDX_Types.h"

Actually, the "SuperController_Types.h", and "ExtLoadsDX_Types.h" directories are defined in the lines that follow:

'-I../../../modules/supercontroller/src', ... % needed for visual studio builds to find "SuperController_Types.h"
'-I../../../modules/extloads/src', ... % needed for visual studio builds to find "ExtLoadsDX_Types.h"

And there is no path defined for the header "OpenFOAM_Types.h".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions