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

make -j$(proc) error #301

Closed
MichelleJin12 opened this issue Aug 16, 2020 · 8 comments
Closed

make -j$(proc) error #301

MichelleJin12 opened this issue Aug 16, 2020 · 8 comments
Assignees
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@MichelleJin12
Copy link

my environment is
NVIDIA-SMI 440.33.01 Driver Version: 440.33.01 CUDA Version: 10.2
Ubuntu 18.04 Pycharm community TensorRT7

when in make -j$(proc),

/home/piai/gflags-2.2.2/build/hyperpose/src/tensorrt.cpp: In function ‘nvinfer1::ICudaEngine* hyperpose::dnn::create_uff_engine(const string&, cv::Size, const string&, const std::vector<std::__cxx11::basic_string >&, int, nvinfer1::DataType)’:
/home/piai/gflags-2.2.2/build/hyperpose/src/tensorrt.cpp:144:69: warning: ‘DimsCHW’ is deprecated [-Wdeprecated-declarations]
nvinfer1::DimsCHW(3, input_size.height, input_size.width),
^
In file included from /home/piai/gflags-2.2.2/build/hyperpose/src/tensorrt.cpp:8:0:
/usr/include/x86_64-linux-gnu/NvInfer.h:206:22: note: declared here
class TRT_DEPRECATED DimsCHW : public Dims3

/usr/bin/ld: warning: libcudnn.so.7, needed by /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libnvinfer.so, may conflict with libcudnn.so.8
[ 96%] Built target example.stream_api_video_paf

(base) piai@piai-Precision-7920-Tower:~/gflags-2.2.2/build/hyperpose/build$ ./example.operator_api_batched_images_paf
Add file: ../data/media/COCO_val2014_000000000544.jpg into batch.
Add file: ../data/media/COCO_val2014_000000000328.jpg into batch.
Add file: ../data/media/COCO_val2014_000000000488.jpg into batch.
Add file: ../data/media/COCO_val2014_000000000623.jpg into batch.
Add file: ../data/media/COCO_val2014_000000000536.jpg into batch.
Add file: ../data/media/COCO_val2014_000000000569.jpg into batch.
Add file: ../data/media/COCO_val2014_000000000459.jpg into batch.
Add file: ../data/media/COCO_val2014_000000000428.jpg into batch.
Add file: ../data/media/COCO_val2014_000000000589.jpg into batch.
Add file: ../data/media/COCO_val2014_000000000338.jpg into batch.
Add file: ../data/media/COCO_val2014_000000000360.jpg into batch.
Add file: ../data/media/COCO_val2014_000000000564.jpg into batch.
Add file: ../data/media/COCO_val2014_000000000257.jpg into batch.
Add file: ../data/media/COCO_val2014_000000000241.jpg into batch.
Add file: ../data/media/COCO_val2014_000000000192.jpg into batch.
Add file: ../data/media/COCO_val2014_000000000395.jpg into batch.
Add file: ../data/media/COCO_val2014_000000000415.jpg into batch.
Add file: ../data/media/COCO_val2014_000000000294.jpg into batch.
Add file: ../data/media/COCO_val2014_000000000474.jpg into batch.
Add file: ../data/media/COCO_val2014_000000000357.jpg into batch.
[HyperPose::EXAMPLE] Batch shape: [20, 3, 256, 384]
ERROR: UffParser: Unsupported number of graph 0
ERROR: Failed to parse Uff in data type: float32

this errors and warnings happen.

how can i fix it?
it worked until yesterday, but i modified hyperpose.cmake, it doesn't work.

thank you.

@ganler ganler self-assigned this Aug 16, 2020
@ganler ganler added help wanted Extra attention is needed question Further information is requested labels Aug 16, 2020
@ganler
Copy link
Contributor

ganler commented Aug 16, 2020

@MichelleJin12 Hi, could you describe how you made modification on the hyperpose.cmake? BTW, it seems that you passed the compilation, but cannot execute the Uff model. Have you successfully installed our pretrained model?

Similar issue: #299

@MichelleJin12
Copy link
Author

thank you so much for your quick reply!

I can't exactly remember what i did.
In hyperpose.cmake,

#Library name
set(POSE_LIB_NAME hyperpose)
set(~~~~~~, -permissive)
set(~~~, ${~~~})

something like this.

now i erased it, but it doesn't work.

And,

