Open Edward-Ernest opened 2 years ago
If you right-click on the each of the unloaded Fortran projects, does it give you the option to reload them? They will have to be loaded before you can build.
When I try to reload them, Visual Studio gives a result 'load failed' just like the figure below. And in the output information window, the are the same warning information that I mentioned above.
What version of Visual Studio 2022 are you using? This article says VS 2022 version 17.2 breaks all of the Fortran integrations. If you have a version after VS2022 17.0.2, you won't be able to get the OpenFAST solution to build.
Here's a chart on version compatibility: https://www.intel.com/content/www/us/en/developer/articles/reference-implementation/intel-compilers-compatibility-with-microsoft-visual-studio-and-xcode.html
Tank you very much for informing me the problem of software version. Now I have re-installed Visual Studio 2019 16.11.15, and they can be loaded now. But when I try to rebuild it with FAST.sln, it shows a error info and many waring info like this.
Could you post the text from the Output
window when you build? I'd like to see where in the build order the error shows up.
Here is the Output information you need. Thank you very much for your help
I'm not exactly sure why this is giving you a linking error. It seems like the Intel integrations either aren't properly setting the path to the MKL libraries or the MKL libraries didn't get installed with the oneAPI installers.
I am wondering if it is related to this issue. Could you try to build with an x64
configuration instead of Win32
?
Thank you very much for your suggestion. I can now complete the Compiling of Fast with an x64 configuration. And I try every module inside Fast.sln. Only the module of Fast should change the compiling configuration, the rest can be complied normally with Win32
It looks like if you want to build for 32-bit Windows, you will have to download and install a separate 32-bit oneAPI base toolkit (which includes the 32-bit MKL) after you install the "normal" oneAPI base toolkit: https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html?operatingsystem=window&distributions=webdownload&options=online. Otherwise, you can just build for x64.
Bug description Hello, I am new to open-fast(v8). I have tried to compiler open-fast with Visual Studio 2022 by running the solution file Fast.sln, but it gives me a warning output. And the it seems that Fast, Fastlib and Fast_simulink can't be loaded.
To Reproduce