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 error #30

Open
abdo-4 opened this issue Mar 13, 2023 · 2 comments
Open

make error #30

abdo-4 opened this issue Mar 13, 2023 · 2 comments

Comments

@abdo-4
Copy link

abdo-4 commented Mar 13, 2023

make all
make[1]: Entering directory '/home/abdo/Downloads/deepstream_lpr_app test/ddd/deepstream_lpr_app-master/nvinfer_custom_lpr_parser'
g++ -o libnvdsinfer_custom_impl_lpr.so nvinfer_custom_lpr_parser.cpp -Wall -Werror -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I/opt/nvidia/deepstream/deepstream/sources/includes -Wl,--start-group -lnvinfer -lnvparsers -Wl,--end-group
collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped
compilation terminated.
Makefile:37: recipe for target 'libnvdsinfer_custom_impl_lpr.so' failed
make[1]: *** [libnvdsinfer_custom_impl_lpr.so] Error 1
make[1]: Leaving directory '/home/abdo/Downloads/deepstream_lpr_app test/ddd/deepstream_lpr_app-master/nvinfer_custom_lpr_parser'
Makefile:2: recipe for target 'all' failed
make: *** [all] Error 2

===========================

deepstream 6.0
JetPack 4.6.1
jetson nano

@abdo-4
Copy link
Author

abdo-4 commented Mar 13, 2023

any solution?

@Sanelembuli98
Copy link

modifying the Makefile as below

CFLAGS += -I/usr/include/gstreamer-1.0
CFLAGS += -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include

all:
@make -C nvinfer_custom_lpr_parser
@make -C deepstream-lpr-app
clean:
@make clean -C nvinfer_custom_lpr_parser
@make clean -C deepstream-lpr-app

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