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

Compile TAPPDecoderStaticd failed #8

Open
YujunHuang063 opened this issue Dec 5, 2020 · 1 comment
Open

Compile TAPPDecoderStaticd failed #8

YujunHuang063 opened this issue Dec 5, 2020 · 1 comment

Comments

@YujunHuang063
Copy link

YujunHuang063 commented Dec 5, 2020

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
image

image

@thierrydumas
Copy link
Owner

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.

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

2 participants