went to:
dev.opencascade.org
downloaded there the file: opencascade-7.6.0.tgz
unpacked it to e.g. c:\Users\Public\opencascade-7.6.0
went to:
Windows (Win32) Products vc14 vc12 vc11 vc10 MinGW 32 bit 64 bit 32 bit 64 bit 32 bit 64 bit 32 bit 64 bit 64 bit FFmpeg 3.3.4 zip (32 bit) zip (64 bit) Freeimage 3.17.0 zip zip zip zip zip zip zip zip 7z Freetype 2.5.5 zip zip zip zip zip zip zip zip — Freetype 2.6.3 — — — — — — — — 7z...
dev.opencascade.org
clicked on Windows32
under Products vc14 downloaded the following 64bit products:
FFmpeg 3.3.4
Freeimage 3.17.0
Freetype 2.5.5
unpacked them to e.g. c:\Users\Public\3rd_party
went to
https://visualstudio.microsoft.com/de/downloads/
download the Community Version 17.1 and installed it
downloaded the file qt-opensource-windows-x86-5.12.5.exe
installed it not under c:\qt\Qt5.12.5. but under c:\Qt .
Just selected the following component: MSVC2017 64 bit
installed CMake 3.23.0-rc2.
when starting it: Browse Source the source code: C:\Users\Public\opencascade-7.6.0
and in "Where to build the binaries": C:\Users\Public\opencascade-7.6.0-build
Clicked Configure. Then selected: generator for the project: Visual Studio 17 2022, use default native compilers and clicked "Finish".
Then I got the error:
Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22000.
The C compiler identification is MSVC 19.31.31104.0
The CXX compiler identification is MSVC 19.31.31104.0
Detecting C compiler ABI info
Detecting C compiler ABI info - failed
Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.31.31103/bin/Hostx64/x64/cl.exe
Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.31.31103/bin/Hostx64/x64/cl.exe - broken
CMake Error at C:/Program Files/CMake/share/cmake-3.23/Modules/CMakeTestCCompiler.cmake:69 (message):
The C compiler
"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.31.31103/bin/Hostx64/x64/cl.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: C:/Users/Public/opencascade-7.6.0-build/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe cmTC_f6251.vcxproj /p:Configuration=Debug /p
latform=x64 /p:VisualStudioVersion=17.0 /v:m && Microsoft (R)-Build-Engine, Version 17.1.0+ae57d105c fr .NET Framework
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten
Microsoft (R) C/C++-Optimierungscompiler Version 19.31.31104 fr x64
testCCompiler.c
C:\Users\Public\opencascade-7.6.0-build\CMakeFiles\CMakeTmp\testCCompiler.c : fatal error C1090: Fehler beim PDB-API-Aufruf, Fehlercode "3": C:\Users\Public\opencascade-7.6.0-build\CMakeFiles\CMakeTmp\cmTC_f6251.dir\Debug\vc143.pdb [C:\Users\Public\opencascade-7.6.0-build\CMakeFiles\CMakeTmp\cmTC_f6251.vcxproj]
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp
recise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_f6251.dir\Debug\\" /Fd"cmTC_f6251.dir\Debug\vc143.pdb" /external:W3 /Gd /TC /errorReport:queue "C:\Users\Public\opencascade-7.6.0-build\CMakeFiles\CMakeTmp\testCCompiler.c"
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:39 (project)
Configuring incomplete, errors occurred!
See also "C:/Users/Public/opencascade-7.6.0-build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Public/opencascade-7.6.0-build/CMakeFiles/CMakeError.log".
In the CMakeError.log I find the following:
Detecting C compiler ABI info failed to compile with the following output:
Change Dir: C:/Users/Public/opencascade-7.6.0-build/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe cmTC_63662.vcxproj /p:Configuration=Debug /p
latform=x64 /p:VisualStudioVersion=17.0 /v:m && Microsoft (R)-Build-Engine, Version 17.1.0+ae57d105c fr .NET Framework
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
Microsoft (R) C/C++-Optimierungscompiler Version 19.31.31104 fr x64
CMakeCCompilerABI.c
C:\Program Files\CMake\share\cmake-3.23\Modules\CMakeCCompilerABI.c : fatal error C1090: Fehler beim PDB-API-Aufruf, Fehlercode "3": C:\Users\Public\opencascade-7.6.0-build\CMakeFiles\CMakeTmp\cmTC_63662.dir\Debug\vc143.pdb [C:\Users\Public\opencascade-7.6.0-build\CMakeFiles\CMakeTmp\cmTC_63662.vcxproj]
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp
recise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_63662.dir\Debug\\" /Fd"cmTC_63662.dir\Debug\vc143.pdb" /external:W3 /Gd /TC /errorReport:queue "C:\Program Files\CMake\share\cmake-3.23\Modules\CMakeCCompilerABI.c"
Determining if the C compiler works failed with the following output:
Change Dir: C:/Users/Public/opencascade-7.6.0-build/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe cmTC_f6251.vcxproj /p:Configuration=Debug /p
latform=x64 /p:VisualStudioVersion=17.0 /v:m && Microsoft (R)-Build-Engine, Version 17.1.0+ae57d105c fr .NET Framework
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
Microsoft (R) C/C++-Optimierungscompiler Version 19.31.31104 fr x64
testCCompiler.c
C:\Users\Public\opencascade-7.6.0-build\CMakeFiles\CMakeTmp\testCCompiler.c : fatal error C1090: Fehler beim PDB-API-Aufruf, Fehlercode "3": C:\Users\Public\opencascade-7.6.0-build\CMakeFiles\CMakeTmp\cmTC_f6251.dir\Debug\vc143.pdb [C:\Users\Public\opencascade-7.6.0-build\CMakeFiles\CMakeTmp\cmTC_f6251.vcxproj]
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp
recise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_f6251.dir\Debug\\" /Fd"cmTC_f6251.dir\Debug\vc143.pdb" /external:W3 /Gd /TC /errorReport:queue "C:\Users\Public\opencascade-7.6.0-build\CMakeFiles\CMakeTmp\testCCompiler.c"
Any help appreciated.