You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running make , with _jpegpy.so created ,it produces:
In file included from _jpegpy.cc:6:
pybind11/pybind11.h: In destructor ‘pybind11::gil_scoped_release::~gil_scoped_release()’:
pybind11/pybind11.h:1611:47: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1611 | PyThread_set_key_value(key, tstate);
| ^
In file included from /home/anaconda3/envs/general/include/python3.9/Python.h:131,
from pybind11/common.h:99,
from pybind11/pytypes.h:12,
from pybind11/cast.h:13,
from pybind11/attr.h:13,
from pybind11/pybind11.h:36,
from _jpegpy.cc:6:
/home/anaconda3/envs/general/include/python3.9/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~
But running python test.py, it produces: File "/home/CADDM-master/lib/data_preprocess/utils/jpegpy/jpegpy.py", line 5, in <module> from . import _jpegpy ImportError: /home/CADDM-master/lib/data_preprocess/utils/jpegpy/_jpegpy.so: undefined symbol: jpeg_mem_src
Hoping to get a reply.Thanks
The text was updated successfully, but these errors were encountered:
After running
make
, with _jpegpy.so created ,it produces:In file included from _jpegpy.cc:6:
pybind11/pybind11.h: In destructor ‘pybind11::gil_scoped_release::~gil_scoped_release()’:
pybind11/pybind11.h:1611:47: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1611 | PyThread_set_key_value(key, tstate);
| ^
In file included from /home/anaconda3/envs/general/include/python3.9/Python.h:131,
from pybind11/common.h:99,
from pybind11/pytypes.h:12,
from pybind11/cast.h:13,
from pybind11/attr.h:13,
from pybind11/pybind11.h:36,
from _jpegpy.cc:6:
/home/anaconda3/envs/general/include/python3.9/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~
But running
python test.py
, it produces:File "/home/CADDM-master/lib/data_preprocess/utils/jpegpy/jpegpy.py", line 5, in <module> from . import _jpegpy ImportError: /home/CADDM-master/lib/data_preprocess/utils/jpegpy/_jpegpy.so: undefined symbol: jpeg_mem_src
Hoping to get a reply.Thanks
The text was updated successfully, but these errors were encountered: