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

"/usr/bin/ld: cannot find -lnvparsers: No such file or directory" while running "make -C nvdsinfer_custom_impl_Yolo clean && make -C nvdsinfer_custom_impl_Yolo" #581

Open
Yogeesh-KS opened this issue Nov 7, 2024 · 1 comment

Comments

@Yogeesh-KS
Copy link

g++ -c -o layers/activation_layer.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I/opt/nvidia/deepstream/deepstream/sources/includes -I/usr/local/cuda-12.6/include layers/activation_layer.cpp
g++ -c -o layers/batchnorm_layer.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I/opt/nvidia/deepstream/deepstream/sources/includes -I/usr/local/cuda-12.6/include layers/batchnorm_layer.cpp
g++ -c -o layers/channels_layer.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I/opt/nvidia/deepstream/deepstream/sources/includes -I/usr/local/cuda-12.6/include layers/channels_layer.cpp
g++ -c -o layers/convolutional_layer.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I/opt/nvidia/deepstream/deepstream/sources/includes -I/usr/local/cuda-12.6/include layers/convolutional_layer.cpp
g++ -c -o layers/deconvolutional_layer.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I/opt/nvidia/deepstream/deepstream/sources/includes -I/usr/local/cuda-12.6/include layers/deconvolutional_layer.cpp
g++ -c -o layers/implicit_layer.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I/opt/nvidia/deepstream/deepstream/sources/includes -I/usr/local/cuda-12.6/include layers/implicit_layer.cpp
g++ -c -o layers/pooling_layer.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I/opt/nvidia/deepstream/deepstream/sources/includes -I/usr/local/cuda-12.6/include layers/pooling_layer.cpp
g++ -c -o layers/reorg_layer.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I/opt/nvidia/deepstream/deepstream/sources/includes -I/usr/local/cuda-12.6/include layers/reorg_layer.cpp
g++ -c -o layers/route_layer.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I/opt/nvidia/deepstream/deepstream/sources/includes -I/usr/local/cuda-12.6/include layers/route_layer.cpp
g++ -c -o layers/sam_layer.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I/opt/nvidia/deepstream/deepstream/sources/includes -I/usr/local/cuda-12.6/include layers/sam_layer.cpp
g++ -c -o layers/shortcut_layer.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I/opt/nvidia/deepstream/deepstream/sources/includes -I/usr/local/cuda-12.6/include layers/shortcut_layer.cpp
g++ -c -o layers/slice_layer.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I/opt/nvidia/deepstream/deepstream/sources/includes -I/usr/local/cuda-12.6/include layers/slice_layer.cpp
g++ -c -o layers/upsample_layer.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I/opt/nvidia/deepstream/deepstream/sources/includes -I/usr/local/cuda-12.6/include layers/upsample_layer.cpp
/usr/local/cuda-12.6/bin/nvcc -c -o nvdsparsebbox_Yolo_cuda.o --compiler-options '-fPIC' -I/opt/nvidia/deepstream/deepstream/sources/includes -I/usr/local/cuda-12.6/include nvdsparsebbox_Yolo_cuda.cu
/usr/local/cuda-12.6/bin/nvcc -c -o yoloForward.o --compiler-options '-fPIC' -I/opt/nvidia/deepstream/deepstream/sources/includes -I/usr/local/cuda-12.6/include yoloForward.cu
/usr/local/cuda-12.6/bin/nvcc -c -o yoloForward_nc.o --compiler-options '-fPIC' -I/opt/nvidia/deepstream/deepstream/sources/includes -I/usr/local/cuda-12.6/include yoloForward_nc.cu
/usr/local/cuda-12.6/bin/nvcc -c -o yoloForward_v2.o --compiler-options '-fPIC' -I/opt/nvidia/deepstream/deepstream/sources/includes -I/usr/local/cuda-12.6/include yoloForward_v2.cu
g++ -o libnvdsinfer_custom_impl_Yolo.so nvdsinfer_yolo_engine.o nvdsinitinputlayers_Yolo.o nvdsparsebbox_Yolo.o utils.o yolo.o yoloPlugins.o layers/activation_layer.o layers/batchnorm_layer.o layers/channels_layer.o layers/convolutional_layer.o layers/deconvolutional_layer.o layers/implicit_layer.o layers/pooling_layer.o layers/reorg_layer.o layers/route_layer.o layers/sam_layer.o layers/shortcut_layer.o layers/slice_layer.o layers/upsample_layer.o nvdsparsebbox_Yolo_cuda.o yoloForward.o yoloForward_nc.o yoloForward_v2.o -shared -Wl,--start-group -lnvinfer_plugin -lnvinfer -lnvparsers -lnvonnxparser -L/usr/local/cuda-12.6/lib64 -lcudart -lcublas -lstdc++fs -Wl,--end-group
/usr/bin/ld: cannot find -lnvparsers: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:87: libnvdsinfer_custom_impl_Yolo.so] Error 1
make: Leaving directory '/home/iwizards/Documents/ult/DeepStream-Yolo/nvdsinfer_custom_impl_Yolo'

@marcoslucianops
Copy link
Owner

Are you using the latest update I did on this repo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants