Skip to content

Commit

Permalink
updated my-recognition example
Browse files Browse the repository at this point in the history
  • Loading branch information
dusty-nv committed Nov 8, 2021
1 parent 9bf5549 commit 1b83834
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docs/imagenet-example-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,11 @@ project(my-recognition)
find_package(jetson-utils)
find_package(jetson-inference)
# CUDA and Qt4 are required
# CUDA is required
find_package(CUDA)
find_package(Qt4)
# setup Qt4 for build
include(${QT_USE_FILE})
add_definitions(${QT_DEFINITIONS})
# add directory for libnvbuf-utils to program
link_directories(/usr/lib/aarch64-linux-gnu/tegra)
# compile the my-recognition program
cuda_add_executable(my-recognition my-recognition.cpp)
Expand Down
3 changes: 3 additions & 0 deletions examples/my-recognition/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ find_package(jetson-inference)
# CUDA is required
find_package(CUDA)

# add directory for libnvbuf-utils to program
link_directories(/usr/lib/aarch64-linux-gnu/tegra)

# compile the my-recognition program
cuda_add_executable(my-recognition my-recognition.cpp)

Expand Down

0 comments on commit 1b83834

Please sign in to comment.