Hi, Arjen,
Could you help me with PLplot library installation on Windows via CMake + MinGW64 compilers + VS2022? I tried many times but failed to install it.
Could you tell me how to fix these errors?
I look forward to your help and your response would be highly appreciated. C
Please see the following error occurred on my computer:
PS C:\Users\Dingjun.Chen\plplot-5.15.0\build> cmake -G "MinGW Makefiles" -DDEFAULT_NO_BINDINGS=ON -DENABLE_C++=ON -DCMAKE_INSTALL_PREFIX=C:\plplot -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_Fortran_COMPILER=gfortran ..
-- The C compiler identification is GNU 13.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: C:/msys64/mingw64/bin/gcc.exe
-- Check for working C compiler: C:/msys64/mingw64/bin/gcc.exe - broken
CMake Error at C:/Program Files/CMake/share/cmake-3.27/Modules/CMakeTestCCompiler.cmake:67 (message):
The C compiler
"C:/msys64/mingw64/bin/gcc.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: 'C:/Users/Dingjun.Chen/plplot-5.15.0/build/CMakeFiles/CMakeScratch/TryCompile-3f05qd'
Run Build Command(s): "C:/Program Files/CMake/bin/cmake.exe" -E env VERBOSE=1 C:/msys64/mingw64/bin/mingw32-make.exe -f Makefile cmTC_bbc00/fast
C:/msys64/mingw64/bin/mingw32-make.exe -f CMakeFiles\cmTC_bbc00.dir\build.make CMakeFiles/cmTC_bbc00.dir/build
mingw32-make[1]: Entering directory 'C:/Users/Dingjun.Chen/plplot-5.15.0/build/CMakeFiles/CMakeScratch/TryCompile-3f05qd'
Building C object CMakeFiles/cmTC_bbc00.dir/testCCompiler.c.obj
C:\msys64\mingw64\bin\gcc.exe /DWIN32 /D_WINDOWS /W3 -o CMakeFiles\cmTC_bbc00.dir\testCCompiler.c.obj -c C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeScratch\TryCompile-3f05qd\testCCompiler.c
gcc.exe: warning: /DWIN32: linker input file unused because linking not done
gcc.exe: error: /DWIN32: linker input file not found: No such file or directory
gcc.exe: warning: /D_WINDOWS: linker input file unused because linking not done
gcc.exe: error: /D_WINDOWS: linker input file not found: No such file or directory
gcc.exe: warning: /W3: linker input file unused because linking not done
gcc.exe: error: /W3: linker input file not found: No such file or directory
mingw32-make[1]: *** [CMakeFiles\cmTC_bbc00.dir\build.make:77: CMakeFiles/cmTC_bbc00.dir/testCCompiler.c.obj] Error 1
mingw32-make[1]: *** Deleting file 'CMakeFiles/cmTC_bbc00.dir/testCCompiler.c.obj'
mingw32-make[1]: Leaving directory 'C:/Users/Dingjun.Chen/plplot-5.15.0/build/CMakeFiles/CMakeScratch/TryCompile-3f05qd'
mingw32-make: *** [Makefile:126: cmTC_bbc00/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:110 (enable_language)
****************************************************************************
I also tried to install it via CMake GUI to install it and there are many errors occurred. Please see the details from the CMake build log error file:
*****************************************************************************
Determining if the DIR symbol is defined as in AC_HEADER_DIRENT failed with the following output:
Change Dir: 'C:/Users/Dingjun.Chen/plplot-5.15.0/build/CMakeFiles/CMakeFiles/CMakeTmp'
Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe" cmTC_81fb8.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:n
MSBuild version 17.7.2+d6990bcfa for .NET Framework
Build started 2023-08-28 12:21:27 PM.
Project "C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\cmTC_81fb8.vcxproj" on node 1 (default targets).
PrepareForBuild:
Creating directory "cmTC_81fb8.dir\Debug\".
Creating directory "C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\Debug\".
Creating directory "cmTC_81fb8.dir\Debug\cmTC_81fb8.tlog\".
InitializeBuildStatus:
Creating "cmTC_81fb8.dir\Debug\cmTC_81fb8.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
Touching "cmTC_81fb8.dir\Debug\cmTC_81fb8.tlog\unsuccessfulbuild".
ClCompile:
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX64\x64\CL.exe /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_81fb8.dir\Debug\\" /Fd"cmTC_81fb8.dir\Debug\vc143.pdb" /external:W3 /Gd /TC /errorReport:queue "C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\CheckDIRSymbolExists.c"
Microsoft (R) C/C++ Optimizing Compiler Version 19.37.32822 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_81fb8.dir\Debug\\" /Fd"cmTC_81fb8.dir\Debug\vc143.pdb" /external:W3 /Gd /TC /errorReport:queue "C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\CheckDIRSymbolExists.c"
CheckDIRSymbolExists.c
C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\CheckDIRSymbolExists.c(3,10): fatal error C1083: Cannot open include file: 'dirent.h': No such file or directory [C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\cmTC_81fb8.vcxproj]
Done Building Project "C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\cmTC_81fb8.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\cmTC_81fb8.vcxproj" (default target) (1) ->
(ClCompile target) ->
C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\CheckDIRSymbolExists.c(3,10): fatal error C1083: Cannot open include file: 'dirent.h': No such file or directory [C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\cmTC_81fb8.vcxproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.69
File C:/Users/Dingjun.Chen/plplot-5.15.0/build/CMakeFiles/CMakeFiles/CMakeTmp/CheckDIRSymbolExists.c:
/* */
#include <sys/types.h>
#include <dirent.h>
int main()
{if ((DIR *) 0) return 0;}
Determining if the DIR symbol is defined as in AC_HEADER_DIRENT failed with the following output:
Change Dir: 'C:/Users/Dingjun.Chen/plplot-5.15.0/build/CMakeFiles/CMakeFiles/CMakeTmp'
Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe" cmTC_c88a6.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:n
MSBuild version 17.7.2+d6990bcfa for .NET Framework
Build started 2023-08-28 12:21:28 PM.
Project "C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\cmTC_c88a6.vcxproj" on node 1 (default targets).
PrepareForBuild:
Creating directory "cmTC_c88a6.dir\Debug\".
Creating directory "C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\Debug\".
Creating directory "cmTC_c88a6.dir\Debug\cmTC_c88a6.tlog\".
InitializeBuildStatus:
Creating "cmTC_c88a6.dir\Debug\cmTC_c88a6.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
Touching "cmTC_c88a6.dir\Debug\cmTC_c88a6.tlog\unsuccessfulbuild".
ClCompile:
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX64\x64\CL.exe /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_c88a6.dir\Debug\\" /Fd"cmTC_c88a6.dir\Debug\vc143.pdb" /external:W3 /Gd /TC /errorReport:queue "C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\CheckDIRSymbolExists.c"
Microsoft (R) C/C++ Optimizing Compiler Version 19.37.32822 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_c88a6.dir\Debug\\" /Fd"cmTC_c88a6.dir\Debug\vc143.pdb" /external:W3 /Gd /TC /errorReport:queue "C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\CheckDIRSymbolExists.c"
CheckDIRSymbolExists.c
C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\CheckDIRSymbolExists.c(3,10): fatal error C1083: Cannot open include file: 'sys/ndir.h': No such file or directory [C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\cmTC_c88a6.vcxproj]
Done Building Project "C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\cmTC_c88a6.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\cmTC_c88a6.vcxproj" (default target) (1) ->
(ClCompile target) ->
C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\CheckDIRSymbolExists.c(3,10): fatal error C1083: Cannot open include file: 'sys/ndir.h': No such file or directory [C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\cmTC_c88a6.vcxproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.92
File C:/Users/Dingjun.Chen/plplot-5.15.0/build/CMakeFiles/CMakeFiles/CMakeTmp/CheckDIRSymbolExists.c:
/* */
#include <sys/types.h>
#include <sys/ndir.h>
int main()
{if ((DIR *) 0) return 0;}
Determining if the DIR symbol is defined as in AC_HEADER_DIRENT failed with the following output:
Change Dir: 'C:/Users/Dingjun.Chen/plplot-5.15.0/build/CMakeFiles/CMakeFiles/CMakeTmp'
Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe" cmTC_70ec4.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:n
MSBuild version 17.7.2+d6990bcfa for .NET Framework
Build started 2023-08-28 12:21:30 PM.
Project "C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\cmTC_70ec4.vcxproj" on node 1 (default targets).
PrepareForBuild:
Creating directory "cmTC_70ec4.dir\Debug\".
Creating directory "C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\Debug\".
Creating directory "cmTC_70ec4.dir\Debug\cmTC_70ec4.tlog\".
InitializeBuildStatus:
Creating "cmTC_70ec4.dir\Debug\cmTC_70ec4.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
Touching "cmTC_70ec4.dir\Debug\cmTC_70ec4.tlog\unsuccessfulbuild".
ClCompile:
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX64\x64\CL.exe /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_70ec4.dir\Debug\\" /Fd"cmTC_70ec4.dir\Debug\vc143.pdb" /external:W3 /Gd /TC /errorReport:queue "C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\CheckDIRSymbolExists.c"
Microsoft (R) C/C++ Optimizing Compiler Version 19.37.32822 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_70ec4.dir\Debug\\" /Fd"cmTC_70ec4.dir\Debug\vc143.pdb" /external:W3 /Gd /TC /errorReport:queue "C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\CheckDIRSymbolExists.c"
CheckDIRSymbolExists.c
C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\CheckDIRSymbolExists.c(3,10): fatal error C1083: Cannot open include file: 'sys/dir.h': No such file or directory [C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\cmTC_70ec4.vcxproj]
Done Building Project "C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\cmTC_70ec4.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\cmTC_70ec4.vcxproj" (default target) (1) ->
(ClCompile target) ->
C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\CheckDIRSymbolExists.c(3,10): fatal error C1083: Cannot open include file: 'sys/dir.h': No such file or directory [C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\cmTC_70ec4.vcxproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.71
File C:/Users/Dingjun.Chen/plplot-5.15.0/build/CMakeFiles/CMakeFiles/CMakeTmp/CheckDIRSymbolExists.c:
/* */
#include <sys/types.h>
#include <sys/dir.h>
int main()
{if ((DIR *) 0) return 0;}
Determining if the DIR symbol is defined as in AC_HEADER_DIRENT failed with the following output:
Change Dir: 'C:/Users/Dingjun.Chen/plplot-5.15.0/build/CMakeFiles/CMakeFiles/CMakeTmp'
Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe" cmTC_41509.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:n
MSBuild version 17.7.2+d6990bcfa for .NET Framework
Build started 2023-08-28 12:21:31 PM.
Project "C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\cmTC_41509.vcxproj" on node 1 (default targets).
PrepareForBuild:
Creating directory "cmTC_41509.dir\Debug\".
Creating directory "C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\Debug\".
Creating directory "cmTC_41509.dir\Debug\cmTC_41509.tlog\".
InitializeBuildStatus:
Creating "cmTC_41509.dir\Debug\cmTC_41509.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
Touching "cmTC_41509.dir\Debug\cmTC_41509.tlog\unsuccessfulbuild".
ClCompile:
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX64\x64\CL.exe /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_41509.dir\Debug\\" /Fd"cmTC_41509.dir\Debug\vc143.pdb" /external:W3 /Gd /TC /errorReport:queue "C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\CheckDIRSymbolExists.c"
Microsoft (R) C/C++ Optimizing Compiler Version 19.37.32822 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_41509.dir\Debug\\" /Fd"cmTC_41509.dir\Debug\vc143.pdb" /external:W3 /Gd /TC /errorReport:queue "C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\CheckDIRSymbolExists.c"
CheckDIRSymbolExists.c
C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\CheckDIRSymbolExists.c(3,10): fatal error C1083: Cannot open include file: 'ndir.h': No such file or directory [C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\cmTC_41509.vcxproj]
Done Building Project "C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\cmTC_41509.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\cmTC_41509.vcxproj" (default target) (1) ->
(ClCompile target) ->
C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\CheckDIRSymbolExists.c(3,10): fatal error C1083: Cannot open include file: 'ndir.h': No such file or directory [C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\cmTC_41509.vcxproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.81
File C:/Users/Dingjun.Chen/plplot-5.15.0/build/CMakeFiles/CMakeFiles/CMakeTmp/CheckDIRSymbolExists.c:
/* */
#include <sys/types.h>
#include <ndir.h>
int main()
{if ((DIR *) 0) return 0;}
Determining whether C compiler is NaN aware failed with the following output:
Change Dir: 'C:/Users/Dingjun.Chen/plplot-5.15.0/build/CMakeFiles/CMakeFiles/CMakeTmp'
Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe" cmTC_2c5a5.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:n
MSBuild version 17.7.2+d6990bcfa for .NET Framework
Build started 2023-08-28 12:22:39 PM.
Project "C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\cmTC_2c5a5.vcxproj" on node 1 (default targets).
PrepareForBuild:
Creating directory "cmTC_2c5a5.dir\Debug\".
Creating directory "C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\Debug\".
Creating directory "cmTC_2c5a5.dir\Debug\cmTC_2c5a5.tlog\".
InitializeBuildStatus:
Creating "cmTC_2c5a5.dir\Debug\cmTC_2c5a5.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
Touching "cmTC_2c5a5.dir\Debug\cmTC_2c5a5.tlog\unsuccessfulbuild".
ClCompile:
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX64\x64\CL.exe /c /I"C:\Users\Dingjun.Chen\plplot-5.15.0\lib\csa" /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_2c5a5.dir\Debug\\" /Fd"cmTC_2c5a5.dir\Debug\vc143.pdb" /external:W3 /Gd /TC /errorReport:queue "C:\Users\Dingjun.Chen\plplot-5.15.0\cmake\modules\TestNaNAware.c"
Microsoft (R) C/C++ Optimizing Compiler Version 19.37.32822 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
cl /c /I"C:\Users\Dingjun.Chen\plplot-5.15.0\lib\csa" /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_2c5a5.dir\Debug\\" /Fd"cmTC_2c5a5.dir\Debug\vc143.pdb" /external:W3 /Gd /TC /errorReport:queue "C:\Users\Dingjun.Chen\plplot-5.15.0\cmake\modules\TestNaNAware.c"
TestNaNAware.c
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include\yvals_core.h(28): STL1003: Unexpected compiler, expected C++ compiler.
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include\yvals_core.h(29,1): fatal error C1189: #error: Error in C++ Standard Library usage [C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\cmTC_2c5a5.vcxproj]
Done Building Project "C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\cmTC_2c5a5.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\cmTC_2c5a5.vcxproj" (default target) (1) ->
(ClCompile target) ->
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include\yvals_core.h(29,1): fatal error C1189: #error: Error in C++ Standard Library usage [C:\Users\Dingjun.Chen\plplot-5.15.0\build\CMakeFiles\CMakeFiles\CMakeTmp\cmTC_2c5a5.vcxproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:01.07