File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -228,6 +228,8 @@ structure:
228
228
.. tip ::
229
229
On Windows, debug and release builds are not ABI-compatible. If you plan to
230
230
build your project in debug mode, please try the debug version of LibTorch.
231
+ Also, make sure you specify the correct configuration in the `cmake --build . `
232
+ line below.
231
233
232
234
The last step is building the application. For this, assume our example
233
235
directory is laid out like this:
@@ -246,7 +248,7 @@ We can now run the following commands to build the application from within the
246
248
mkdir build
247
249
cd build
248
250
cmake -DCMAKE_PREFIX_PATH=/path/to/libtorch ..
249
- make
251
+ cmake --build . --config Release
250
252
251
253
where ``/path/to/libtorch `` should be the full path to the unzipped LibTorch
252
254
distribution. If all goes well, it will look something like this:
You can’t perform that action at this time.
0 commit comments