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

fail to import _jpegpy #31

Open
aniupc opened this issue Nov 6, 2023 · 1 comment
Open

fail to import _jpegpy #31

aniupc opened this issue Nov 6, 2023 · 1 comment

Comments

@aniupc
Copy link

aniupc commented Nov 6, 2023

The .so file was generated after running 'make', but importing _jpegpy failed.

(pt) darui@darui-PC:~/CODE/DFD/CADDM-master/lib/data_preprocess/utils/jpegpy$ make
g++ _jpegpy.cc -o _jpegpy.so -std=c++11 -O3 -I/home/darui/APP/anaconda3/envs/pt/include/python3.9 -I/home/darui/APP/anaconda3/envs/pt/include/python3.9 -Wno-unused-result -Wsign-compare -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -ffunction-sections -pipe -isystem /home/darui/APP/anaconda3/envs/pt/include -fdebug-prefix-map=/croot/python-split_1688589050410/work=/usr/local/src/conda/python-3.9.17 -fdebug-prefix-map=/home/darui/APP/anaconda3/envs/pt=/usr/local/src/conda-prefix -I/home/darui/APP/anaconda3/envs/pt/include -DNDEBUG -O3 -Wall -UNDEBUG -L/build/libjpeg-turbo-Iy19nI/libjpeg-turbo-2.0.3/obj-x86_64-linux-gnu/lib/x86_64-linux-gnu -ljpeg -L/home/darui/APP/anaconda3/envs/pt/lib/python3.9/config-3.9-x86_64-linux-gnu -L/home/darui/APP/anaconda3/envs/pt/lib -lcrypt -lpthread -ldl -lutil -lm -lm -shared -fPIC
In file included from pybind11/pytypes.h:12,
from pybind11/cast.h:13,
from pybind11/attr.h:13,
from pybind11/pybind11.h:36,
from _jpegpy.cc:6:

@aniupc
Copy link
Author

aniupc commented Nov 9, 2023

I‘v solved this problem, please refer to: #26

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