What is your question?
I have it mostly working. vcvars are loading. I set my windskver, but something isn't quite right because cl.exe by way of ccache is complaining about PDB file errors immediately.
This is the error I'm seeing...
FAILED: src/lib/CMakeFiles/c-ares.dir/ares__htable.c.obj
C:\ccache\cl.exe /nologo -DCARES_STATICLIB -DHAVE_CONFIG_H=1 -DWIN32_LEAN_AND_MEAN -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_WIN32_WINNT=0x0602 -IC:\Users\tperr\.conan2\p\b\c-are55f61936c5eed\b\build\Debug -IC:\Users\tperr\.conan2\p\b\c-are55f61936c5eed\b\src -IC:\Users\tperr\.conan2\p\b\c-are55f61936c5eed\b\src\include -IC:\Users\tperr\.conan2\p\b\c-are55f61936c5eed\b\src\src\lib /FS /DWIN32 /D_WINDOWS /W3 /W3 /we4013 /Zi /Ob0 /Od /RTC1 -MDd /showIncludes /Fosrc\lib\CMakeFiles\c-ares.dir\ares__htable.c.obj /Fdbin\cares.pdb /FS -c C:\Users\tperr\.conan2\p\b\c-are55f61936c5eed\b\src\src\lib\ares__htable.c
C:\Users\tperr\.conan2\p\b\c-are55f61936c5eed\b\src\src\lib\ares__htable.c(388): fatal error C1090: PDB API call failed, error code '23': (0x00000006)
I tried setting various compiler flags like /Zf and the like, but I still keep getting this error.
This is my host profile.
[settings]
os=Windows
arch=x86_64
compiler=msvc
compiler.cppstd=14
compiler.version=193
compiler.update=9
compiler.toolset=v141_xp
compiler.cppstd=14
compiler.runtime=dynamic
build_type=Debug
[options]
verbose=True
[conf]
tools.build:compiler_executables = { "c" : "C:\ccache\cl.exe", "cpp": "C:\ccache\cl.exe" }
tools.build:cflags = [ "/FS" ]
tools.build:cxxflags = [ "/FS" ]
tools.microsoft:winsdk_version = 10.0.22621.0
tools.microsoft.msbuild:max_cpu_count = 4
tools.cmake.cmaketoolchain:generator=Ninja
Cmake is invoking ccache and ccache is calling the correct cl.exe from msvc, but nothing will build.
Have you read the CONTRIBUTING guide?
What is your question?
I have it mostly working. vcvars are loading. I set my windskver, but something isn't quite right because cl.exe by way of ccache is complaining about PDB file errors immediately.
This is the error I'm seeing...
I tried setting various compiler flags like /Zf and the like, but I still keep getting this error.
This is my host profile.
Cmake is invoking ccache and ccache is calling the correct cl.exe from msvc, but nothing will build.
Have you read the CONTRIBUTING guide?