I already installed pretrained model such as COCO model,
so ./example.operator_api_batched_images_paf is okay.

Thank you.

@MichelleJin12
Copy link
Author

Also, this error happened.

[ 61%] Linking CXX executable user.utils
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In function _start': (.text+0x20): undefined reference to main'
collect2: error: ld returned 1 exit status
CMakeFiles/user.utils.dir/build.make:146: recipe for target 'user.utils' failed
make[2]: *** [user.utils] Error 1
CMakeFiles/Makefile2:298: recipe for target 'CMakeFiles/user.utils.dir/all' failed
make[1]: *** [CMakeFiles/user.utils.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2

@ganler
Copy link
Contributor

ganler commented Aug 16, 2020

@MichelleJin12 I think you can go back to what our repo originally looks like by

git pull
git reset HEAD

Before your compilation, remember to execute rm CMakeCache.txt && cmake ...

@MichelleJin12
Copy link
Author

Thank you very much.

i have resolved former problem by your advice. but i met a new error now... i have tried to find where 'user.utils' is so far, i dont have a idea how to fix it

code below :

[ 61%] Linking CXX executable user.utils
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In function _start': (.text+0x20): undefined reference to main'
collect2: error: ld returned 1 exit status
CMakeFiles/user.utils.dir/build.make:146: recipe for target 'user.utils' failed
make[2]: *** [user.utils] Error 1
CMakeFiles/Makefile2:298: recipe for target 'CMakeFiles/user.utils.dir/all' failed
make[1]: *** [CMakeFiles/user.utils.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2

@ganler
Copy link
Contributor

ganler commented Aug 16, 2020

Can you paste the whole error message? @MichelleJin12

@MichelleJin12
Copy link
Author

-Tower:/PycharmProjects/hyperpose/build$ rm CMakeCache.txt && cmake ..
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
BUILD_LIB ON
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found CUDA: /usr/local/cuda (found version "10.2")
-- Found OpenCV: /usr/local (found version "4.2.0")
-- [HyperPose] Examples Building Enabled.
-- >>> [EXAMPLE] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/gen_serialized_engine.example.cpp
-- >>> [EXAMPLE] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/operator_api_batched_images_paf.example.cpp
-- >>> [EXAMPLE] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/operator_api_batched_images_pose_proposal.example.cpp
-- >>> [EXAMPLE] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/operator_api_imshow_paf.example.cpp
-- >>> [EXAMPLE] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/operator_api_video_paf.example.cpp
-- >>> [EXAMPLE] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/operator_api_video_pose_proposal.example.cpp
-- >>> [EXAMPLE] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/stream_api_video_paf.example.cpp
-- >>> [EXAMPLE] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/stream_api_video_pose_proposal.example.cpp
-- >>> [EXAMPLE] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/tutorial/minimum_operator_api_video.example.cpp
-- >>> [EXAMPLE] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/tutorial/minimum_stream_api_video.example.cpp
-- [HyperPose] User Codes Building Enabled.
-- >>> [USER CODES] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/user_codes/operator_api_video_paf.example2.cpp
-- >>> [USER CODES] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/user_codes/utils.cpp
-- [HyperPose] Tests Building Enabled.
-- >>> [TEST] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/tests/thread_pool.test.cpp
-- >>> [TEST] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/tests/thread_safe_queue.test.cpp
-- >>> [TEST] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/tests/version.test.cpp
-- Configuring done
-- Generating done
-- Build files have been written to: /home/piai/PycharmProjects/hyperpose/build
(base) piai@piai-Precision-7920-Tower:
/PycharmProjects/hyperpose/build$ ./
CMakeFiles/ example.stream_api_video_pose_proposal
example.gen_serialized_engine test.thread_pool
example.minimum_stream_api_video test.thread_safe_queue
example.operator_api_batched_images_paf test.version
example.operator_api_imshow_paf user.operator_api_video_paf
example.operator_api_video_paf
(base) piai@piai-Precision-7920-Tower:/PycharmProjects/hyperpose/build$ ./example.operator_api_
example.operator_api_batched_images_paf example.operator_api_video_paf
example.operator_api_imshow_paf
(base) piai@piai-Precision-7920-Tower:
/PycharmProjects/hyperpose/build$ ./example.operator_api_imshow_paf --camera
[ WARN:0] global /root/opencv/opencv-4.2.0/modules/videoio/src/cap_gstreamer.cpp (935) open OpenCV | GStreamer warning: Cannot query video position: status=0, value=-1, duration=-1
ERROR: Tensor image cannot be both input and output
[HyperPose::EXAMPLE] Inference Started. Use ESC to quit.[HyperPose::EXAMPLE] Inference Done!(base) piai@piai-Precision-7920-Tower:/PycharmProjects/hyperpose/build$ rm CMakeCache.txt && cmake ..
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
BUILD_LIB ON
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found CUDA: /usr/local/cuda (found version "10.2")
-- Found OpenCV: /usr/local (found version "4.2.0")
-- [HyperPose] Examples Building Enabled.
-- >>> [EXAMPLE] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/gen_serialized_engine.example.cpp
-- >>> [EXAMPLE] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/operator_api_batched_images_paf.example.cpp
-- >>> [EXAMPLE] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/operator_api_batched_images_pose_proposal.example.cpp
-- >>> [EXAMPLE] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/operator_api_imshow_paf.example.cpp
-- >>> [EXAMPLE] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/operator_api_video_paf.example.cpp
-- >>> [EXAMPLE] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/operator_api_video_pose_proposal.example.cpp
-- >>> [EXAMPLE] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/stream_api_video_paf.example.cpp
-- >>> [EXAMPLE] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/stream_api_video_pose_proposal.example.cpp
-- >>> [EXAMPLE] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/tutorial/minimum_operator_api_video.example.cpp
-- >>> [EXAMPLE] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/tutorial/minimum_stream_api_video.example.cpp
-- [HyperPose] User Codes Building Enabled.
-- >>> [USER CODES] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/user_codes/operator_api_video_paf.example2.cpp
-- >>> [USER CODES] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/user_codes/utils.cpp
-- [HyperPose] Tests Building Enabled.
-- >>> [TEST] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/tests/thread_pool.test.cpp
-- >>> [TEST] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/tests/thread_safe_queue.test.cpp
-- >>> [TEST] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/tests/version.test.cpp
-- Configuring done
-- Generating done
-- Build files have been written to: /home/piai/PycharmProjects/hyperpose/build
(base) piai@piai-Precision-7920-Tower:
/PycharmProjects/hyperpose/build$ make
Scanning dependencies of target stdtensor-repo
[ 1%] Performing update step for 'stdtensor-repo'
[ 3%] Performing configure step for 'stdtensor-repo'
-- stdtensor-repo configure command succeeded. See also /home/piai/PycharmProjects/hyperpose/3rdparty/src/stdtensor-repo-stamp/stdtensor-repo-configure-.log
[ 4%] Performing build step for 'stdtensor-repo'
[ 6%] Performing install step for 'stdtensor-repo'
-- stdtensor-repo install command succeeded. See also /home/piai/PycharmProjects/hyperpose/3rdparty/src/stdtensor-repo-stamp/stdtensor-repo-install-
.log
[ 8%] Completed 'stdtensor-repo'
[ 12%] Built target stdtensor-repo
Scanning dependencies of target stdtracer-repo
[ 14%] Performing update step for 'stdtracer-repo'
[ 16%] Performing configure step for 'stdtracer-repo'
-- stdtracer-repo configure command succeeded. See also /home/piai/PycharmProjects/hyperpose/3rdparty/src/stdtracer-repo-stamp/stdtracer-repo-configure-.log
[ 17%] Performing build step for 'stdtracer-repo'
[ 19%] Performing install step for 'stdtracer-repo'
-- stdtracer-repo install command succeeded. See also /home/piai/PycharmProjects/hyperpose/3rdparty/src/stdtracer-repo-stamp/stdtracer-repo-install-
.log
[ 20%] Completed 'stdtracer-repo'
[ 25%] Built target stdtracer-repo
Scanning dependencies of target all-external-projects
[ 25%] Built target all-external-projects
Scanning dependencies of target stdtracer
[ 29%] Built target stdtracer
Scanning dependencies of target helpers
[ 32%] Built target helpers
Scanning dependencies of target test.version
[ 37%] Built target test.version
Scanning dependencies of target test.thread_safe_queue
[ 41%] Built target test.thread_safe_queue
Scanning dependencies of target hyperpose
[ 56%] Built target hyperpose
Scanning dependencies of target user.operator_api_video_paf
[ 59%] Built target user.operator_api_video_paf
Scanning dependencies of target user.utils
[ 61%] Linking CXX executable user.utils
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In function _start': (.text+0x20): undefined reference to main'
collect2: error: ld returned 1 exit status
CMakeFiles/user.utils.dir/build.make:146: recipe for target 'user.utils' failed
make[2]: *** [user.utils] Error 1
CMakeFiles/Makefile2:298: recipe for target 'CMakeFiles/user.utils.dir/all' failed
make[1]: *** [CMakeFiles/user.utils.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2
(base) piai@piai-Precision-7920-Tower:/PycharmProjects/hyperpose/build$ make
[ 1%] Performing update step for 'stdtensor-repo'
[ 3%] Performing configure step for 'stdtensor-repo'
-- stdtensor-repo configure command succeeded. See also /home/piai/PycharmProjects/hyperpose/3rdparty/src/stdtensor-repo-stamp/stdtensor-repo-configure-.log
[ 4%] Performing build step for 'stdtensor-repo'
[ 6%] Performing install step for 'stdtensor-repo'
-- stdtensor-repo install command succeeded. See also /home/piai/PycharmProjects/hyperpose/3rdparty/src/stdtensor-repo-stamp/stdtensor-repo-install-
.log
[ 8%] Completed 'stdtensor-repo'
[ 12%] Built target stdtensor-repo
[ 14%] Performing update step for 'stdtracer-repo'
[ 16%] Performing configure step for 'stdtracer-repo'
-- stdtracer-repo configure command succeeded. See also /home/piai/PycharmProjects/hyperpose/3rdparty/src/stdtracer-repo-stamp/stdtracer-repo-configure-.log
[ 17%] Performing build step for 'stdtracer-repo'
[ 19%] Performing install step for 'stdtracer-repo'
-- stdtracer-repo install command succeeded. See also /home/piai/PycharmProjects/hyperpose/3rdparty/src/stdtracer-repo-stamp/stdtracer-repo-install-
.log
[ 20%] Completed 'stdtracer-repo'
[ 25%] Built target stdtracer-repo
[ 25%] Built target all-external-projects
[ 29%] Built target stdtracer
[ 32%] Built target helpers
[ 37%] Built target test.version
[ 41%] Built target test.thread_safe_queue
[ 56%] Built target hyperpose
[ 59%] Built target user.operator_api_video_paf
[ 61%] Linking CXX executable user.utils
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In function _start': (.text+0x20): undefined reference to main'
collect2: error: ld returned 1 exit status
CMakeFiles/user.utils.dir/build.make:146: recipe for target 'user.utils' failed
make[2]: *** [user.utils] Error 1
CMakeFiles/Makefile2:298: recipe for target 'CMakeFiles/user.utils.dir/all' failed
make[1]: *** [CMakeFiles/user.utils.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2
(base) piai@piai-Precision-7920-Tower:
/PycharmProjects/hyperpose/build$ make
[ 1%] Performing update step for 'stdtensor-repo'
[ 3%] Performing configure step for 'stdtensor-repo'
-- stdtensor-repo configure command succeeded. See also /home/piai/PycharmProjects/hyperpose/3rdparty/src/stdtensor-repo-stamp/stdtensor-repo-configure-.log
[ 4%] Performing build step for 'stdtensor-repo'
[ 6%] Performing install step for 'stdtensor-repo'
-- stdtensor-repo install command succeeded. See also /home/piai/PycharmProjects/hyperpose/3rdparty/src/stdtensor-repo-stamp/stdtensor-repo-install-
.log
[ 8%] Completed 'stdtensor-repo'
[ 12%] Built target stdtensor-repo
[ 14%] Performing update step for 'stdtracer-repo'
[ 16%] Performing configure step for 'stdtracer-repo'
-- stdtracer-repo configure command succeeded. See also /home/piai/PycharmProjects/hyperpose/3rdparty/src/stdtracer-repo-stamp/stdtracer-repo-configure-.log
[ 17%] Performing build step for 'stdtracer-repo'
[ 19%] Performing install step for 'stdtracer-repo'
-- stdtracer-repo install command succeeded. See also /home/piai/PycharmProjects/hyperpose/3rdparty/src/stdtracer-repo-stamp/stdtracer-repo-install-
.log
[ 20%] Completed 'stdtracer-repo'
[ 25%] Built target stdtracer-repo
[ 25%] Built target all-external-projects
[ 29%] Built target stdtracer
[ 32%] Built target helpers
[ 37%] Built target test.version
[ 41%] Built target test.thread_safe_queue
[ 56%] Built target hyperpose
[ 59%] Built target user.operator_api_video_paf
[ 61%] Linking CXX executable user.utils
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In function _start': (.text+0x20): undefined reference to main'
collect2: error: ld returned 1 exit status
CMakeFiles/user.utils.dir/build.make:146: recipe for target 'user.utils' failed
make[2]: *** [user.utils] Error 1
CMakeFiles/Makefile2:298: recipe for target 'CMakeFiles/user.utils.dir/all' failed
make[1]: *** [CMakeFiles/user.utils.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2
(base) piai@piai-Precision-7920-Tower:/PycharmProjects/hyperpose/build$ make clean
(base) piai@piai-Precision-7920-Tower:
/PycharmProjects/hyperpose/build$ make
[ 1%] Creating directories for 'stdtensor-repo'
[ 3%] Performing download step (git clone) for 'stdtensor-repo'
-- stdtensor-repo download command succeeded. See also /home/piai/PycharmProjects/hyperpose/3rdparty/src/stdtensor-repo-stamp/stdtensor-repo-download-.log
[ 4%] No patch step for 'stdtensor-repo'
[ 6%] Performing update step for 'stdtensor-repo'
[ 8%] Performing configure step for 'stdtensor-repo'
-- stdtensor-repo configure command succeeded. See also /home/piai/PycharmProjects/hyperpose/3rdparty/src/stdtensor-repo-stamp/stdtensor-repo-configure-
.log
[ 9%] Performing build step for 'stdtensor-repo'
[ 11%] Performing install step for 'stdtensor-repo'
-- stdtensor-repo install command succeeded. See also /home/piai/PycharmProjects/hyperpose/3rdparty/src/stdtensor-repo-stamp/stdtensor-repo-install-.log
[ 12%] Completed 'stdtensor-repo'
[ 12%] Built target stdtensor-repo
[ 14%] Creating directories for 'stdtracer-repo'
[ 16%] Performing download step (git clone) for 'stdtracer-repo'
-- stdtracer-repo download command succeeded. See also /home/piai/PycharmProjects/hyperpose/3rdparty/src/stdtracer-repo-stamp/stdtracer-repo-download-
.log
[ 17%] No patch step for 'stdtracer-repo'
[ 19%] Performing update step for 'stdtracer-repo'
[ 20%] Performing configure step for 'stdtracer-repo'
-- stdtracer-repo configure command succeeded. See also /home/piai/PycharmProjects/hyperpose/3rdparty/src/stdtracer-repo-stamp/stdtracer-repo-configure-.log
[ 22%] Performing build step for 'stdtracer-repo'
[ 24%] Performing install step for 'stdtracer-repo'
-- stdtracer-repo install command succeeded. See also /home/piai/PycharmProjects/hyperpose/3rdparty/src/stdtracer-repo-stamp/stdtracer-repo-install-
.log
[ 25%] Completed 'stdtracer-repo'
[ 25%] Built target stdtracer-repo
[ 25%] Built target all-external-projects
[ 27%] Building CXX object CMakeFiles/stdtracer.dir/src/trace.cpp.o
[ 29%] Linking CXX static library libstdtracer.a
[ 29%] Built target stdtracer
[ 30%] Building CXX object CMakeFiles/helpers.dir/examples/utils.cpp.o
[ 32%] Linking CXX static library libhelpers.a
[ 32%] Built target helpers
[ 33%] Building CXX object CMakeFiles/test.version.dir/examples/tests/version.test.cpp.o
[ 35%] Building CXX object CMakeFiles/test.version.dir/src/thread_pool.cpp.o
[ 37%] Linking CXX executable test.version
[ 37%] Built target test.version
[ 38%] Building CXX object CMakeFiles/test.thread_safe_queue.dir/examples/tests/thread_safe_queue.test.cpp.o
[ 40%] Building CXX object CMakeFiles/test.thread_safe_queue.dir/src/thread_pool.cpp.o
[ 41%] Linking CXX executable test.thread_safe_queue
[ 41%] Built target test.thread_safe_queue
[ 43%] Building CXX object CMakeFiles/hyperpose.dir/src/logging.cpp.o
[ 45%] Building CXX object CMakeFiles/hyperpose.dir/src/tensorrt.cpp.o
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h: In constructor ‘nvinfer1::DimsHW::DimsHW()’:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:84:10: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[0] = type[1] = DimensionType::kSPATIAL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:84:10: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[0] = type[1] = DimensionType::kSPATIAL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:84:20: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[0] = type[1] = DimensionType::kSPATIAL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:84:20: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[0] = type[1] = DimensionType::kSPATIAL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h: In constructor ‘nvinfer1::DimsHW::DimsHW(int, int)’:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:90:10: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[0] = type[1] = DimensionType::kSPATIAL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:90:10: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[0] = type[1] = DimensionType::kSPATIAL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:90:20: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[0] = type[1] = DimensionType::kSPATIAL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:90:20: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[0] = type[1] = DimensionType::kSPATIAL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h: In constructor ‘nvinfer1::DimsCHW::DimsCHW()’:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:126:10: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[0] = DimensionType::kCHANNEL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:126:10: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[0] = DimensionType::kCHANNEL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:127:10: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[1] = type[2] = DimensionType::kSPATIAL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:127:10: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[1] = type[2] = DimensionType::kSPATIAL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:127:20: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[1] = type[2] = DimensionType::kSPATIAL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:127:20: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[1] = type[2] = DimensionType::kSPATIAL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h: In constructor ‘nvinfer1::DimsCHW::DimsCHW(int, int, int)’:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:133:10: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[0] = DimensionType::kCHANNEL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:133:10: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[0] = DimensionType::kCHANNEL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:134:10: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[1] = type[2] = DimensionType::kSPATIAL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:134:10: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[1] = type[2] = DimensionType::kSPATIAL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:134:20: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[1] = type[2] = DimensionType::kSPATIAL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:134:20: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[1] = type[2] = DimensionType::kSPATIAL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h: In constructor ‘nvinfer1::DimsNCHW::DimsNCHW()’:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:175:10: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[0] = DimensionType::kINDEX;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:175:10: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[0] = DimensionType::kINDEX;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:176:10: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[1] = DimensionType::kCHANNEL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:176:10: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[1] = DimensionType::kCHANNEL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:177:10: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[2] = type[3] = DimensionType::kSPATIAL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:177:10: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[2] = type[3] = DimensionType::kSPATIAL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:177:20: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[2] = type[3] = DimensionType::kSPATIAL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:177:20: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[2] = type[3] = DimensionType::kSPATIAL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h: In constructor ‘nvinfer1::DimsNCHW::DimsNCHW(int, int, int, int)’:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:183:10: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[0] = DimensionType::kINDEX;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:183:10: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[0] = DimensionType::kINDEX;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:184:10: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[1] = DimensionType::kCHANNEL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:184:10: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[1] = DimensionType::kCHANNEL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:185:10: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[2] = type[3] = DimensionType::kSPATIAL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:185:10: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[2] = type[3] = DimensionType::kSPATIAL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:185:20: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[2] = type[3] = DimensionType::kSPATIAL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:185:20: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
type[2] = type[3] = DimensionType::kSPATIAL;
^~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/NvInferRuntime.h:54:0,
from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:4:
/home/piai/PycharmProjects/hyperpose/src/NvInferRuntimeCommon.h:180:48: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h: At global scope:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:1394:109: warning: ‘IRNNLayer’ is deprecated [-Wdeprecated-declarations]
RNNOperation op, RNNInputMode mode, RNNDirection dir, Weights weights, Weights bias) TRTNOEXCEPT = 0;
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:784:23: note: declared here
class TRT_DEPRECATED IRNNLayer : public ILayer
^~~~~~~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:1397:79: warning: ‘IPluginLayer’ is deprecated [-Wdeprecated-declarations]
ITensor* const* inputs, int nbInputs, IPlugin& plugin) TRTNOEXCEPT = 0;
^
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:896:23: note: declared here
class TRT_DEPRECATED IPluginLayer : public ILayer
^~~~~~~~~~~~
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:1406:117: warning: ‘IOutputDimensionsFormula’ is deprecated [-Wdeprecated-declarations]
TRT_DEPRECATED virtual void setPoolingOutputDimensionsFormula(IOutputDimensionsFormula* formula) TRTNOEXCEPT = 0;
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:888:23: note: declared here
class TRT_DEPRECATED IOutputDimensionsFormula
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:1408:111: warning: ‘IOutputDimensionsFormula’ is deprecated [-Wdeprecated-declarations]
TRT_DEPRECATED virtual IOutputDimensionsFormula& getPoolingOutputDimensionsFormula() const TRTNOEXCEPT = 0;
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:888:23: note: declared here
class TRT_DEPRECATED IOutputDimensionsFormula
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:1411:59: warning: ‘IOutputDimensionsFormula’ is deprecated [-Wdeprecated-declarations]
IOutputDimensionsFormula* formula) TRTNOEXCEPT = 0;
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:888:23: note: declared here
class TRT_DEPRECATED IOutputDimensionsFormula
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:1413:115: warning: ‘IOutputDimensionsFormula’ is deprecated [-Wdeprecated-declarations]
TRT_DEPRECATED virtual IOutputDimensionsFormula& getConvolutionOutputDimensionsFormula() const TRTNOEXCEPT = 0;
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:888:23: note: declared here
class TRT_DEPRECATED IOutputDimensionsFormula
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:1416:59: warning: ‘IOutputDimensionsFormula’ is deprecated [-Wdeprecated-declarations]
IOutputDimensionsFormula* formula) TRTNOEXCEPT = 0;
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:888:23: note: declared here
class TRT_DEPRECATED IOutputDimensionsFormula
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:1458:82: warning: ‘IPluginLayer’ is deprecated [-Wdeprecated-declarations]
ITensor* const* inputs, int nbInputs, IPluginExt& plugin) TRTNOEXCEPT = 0;
^
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:896:23: note: declared here
class TRT_DEPRECATED IPluginLayer : public ILayer
^~~~~~~~~~~~
/home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp: In function ‘nvinfer1::ICudaEngine* hyperpose::dnn::create_uff_engine(const string&, cv::Size, const string&, const std::vector<std::__cxx11::basic_string >&, int, nvinfer1::DataType)’:
/home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:132:69: warning: ‘DimsCHW’ is deprecated [-Wdeprecated-declarations]
nvinfer1::DimsCHW(3, input_size.height, input_size.width),
^
In file included from /home/piai/PycharmProjects/hyperpose/src/tensorrt.cpp:8:0:
/home/piai/PycharmProjects/hyperpose/src/NvInfer.h:120:23: note: declared here
class TRT_DEPRECATED DimsCHW : public Dims3
^~~~~~~
[ 46%] Building CXX object CMakeFiles/hyperpose.dir/src/paf.cpp.o
[ 48%] Building CXX object CMakeFiles/hyperpose.dir/src/data.cpp.o
[ 50%] Building CXX object CMakeFiles/hyperpose.dir/src/stream.cpp.o
[ 51%] Building CXX object CMakeFiles/hyperpose.dir/src/thread_pool.cpp.o
[ 53%] Building CXX object CMakeFiles/hyperpose.dir/src/pose_proposal.cpp.o
[ 54%] Building CXX object CMakeFiles/hyperpose.dir/src/human.cpp.o
[ 56%] Linking CXX static library libhyperpose.a
[ 56%] Built target hyperpose
[ 58%] Building CXX object CMakeFiles/user.operator_api_video_paf.dir/examples/user_codes/operator_api_video_paf.example2.cpp.o
[ 59%] Linking CXX executable user.operator_api_video_paf
/usr/bin/ld: warning: libcudnn.so.7, needed by /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libnvinfer.so, may conflict with libcudnn.so.8
[ 59%] Built target user.operator_api_video_paf
[ 61%] Building CXX object CMakeFiles/user.utils.dir/examples/user_codes/utils.cpp.o
[ 62%] Linking CXX executable user.utils
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In function _start': (.text+0x20): undefined reference to main'
collect2: error: ld returned 1 exit status
CMakeFiles/user.utils.dir/build.make:146: recipe for target 'user.utils' failed
make[2]: *** [user.utils] Error 1
CMakeFiles/Makefile2:298: recipe for target 'CMakeFiles/user.utils.dir/all' failed
make[1]: *** [CMakeFiles/user.utils.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2

@ganler
Copy link
Contributor

ganler commented Aug 16, 2020

It seems like your user code has some problems.

-- >>> [USER CODES] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/user_codes/operator_api_video_paf.example2.cpp
-- >>> [USER CODES] TO BUILD /home/piai/PycharmProjects/hyperpose/examples/user_codes/utils.cpp

You can try: cmake .. -DBUILD_USER_CODES=0 to compile the examples. Or you can fix your user code.

Feel free to put your questions here if your meet any further problems and thx for using our library!

@ganler ganler closed this as completed Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants