Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"Only the hypocrite is really rotten to the core." -- Hannah Arendt.


devel / comp.lang.fortran / Re: Building PLplot on Windows

SubjectAuthor
* Re: Building PLplot on WindowsDingjun Chen
`- Re: Building PLplot on WindowsArjen Markus

1
Re: Building PLplot on Windows

<a54026c2-340b-4458-ba67-4caac6911c7dn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3524&group=comp.lang.fortran#3524

  copy link   Newsgroups: comp.lang.fortran
X-Received: by 2002:ac8:7f88:0:b0:40f:849c:fb91 with SMTP id z8-20020ac87f88000000b0040f849cfb91mr764496qtj.9.1693241325667;
Mon, 28 Aug 2023 09:48:45 -0700 (PDT)
X-Received: by 2002:a63:6942:0:b0:56f:ff4c:3e61 with SMTP id
e63-20020a636942000000b0056fff4c3e61mr677102pgc.9.1693241325281; Mon, 28 Aug
2023 09:48:45 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.fortran
Date: Mon, 28 Aug 2023 09:48:44 -0700 (PDT)
In-Reply-To: <3b081928-094a-47b8-8d03-3fe7626de62b@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=204.101.152.194; posting-account=Kmp0IQoAAACszVuR3uiXghJrqnrCBcW4
NNTP-Posting-Host: 204.101.152.194
References: <5036a555-fd02-4547-a4c0-7b2955bc85df@googlegroups.com>
<5773f59f-02c7-45b4-b44b-1d3eb667f120@googlegroups.com> <3b081928-094a-47b8-8d03-3fe7626de62b@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a54026c2-340b-4458-ba67-4caac6911c7dn@googlegroups.com>
Subject: Re: Building PLplot on Windows
From: chendingjun68@gmail.com (Dingjun Chen)
Injection-Date: Mon, 28 Aug 2023 16:48:45 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Dingjun Chen - Mon, 28 Aug 2023 16:48 UTC

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 <directory containing the sources, including the CMakeLists.txt file> -G <generator of choice> <all the options you may want>
>
> 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:

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.


Click here to read the complete article
Re: Building PLplot on Windows

<9bef7784-b0fb-4d96-a789-b8468e733742n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3528&group=comp.lang.fortran#3528

  copy link   Newsgroups: comp.lang.fortran
X-Received: by 2002:a05:622a:1343:b0:400:a226:316e with SMTP id w3-20020a05622a134300b00400a226316emr849711qtk.0.1693296908781;
Tue, 29 Aug 2023 01:15:08 -0700 (PDT)
X-Received: by 2002:a05:620a:8f10:b0:76f:148e:29d9 with SMTP id
rh16-20020a05620a8f1000b0076f148e29d9mr117190qkn.8.1693296908496; Tue, 29 Aug
2023 01:15:08 -0700 (PDT)
Path: i2pn2.org!i2pn.org!news.1d4.us!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.fortran
Date: Tue, 29 Aug 2023 01:15:08 -0700 (PDT)
In-Reply-To: <a54026c2-340b-4458-ba67-4caac6911c7dn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=136.231.212.72; posting-account=A91wAAoAAADgBUxBX6QqsrSD26GLhVp8
NNTP-Posting-Host: 136.231.212.72
References: <5036a555-fd02-4547-a4c0-7b2955bc85df@googlegroups.com>
<5773f59f-02c7-45b4-b44b-1d3eb667f120@googlegroups.com> <3b081928-094a-47b8-8d03-3fe7626de62b@googlegroups.com>
<a54026c2-340b-4458-ba67-4caac6911c7dn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9bef7784-b0fb-4d96-a789-b8468e733742n@googlegroups.com>
Subject: Re: Building PLplot on Windows
From: arjen.markus895@gmail.com (Arjen Markus)
Injection-Date: Tue, 29 Aug 2023 08:15:08 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 24041
 by: Arjen Markus - Tue, 29 Aug 2023 08:15 UTC

On Monday, August 28, 2023 at 6:48:47 PM UTC+2, Dingjun Chen wrote:
> 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:
> > > 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 <directory containing the sources, including the CMakeLists.txt file> -G <generator of choice> <all the options you may want>
> >
> > 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:
>
> 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\
I will look into this, but I am not sure the combination MinGW+VS 2022 is a viable one. Normally you would either build within the MinGW environment or within the Visual Studio environment. The combination that you want is awkward. But let me look at your description in more detail first. By the way, it may be better to use the PLplot mailing list, as then others who are invovled with PLplot are more likely to see it as well.


Click here to read the complete article
1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor