Skip to content

Issue Compiling openFAST Windows 10 through visual studio  #322

@GeorgeElderfield

Description

@GeorgeElderfield

I am trying to compile openFAST on windows using the visual studio method from here ... https://openfast.readthedocs.io/en/master/source/install/install_vs_windows.html

When doing the Build>Build Solution step I got errors as suggested in the document so I closed and tried again as per the instructions. I now get the 5 errors and various warnings shown below every time I close and Build solution again. How can I overcome this problem?

Error 1 error C1083: Cannot open include file: 'winsock2.h': No such file or directory C:\Users\kkb16167\OPENFAST\openfast\modules-ext\map\src\simclist\simclist.c 34 1 MAP_dll
Error 2 fatal error LNK1181: cannot open input file '....\build\bin\MAP_x64.lib' LINK
Error 3 error #11018: Cannot open C:\Users\kkb16167\OPENFAST\openfast\build\bin\FASTlib_x64.lib ipo
Warning 4 warning #11021: unresolved NWTC_IO_mp_R2LSTR8 ipo
Warning 5 warning #11021: unresolved NWTC_IO_mp_WRSCR ipo
Warning 6 warning #11021: unresolved FAST_SUBS_mp_EXITTHISPROGRAM_T ipo
Warning 7 warning #11021: unresolved FAST_SUBS_mp_FAST_SOLUTION_T ipo
Warning 8 warning #11021: unresolved FAST_SUBS_mp_FAST_CREATECHECKPOINT_TARY ipo
Warning 9 warning #11021: unresolved NWTC_IO_mp_INT2LSTR ipo
Warning 10 warning #11021: unresolved FAST_SUBS_mp_FAST_LINEARIZE_T ipo
Warning 11 warning #11021: unresolved FAST_SUBS_mp_FAST_SOLUTION0_T ipo
Warning 12 warning #11021: unresolved FAST_SUBS_mp_FAST_INITIALIZEALL_T ipo
Warning 13 warning #11021: unresolved FAST_SUBS_mp_FAST_RESTOREFROMCHECKPOINT_TARY ipo
Warning 14 warning #11021: unresolved NWTC_IO_mp_CHECKARGS ipo
Warning 15 warning #11021: unresolved NWTC_LIBRARY_mp_NWTC_INIT ipo
Warning 16 warning #11021: unresolved NWTC_IO_mp_PROGNAME ipo
Warning 17 warning #11021: unresolved NWTC_BASE_mp_ABORTERRLEV ipo
Error 18 error #11023: Not all components required for linking are present on command line ipo
Error 19 fatal error LNK1181: cannot open input file 'C:\Users\kkb16167\OPENFAST\openfast\build\bin\FASTlib_x64.lib' LINK

I am using windows 10, visual studio 2013 professional, have downloaded the intel FORTRAN compiler as directed.

Many Thanks

George

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions