Nп/п : 6 из 100
 От   : Dingjun Chen                        2:5075/128        28 авг 23 09:48:44
 К    : All                                                   28 авг 23 19:50:02
 Тема : Re: Building PLplot on Windows
----------------------------------------------------------------------------------
                                                                                 
@MSGID:
<a54026c2-340b-4458-ba67-4caac6911c7dn@googlegroups.com> 251c49e8
@REPLY:
<3b081928-094a-47b8-8d03-3fe7626de62b@googlegroups.com> 3aa25614
@REPLYADDR Dingjun Chen <chendingjun68@gmail.com>
@REPLYTO 2:5075/128 Dingjun Chen
@CHRS: CP866 2
@RFC: 1 0
@RFC-References:
<5036a555-fd02-4547-a4c0-7b2955bc85df@googlegroups.com> <5773f59f-02c7-45b4-b44b-1d3eb667f120@googlegroups.com>
<3b081928-094a-47b8-8d03-3fe7626de62b@googlegroups.com>
@RFC-Message-ID:
<a54026c2-340b-4458-ba67-4caac6911c7dn@googlegroups.com>
@TZUTC: -0700
@PID: G2/1.0
@TID: FIDOGATE-5.12-ge4e8b94
On Wednesday, April 20, 2016 at 2:53:35 AM UTC-4, Arjen Markus wrote:
> Op dinsdag 19 april 2016 16:29:12 UTC+2 schreef miguel...@gmail.com:
 > > Hi, thanks for the tutorial. I am doing everything like you
but when I try to build the code it says "C:/tempdir/build" does not
appear to contain CMakeLists.txt" 
 > > It`s true because it`s a new folder. I tried to copy the
CMakelists.txt inside the folder plplot-5.11.1 to the build folder and it doesnt
compile correctly. What am I missing? 
> > 
> > 
> > Thanks, 
> > Miguel
> The typical CMake invocation is: 
> - go to the directory where you want things to be built: 
> cd /d c:\tempdir\build 

> - invoke CMake like: 
 > cmake  CMakeLists.txt file> -G   

> Say c:\tempdir\\src contains the sources, then the command might look like: 

> cmake ..\\src -G "NMake Makefiles" 

> (assuming no options are needed) 

 > In short: Do not copy the CMakeLists.txt file - instead point to
the directory containing the sources. 

> Regards, 

> Arjen



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:

`C:/Users/Dingjun.Chen/plplot-5.15.0/build/CMakeFiles/CMakeScratch/TryCompile-3f
05qd`

  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
`C:/Users/Dingjun.Chen/plplot-5.15.0/build/CMakeFiles/CMakeScratch/TryCompile-3f
05qd`
    Building C object CMakeFiles/cmTC bbc00.dir/testCCompiler.c.obj
  C:\\msys64\\mingw64\bin\\gcc.exe /DWIN32 /D WINDOWS /W3 -o
CMakeFiles\\cmTCC:\\Users\\Dingjun.Chen\\plplot-5.15.0\build\\CMakeFiles\\CMakeScratch\\TryCompi
le-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`
`C:/Users/Dingjun.Chen/plplot-5.15.0/build/CMakeFiles/CMakeScratch/TryCompile-3f
05qd`
    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.

"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".
"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\\HostX64d\\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
c143.pdb""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"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[C:\\Users\\Dingjun.Chen\\plplot-5.15.0\build\\CMakeFiles\\CMakeFiles\\CMakeTmp\
\cmTC 81fb8.vcxproj]
"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[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


C:/Users/Dingjun.Chen/plplot-5.15.0/build/CMakeFiles/CMakeFiles/CMakeTmp/CheckDI
RSymbolExists.c:
/* */
#include 
#include 

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.

"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".
"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\\HostX64d\\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
c143.pdb""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"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[C:\\Users\\Dingjun.Chen\\plplot-5.15.0\build\\CMakeFiles\\CMakeFiles\\CMakeTmp\
\cmTC c88a6.vcxproj]
"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[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


C:/Users/Dingjun.Chen/plplot-5.15.0/build/CMakeFiles/CMakeFiles/CMakeTmp/CheckDI
RSymbolExists.c:
/* */
#include 
#include 

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.

"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".
"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\\HostX64d\\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
c143.pdb""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"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[C:\\Users\\Dingjun.Chen\\plplot-5.15.0\build\\CMakeFiles\\CMakeFiles\\CMakeTmp\
\cmTC 70ec4.vcxproj]
"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[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


C:/Users/Dingjun.Chen/plplot-5.15.0/build/CMakeFiles/CMakeFiles/CMakeTmp/CheckDI
RSymbolExists.c:
/* */
#include 
#include 

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.

"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".
"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\\HostX64d\\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
c143.pdb""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"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[C:\\Users\\Dingjun.Chen\\plplot-5.15.0\build\\CMakeFiles\\CMakeFiles\\CMakeTmp\
\cmTC 41509.vcxproj]
"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[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


C:/Users/Dingjun.Chen/plplot-5.15.0/build/CMakeFiles/CMakeFiles/CMakeTmp/CheckDI
RSymbolExists.c:
/* */
#include 
#include 

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.

"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".
"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\\HostX64d\\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 c143.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 c143.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[C:\\Users\\Dingjun.Chen\\plplot-5.15.0\build\\CMakeFiles\\CMakeFiles\\CMakeTmp\
\cmTC 2c5a5.vcxproj]
"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[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





--- G2/1.0
 * Origin: usenet.network (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх