What to do with SDK Compile error?
AnsweredWhile building plugin, compile fail when loading sdk.
(error C2144, C2062, C2143, C2238, ...)
My environment is wrong?
Below is part of cmake log:
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.26100.0 to target Windows 10.0.22631.
-- The C compiler identification is MSVC 19.42.34433.0
-- The CXX compiler identification is MSVC 19.42.34433.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.42.34433/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: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (5.4s)
-- Generating done (0.1s)
-- Build files have been written to: C:/Users/Fujiwara/Downloads/NXWitnesss/research/develop/build
-
Could you please provide more details regarding your questions and the issues you’re experiencing?
The errors you mentioned—C2144, C2062, C2143, C2238—appear to be syntax errors. From our side, these errors do not seem to exist in the Nx SDK. Unfortunately, the information you’ve provided is limited, so we are unable to offer detailed guidance at this point.
To help us better understand your case, could you kindly provide:
- More specific information about the issue, including any related code snippets.
- The exact procedure or steps you were following when encountering these errors.
The more context and details you share, the easier it will be for us to assist you effectively.
Just a quick note: If you check the readme.md file, it mentions that using the latest version of MSVC in Visual Studio is not recommended. Instead, it suggests using a previous version, such as 14.38.
Please sign in to leave a comment.
Comments
1 comment