context_adaptive_neural_network_based_prediction
context_adaptive_neural_network_based_prediction copied to clipboard
Compile TAPPDecoderStaticd failed
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


Hi Yujun,
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.
Does it help?
With regards.