Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config.c occurred bugs #1091

Open
alLiucb opened this issue Jul 22, 2023 · 0 comments
Open

config.c occurred bugs #1091

alLiucb opened this issue Jul 22, 2023 · 0 comments

Comments

@alLiucb
Copy link

alLiucb commented Jul 22, 2023

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

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
******************************************************************************/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant