Skip to content

Error: Compiling Openfast v4.0.2 using Visual Studio 2019/2022. #2664

@chendiandian421

Description

@chendiandian421

I've tried compiling on three different computers, and the same problem occurs on both VS2019 and VS2022. I also tried seeking solutions on Chinese forums to no avail. So, I want to get more professional guidance on GitHub.

⚪Firstly, my compilation environment is:
· Windows 11
· Visual studio 2019
· intel-oneapi-base-toolkit-2025.0.1.47 & intel-oneapi-hpc-toolkit-2025.0.1.48

⚪Secondly, Some settings are shown in the figure:

Image

Image

⚪When generating the solution, two errors are reported, as shown in the figure.

Image

“Creating library...
x64\simclist.obj: not a COFF object, bitcode, archive, import library or resource file
FASTlib : error PRJ0019: A tool returned an error code
Build log written to "file://F:/openfast/openfast-main/vs-build/FASTlib/x64/Release/BuildLog.htm"
FASTlib - 1 error(s), 31 warning(s)
4>------ 已跳过全部重新生成: 项目: OpenFAST-Simulink (IFX), 配置: Release_Matlab x64 ------
4>没有为此解决方案配置选中要生成的项目
5>------ 已启动全部重新生成: 项目: FAST (IFX), 配置: Release x64 ------
Deleting intermediate files and output files for project 'FAST', configuration 'Release|x64'.
Compiling with Intel® Fortran Compiler 2025.0.4 [Intel(R) 64]...
FAST_Prog.f90
Linking...
lld-link: error: could not open 'F:/openfast/openfast-main/build/bin/FASTlib_x64.lib': no such file or directory

Build log written to "file://F:/openfast/openfast-main/vs-build/FAST/x64/Release/BuildLog.htm"
FAST - 1 error(s), 0 warning(s)
========== 全部重新生成: 成功 2 个,失败 2 个,跳过 1 个 ==========”

⚪I hope that experts can guide me in setting up properly or provide helpful suggestions; I would be extremely grateful. Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions