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
5. click `CMakeLists.txt` and choose `Load CMake Project`
85
85
86
-
6. choose `Build` and start compile
86
+
6. Configure compilation toolchain of clion as MSVC: Select Toolchain as Visual Studio on the `CMake` configuration page in step 3, and you cannot select other compilers such as mingw (the windows platform relies on the msvc compiler,
87
+
Compiling with other compilers such as mingw will report an error). In addition, the user can also choose whether the compiled binary file is in Debug mode or Release mode, and select `Build Type` to make a drop-down selection.
88
+
89
+
7. Configure the architecture and platform of the target file: the windows platform supports compiling sdk link library files of different CPU architectures (x64, x86), users can configure according to actual needs, click
90
+
`Build, Execution, Deployment` → `Toolchains`, in the Architecture option, you can drop down to select the supported CPU architecture.
91
+
92
+
8. choose `Build` and start compile
87
93
88
94
#### Step 3: Install C++ SDK
89
95
@@ -165,6 +171,27 @@ $ ./vpc_test
165
171
# response
166
172
$
167
173
```
174
+
If you use cmake to manage projects under Windows, you need to introduce the relevant dependencies of the sdk core package and service package in CMakeLists.txt.
175
+
You can refer to the following CMakeLists.txt file:
0 commit comments