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

trouble installing on JetPack 6 - /usr/bin/ld: cannot find -lcolor_space: No such file or directory #25

Open
gcoleman72 opened this issue Aug 15, 2024 · 0 comments

Comments

@gcoleman72
Copy link

jetson@jetson-orin-nx:~/nvjpeg/nvjpeg-python$ pip install pynvjpeg
Defaulting to user installation because normal site-packages is not writeable
Collecting pynvjpeg
Using cached pynvjpeg-0.0.13.tar.gz (11 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy>=1.17 in /usr/lib/python3/dist-packages (from pynvjpeg) (1.21.5)
Building wheels for collected packages: pynvjpeg
Building wheel for pynvjpeg (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [38 lines of output]
mkdir -p build/lib
nvcc -DCUDNN --compiler-options "-fPIC -lstdc++ -pthread -lm" -c src/jetson/Utils/ColorSpace.cu -o build/lib/libcolor_space.a
/bin/sh: 1: nvcc: not found
make: *** [Makefile:24: build/lib/libcolor_space.a] Error 127
running bdist_wheel
running build
running build_ext
building 'nvjpeg' extension
creating build/temp.linux-aarch64-3.10
creating build/temp.linux-aarch64-3.10/usr
creating build/temp.linux-aarch64-3.10/usr/src
creating build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api
creating build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/argus
creating build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/argus/samples
creating build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/argus/samples/utils
creating build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples
creating build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common
creating build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common/classes
creating build/temp.linux-aarch64-3.10/src
creating build/temp.linux-aarch64-3.10/src/jetson
aarch64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DJPEGCODER_ARCH=jetson -Iinclude -I/usr/src/jetson_multimedia_api/argus/samples/utils -I/usr/src/jetson_multimedia_api/include -I/usr/src/jetson_multimedia_api/include/libjpeg-8b -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/cuda/include -I/usr/include/python3.10 -c /usr/src/jetson_multimedia_api/argus/samples/utils/CUDAHelper.cpp -o build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/argus/samples/utils/CUDAHelper.o
aarch64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DJPEGCODER_ARCH=jetson -Iinclude -I/usr/src/jetson_multimedia_api/argus/samples/utils -I/usr/src/jetson_multimedia_api/include -I/usr/src/jetson_multimedia_api/include/libjpeg-8b -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/cuda/include -I/usr/include/python3.10 -c /usr/src/jetson_multimedia_api/samples/common/classes/NvBuffer.cpp -o build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common/classes/NvBuffer.o
aarch64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DJPEGCODER_ARCH=jetson -Iinclude -I/usr/src/jetson_multimedia_api/argus/samples/utils -I/usr/src/jetson_multimedia_api/include -I/usr/src/jetson_multimedia_api/include/libjpeg-8b -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/cuda/include -I/usr/include/python3.10 -c /usr/src/jetson_multimedia_api/samples/common/classes/NvElement.cpp -o build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common/classes/NvElement.o
aarch64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DJPEGCODER_ARCH=jetson -Iinclude -I/usr/src/jetson_multimedia_api/argus/samples/utils -I/usr/src/jetson_multimedia_api/include -I/usr/src/jetson_multimedia_api/include/libjpeg-8b -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/cuda/include -I/usr/include/python3.10 -c /usr/src/jetson_multimedia_api/samples/common/classes/NvElementProfiler.cpp -o build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common/classes/NvElementProfiler.o
aarch64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DJPEGCODER_ARCH=jetson -Iinclude -I/usr/src/jetson_multimedia_api/argus/samples/utils -I/usr/src/jetson_multimedia_api/include -I/usr/src/jetson_multimedia_api/include/libjpeg-8b -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/cuda/include -I/usr/include/python3.10 -c /usr/src/jetson_multimedia_api/samples/common/classes/NvJpegDecoder.cpp -o build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common/classes/NvJpegDecoder.o
aarch64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DJPEGCODER_ARCH=jetson -Iinclude -I/usr/src/jetson_multimedia_api/argus/samples/utils -I/usr/src/jetson_multimedia_api/include -I/usr/src/jetson_multimedia_api/include/libjpeg-8b -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/cuda/include -I/usr/include/python3.10 -c /usr/src/jetson_multimedia_api/samples/common/classes/NvJpegEncoder.cpp -o build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common/classes/NvJpegEncoder.o
aarch64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DJPEGCODER_ARCH=jetson -Iinclude -I/usr/src/jetson_multimedia_api/argus/samples/utils -I/usr/src/jetson_multimedia_api/include -I/usr/src/jetson_multimedia_api/include/libjpeg-8b -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/cuda/include -I/usr/include/python3.10 -c /usr/src/jetson_multimedia_api/samples/common/classes/NvLogging.cpp -o build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common/classes/NvLogging.o
aarch64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DJPEGCODER_ARCH=jetson -Iinclude -I/usr/src/jetson_multimedia_api/argus/samples/utils -I/usr/src/jetson_multimedia_api/include -I/usr/src/jetson_multimedia_api/include/libjpeg-8b -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/cuda/include -I/usr/include/python3.10 -c nvjpeg-python.cpp -o build/temp.linux-aarch64-3.10/nvjpeg-python.o
nvjpeg-python.cpp: In function ‘PyObject* NvJpeg_decode(NvJpeg*, PyObject*)’:
nvjpeg-python.cpp:66:27: warning: catching polymorphic type ‘class JpegCoderError’ by value [-Wcatch-value=]
66 | }catch(JpegCoderError e){
| ^
aarch64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DJPEGCODER_ARCH=jetson -Iinclude -I/usr/src/jetson_multimedia_api/argus/samples/utils -I/usr/src/jetson_multimedia_api/include -I/usr/src/jetson_multimedia_api/include/libjpeg-8b -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/cuda/include -I/usr/include/python3.10 -c src/jetson/JpegCoder.cpp -o build/temp.linux-aarch64-3.10/src/jetson/JpegCoder.o
creating build/lib.linux-aarch64-3.10
aarch64-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/argus/samples/utils/CUDAHelper.o build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common/classes/NvBuffer.o build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common/classes/NvElement.o build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common/classes/NvElementProfiler.o build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common/classes/NvJpegDecoder.o build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common/classes/NvJpegEncoder.o build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common/classes/NvLogging.o build/temp.linux-aarch64-3.10/nvjpeg-python.o build/temp.linux-aarch64-3.10/src/jetson/JpegCoder.o -L/usr/lib/aarch64-linux-gnu/tegra -Lbuild/lib -L/usr/local/cuda/lib64 -lcolor_space -lcudart -lnvjpeg -lcuda -lcudart -lnvjpeg -o build/lib.linux-aarch64-3.10/nvjpeg.cpython-310-aarch64-linux-gnu.so
/usr/bin/ld: cannot find -lcolor_space: No such file or directory
collect2: error: ld returned 1 exit status
error: command '/usr/bin/aarch64-linux-gnu-g++' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pynvjpeg
Running setup.py clean for pynvjpeg
Failed to build pynvjpeg
Installing collected packages: pynvjpeg
Running setup.py install for pynvjpeg ... error
error: subprocess-exited-with-error

× Running setup.py install for pynvjpeg did not run successfully.
│ exit code: 1
╰─> [40 lines of output]
mkdir -p build/lib
nvcc -DCUDNN --compiler-options "-fPIC -lstdc++ -pthread -lm" -c src/jetson/Utils/ColorSpace.cu -o build/lib/libcolor_space.a
/bin/sh: 1: nvcc: not found
make: *** [Makefile:24: build/lib/libcolor_space.a] Error 127
running install
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_ext
building 'nvjpeg' extension
creating build/temp.linux-aarch64-3.10
creating build/temp.linux-aarch64-3.10/usr
creating build/temp.linux-aarch64-3.10/usr/src
creating build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api
creating build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/argus
creating build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/argus/samples
creating build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/argus/samples/utils
creating build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples
creating build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common
creating build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common/classes
creating build/temp.linux-aarch64-3.10/src
creating build/temp.linux-aarch64-3.10/src/jetson
aarch64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DJPEGCODER_ARCH=jetson -Iinclude -I/usr/src/jetson_multimedia_api/argus/samples/utils -I/usr/src/jetson_multimedia_api/include -I/usr/src/jetson_multimedia_api/include/libjpeg-8b -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/cuda/include -I/usr/include/python3.10 -c /usr/src/jetson_multimedia_api/argus/samples/utils/CUDAHelper.cpp -o build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/argus/samples/utils/CUDAHelper.o
aarch64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DJPEGCODER_ARCH=jetson -Iinclude -I/usr/src/jetson_multimedia_api/argus/samples/utils -I/usr/src/jetson_multimedia_api/include -I/usr/src/jetson_multimedia_api/include/libjpeg-8b -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/cuda/include -I/usr/include/python3.10 -c /usr/src/jetson_multimedia_api/samples/common/classes/NvBuffer.cpp -o build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common/classes/NvBuffer.o
aarch64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DJPEGCODER_ARCH=jetson -Iinclude -I/usr/src/jetson_multimedia_api/argus/samples/utils -I/usr/src/jetson_multimedia_api/include -I/usr/src/jetson_multimedia_api/include/libjpeg-8b -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/cuda/include -I/usr/include/python3.10 -c /usr/src/jetson_multimedia_api/samples/common/classes/NvElement.cpp -o build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common/classes/NvElement.o
aarch64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DJPEGCODER_ARCH=jetson -Iinclude -I/usr/src/jetson_multimedia_api/argus/samples/utils -I/usr/src/jetson_multimedia_api/include -I/usr/src/jetson_multimedia_api/include/libjpeg-8b -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/cuda/include -I/usr/include/python3.10 -c /usr/src/jetson_multimedia_api/samples/common/classes/NvElementProfiler.cpp -o build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common/classes/NvElementProfiler.o
aarch64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DJPEGCODER_ARCH=jetson -Iinclude -I/usr/src/jetson_multimedia_api/argus/samples/utils -I/usr/src/jetson_multimedia_api/include -I/usr/src/jetson_multimedia_api/include/libjpeg-8b -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/cuda/include -I/usr/include/python3.10 -c /usr/src/jetson_multimedia_api/samples/common/classes/NvJpegDecoder.cpp -o build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common/classes/NvJpegDecoder.o
aarch64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DJPEGCODER_ARCH=jetson -Iinclude -I/usr/src/jetson_multimedia_api/argus/samples/utils -I/usr/src/jetson_multimedia_api/include -I/usr/src/jetson_multimedia_api/include/libjpeg-8b -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/cuda/include -I/usr/include/python3.10 -c /usr/src/jetson_multimedia_api/samples/common/classes/NvJpegEncoder.cpp -o build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common/classes/NvJpegEncoder.o
aarch64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DJPEGCODER_ARCH=jetson -Iinclude -I/usr/src/jetson_multimedia_api/argus/samples/utils -I/usr/src/jetson_multimedia_api/include -I/usr/src/jetson_multimedia_api/include/libjpeg-8b -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/cuda/include -I/usr/include/python3.10 -c /usr/src/jetson_multimedia_api/samples/common/classes/NvLogging.cpp -o build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common/classes/NvLogging.o
aarch64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DJPEGCODER_ARCH=jetson -Iinclude -I/usr/src/jetson_multimedia_api/argus/samples/utils -I/usr/src/jetson_multimedia_api/include -I/usr/src/jetson_multimedia_api/include/libjpeg-8b -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/cuda/include -I/usr/include/python3.10 -c nvjpeg-python.cpp -o build/temp.linux-aarch64-3.10/nvjpeg-python.o
nvjpeg-python.cpp: In function ‘PyObject* NvJpeg_decode(NvJpeg*, PyObject*)’:
nvjpeg-python.cpp:66:27: warning: catching polymorphic type ‘class JpegCoderError’ by value [-Wcatch-value=]
66 | }catch(JpegCoderError e){
| ^
aarch64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DJPEGCODER_ARCH=jetson -Iinclude -I/usr/src/jetson_multimedia_api/argus/samples/utils -I/usr/src/jetson_multimedia_api/include -I/usr/src/jetson_multimedia_api/include/libjpeg-8b -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/local/cuda/include -I/usr/include/python3.10 -c src/jetson/JpegCoder.cpp -o build/temp.linux-aarch64-3.10/src/jetson/JpegCoder.o
creating build/lib.linux-aarch64-3.10
aarch64-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/argus/samples/utils/CUDAHelper.o build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common/classes/NvBuffer.o build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common/classes/NvElement.o build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common/classes/NvElementProfiler.o build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common/classes/NvJpegDecoder.o build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common/classes/NvJpegEncoder.o build/temp.linux-aarch64-3.10/usr/src/jetson_multimedia_api/samples/common/classes/NvLogging.o build/temp.linux-aarch64-3.10/nvjpeg-python.o build/temp.linux-aarch64-3.10/src/jetson/JpegCoder.o -L/usr/lib/aarch64-linux-gnu/tegra -Lbuild/lib -L/usr/local/cuda/lib64 -lcolor_space -lcudart -lnvjpeg -lcuda -lcudart -lnvjpeg -o build/lib.linux-aarch64-3.10/nvjpeg.cpython-310-aarch64-linux-gnu.so
/usr/bin/ld: cannot find -lcolor_space: No such file or directory
collect2: error: ld returned 1 exit status
error: command '/usr/bin/aarch64-linux-gnu-g++' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> pynvjpeg

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
jetson@jetson-orin-nx:~/nvjpeg/nvjpeg-python$

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

1 participant