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
I run cd hevc/hm_16_15_substitution/build/linux make
,when compiling TAPPDecoderStaticd, two kinds of error appear feature.pb_text.cc:(.text+0x8524): undefined reference to 'google::protobuf::Arena::OnArenaAllocation(std::type_info const*, unsigned long) const'
and source/Lib/TLibCommom/TComPrediction.cpp:181: undefined reference to 'Py_Initialize' hm_commom/c++/source_common/interface_c_python.cpp:94 undefined reference to 'PyString_FromString'
The second error won't appear if run: cd hevc/hm_common/c++/source_common g++ -c interface_c_python.cpp g++ -g interface_c_python.o -I. -o interface_c_python
Appreciate to any help, thanks
The text was updated successfully, but these errors were encountered:
Regarding the first problem, your screenshot shows that, from the directory "hevc/hm_common/", the system needs to go up two steps in the directory tree hierarchy to reach the directory that contains the directory "tensorflow-1.9.0". This means that the directory "tensorflow-1.9.0" is located in the root directory of the project. However, all the Makefiles were written given that, from the directory "hevc/hm_common/", the system must go up three steps in the directory tree to reach the directory that contains the directory "tensorflow-1.9.0". This means that the root directory of the project and the directory "tensorflow-1.9.0" are in the same directory.
Two things can be tried:
(1) The directory "tensorflow-1.9.0" and the root directory of the project are placed in the same directory.
(2) You keep your current directory tree hierarchy and modify "hevc/hm_common/common.mk" accordingly.
I run
cd hevc/hm_16_15_substitution/build/linux
make
,when compiling TAPPDecoderStaticd, two kinds of error appear
feature.pb_text.cc:(.text+0x8524): undefined reference to 'google::protobuf::Arena::OnArenaAllocation(std::type_info const*, unsigned long) const'
and
source/Lib/TLibCommom/TComPrediction.cpp:181: undefined reference to 'Py_Initialize' hm_commom/c++/source_common/interface_c_python.cpp:94 undefined reference to 'PyString_FromString'
The second error won't appear if run:
cd hevc/hm_common/c++/source_common
g++ -c interface_c_python.cpp
g++ -g interface_c_python.o -I. -o interface_c_python
Appreciate to any help, thanks
The text was updated successfully, but these errors were encountered: