You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
well,I tested to build it with debug version[I don't know if this approach is correct or not.]
steps are as follows:
1.I deleted the original build folder.
2.command:
①cmake -B build -S . -G "Visual Studio 17 2022" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="my/path/for/install"
And logs:
-- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.22621.
-- The C compiler identification is MSVC 19.35.32216.1
-- The CXX compiler identification is MSVC 19.35.32216.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: D:/Data_VS2022/IDE/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: D:/Data_VS2022/IDE/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-> TIDY_SO_VERSION = 59. This is an ODD (development) release.
-- *** Debug Logging is NOT enabled.
-- Using /MD DYNAMIC runtime
-- *** Also building DLL library SHARED, version 5.9.20, date 2022.01.25
-- Configuring done (7.6s)
-- Generating done (0.0s)
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_BUILD_TYPE
-- Build files have been written to: G:/00_STU/Cesium-unity-native/cesium-unity-samples/Packages/com.cesium.unity/native~/extern/tidy-html5/build
It seems it's no problem.
②cmake --build . --config Debug
MSBuild version 17.5.1+f6fdcf537 for .NET Framework
well,I tested to build it with debug version[I don't know if this approach is correct or not.]
steps are as follows:
1.I deleted the original build folder.
2.command:
①cmake -B build -S . -G "Visual Studio 17 2022" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="my/path/for/install"
And logs:
-- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.22621.
-- The C compiler identification is MSVC 19.35.32216.1
-- The CXX compiler identification is MSVC 19.35.32216.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: D:/Data_VS2022/IDE/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: D:/Data_VS2022/IDE/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-> TIDY_SO_VERSION = 59. This is an ODD (development) release.
-- *** Debug Logging is NOT enabled.
-- Using /MD DYNAMIC runtime
-- *** Also building DLL library SHARED, version 5.9.20, date 2022.01.25
-- Configuring done (7.6s)
-- Generating done (0.0s)
CMake Warning:
Manually-specified variables were not used by the project:
-- Build files have been written to: G:/00_STU/Cesium-unity-native/cesium-unity-samples/Packages/com.cesium.unity/native~/extern/tidy-html5/build
It seems it's no problem.
②cmake --build . --config Debug
MSBuild version 17.5.1+f6fdcf537 for .NET Framework
Checking Build System
Building Custom Rule G:/00_STU/Cesium-unity-native/cesium-unity-samples/Packages/com.cesium.unity/native~/extern/tidy
-html5/CMakeLists.txt
access.c
attrs.c
istack.c
parser.c
tags.c
entities.c
lexer.c
pprint.c
charsets.c
clean.c
message.c
config.c
G:\00_STU\Cesium-unity-native\cesium-unity-samples\Packages\com.cesium.unity\native~\extern\tidy-html5\src\config.c(129
6,8): error C2061: 语法错误: 标识符“prvTidy_cfgGetBool” [G:\00_STU\Cesium-unity-native\cesium-unity-samples\Packages\com.cesiu
m.unity\native~\extern\tidy-html5\build\tidy-static.vcxproj]
G:\00_STU\Cesium-unity-native\cesium-unity-samples\Packages\com.cesium.unity\native~\extern\tidy-html5\src\config.c(129
8,5): error C2181: 没有匹配 if 的非法 else [G:\00_STU\Cesium-unity-native\cesium-unity-samples\Packages\com.cesium.unity\nativ
e~\extern\tidy-html5\build\tidy-static.vcxproj]
alloc.c
attrdict.c
buffio.c
fileio.c
streamio.c
tagask.c
tmbstr.c
utf8.c
正在生成代码...
正在编译...
tidylib.c
mappedio.c
gdoc.c
language.c
messageobj.c
sprtf.c
正在生成代码...
Building Custom Rule G:/00_STU/Cesium-unity-native/cesium-unity-samples/Packages/com.cesium.unity/native~/extern/tidy
-html5/CMakeLists.txt
access.c
attrs.c
istack.c
parser.c
tags.c
entities.c
lexer.c
pprint.c
charsets.c
clean.c
message.c
config.c
G:\00_STU\Cesium-unity-native\cesium-unity-samples\Packages\com.cesium.unity\native~\extern\tidy-html5\src\config.c(129
6,8): error C2061: 语法错误: 标识符“prvTidy_cfgGetBool” [G:\00_STU\Cesium-unity-native\cesium-unity-samples\Packages\com.cesiu
m.unity\native~\extern\tidy-html5\build\tidy-share.vcxproj]
G:\00_STU\Cesium-unity-native\cesium-unity-samples\Packages\com.cesium.unity\native~\extern\tidy-html5\src\config.c(129
8,5): error C2181: 没有匹配 if 的非法 else [G:\00_STU\Cesium-unity-native\cesium-unity-samples\Packages\com.cesium.unity\nativ
e~\extern\tidy-html5\build\tidy-share.vcxproj]
alloc.c
attrdict.c
buffio.c
fileio.c
streamio.c
tagask.c
tmbstr.c
utf8.c
正在生成代码...
正在编译...
tidylib.c
mappedio.c
gdoc.c
language.c
messageobj.c
sprtf.c
正在生成代码...
it ended here.
I checked line 129 of config.c, but there is nothing,like this:
/*****************************************************************************
** Option Configuration
******************************************************************************/
The text was updated successfully, but these errors were encountered: