Building new HiGHS from source in windows with Microsoft Visual Studio (cmake) asks multiple times to open a .vfproj file
I have Microsoft Visual Studio 2022 on my Windows system and execute following command which always worked before:
mkdir build cd build cmake -DFAST_BUILD=off .. cmake --build . --config Release
This last command results in multiple times asking with which program to open .vfproj files.
If I am not mistaking these are Fortran projects. Is that correct? Do I need Fortran now to be able to compile HiGHS?
This is the output from this last command:
-- Building for: Visual Studio 17 2022 -- The CXX compiler identification is MSVC 19.44.35217.0 -- The C compiler identification is MSVC 19.44.35217.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- HIGHS version: 1.12.0 -- Git hash: 869cbd4df -- Build C++ library: ON -- Build C++ executable: ON -- Build Fortran: OFF -- Build CSharp: OFF -- Build Python: OFF -- Build all tests: OFF -- ZLIB: ON -- Build pdlp with GPU: OFF -- Use FindCUDAConf: OFF -- Build HIPO: OFF -- Configuration types: Debug;Release;MinSizeRel;RelWithDebInfo -- Looking for C++ include sys/types.h -- Looking for C++ include sys/types.h - found -- Looking for C++ include stdint.h -- Looking for C++ include stdint.h - found -- Looking for C++ include stddef.h -- Looking for C++ include stddef.h - found -- Check size of long -- Check size of long - done -- Found long size: 4 -- Check size of long long -- Check size of long long - done -- Found long long size: 8 -- Check size of int64_t -- Check size of int64_t - done -- Found int64_t size: 8 -- Check size of unsigned long -- Check size of unsigned long - done -- Found unsigned long size: 4 -- Check size of unsigned long long -- Check size of unsigned long long - done -- Found unsigned long long size: 8 -- Check size of uint64_t -- Check size of uint64_t - done -- Found uint64_t size: 8 -- Check size of int * -- Check size of int * - done -- Found int * size: 8 -- IPO / LTO supported by compiler: YES -- IPO / LTO: disabled by default when building a static library; set CMAKE_INTERPROCEDURAL_OPTIMIZATION=ON to enable -- Performing Test HIGHS_HAVE_MM_PAUSE -- Performing Test HIGHS_HAVE_MM_PAUSE - Success -- Performing Test HIGHS_HAVE_BITSCAN_REVERSE -- Performing Test HIGHS_HAVE_BITSCAN_REVERSE - Success -- Performing Test COMPILER_SUPPORTS_POPCNT -- Performing Test COMPILER_SUPPORTS_POPCNT - Failed -- Looking for a Fortran compiler -- Looking for a Fortran compiler - NOTFOUND -- Looking for a CSharp compiler -- Looking for a CSharp compiler - C:/Program Files/Microsoft Visual Studio/2022/Enterprise/MSBuild/Current/Bin/Roslyn/csc.exe -- The CSharp compiler identification is Microsoft Visual Studio 2022 -- The CSharp compiler version is 4.14.0 -- Check for working C# compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/MSBuild/Current/Bin/Roslyn/csc.exe -- Check for working C# compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/MSBuild/Current/Bin/Roslyn/csc.exe - works -- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) (Required is at least version "1.2.3") -- CSharp supported -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Found Threads: TRUE -- Configuring done (45.4s) -- Generating done (0.2s) -- Build files have been written to: C:/git/HiGHS/build