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

带的harfbuzz编译有错,载了官网的,链接有错! #1

Open
zhangfq-chemistry opened this issue Aug 16, 2023 · 0 comments
Open

Comments

@zhangfq-chemistry
Copy link

[ 88%] Building CXX object CMakeFiles/drawtext.dir/main.cpp.o
[ 88%] Building CXX object CMakeFiles/drawtext.dir/font.cpp.o
[ 90%] Building CXX object CMakeFiles/drawtext.dir/texture_atlas.cpp.o
[ 91%] Building CXX object CMakeFiles/drawtext.dir/skyline_binpack.cpp.o
[ 94%] Building CXX object CMakeFiles/drawtext.dir/text_render.cpp.o
[ 94%] Building CXX object CMakeFiles/drawtext.dir/shader.cpp.o
[ 95%] Building CXX object CMakeFiles/drawtext.dir/text_run.cpp.o
[ 97%] Building C object CMakeFiles/drawtext.dir/deps/glad/src/glad.c.o
[ 98%] Building CXX object CMakeFiles/drawtext.dir/deps/harfbuzz/src/hb-ft.cc.o
[100%] Linking CXX executable drawtext
/usr/bin/ld: CMakeFiles/drawtext.dir/deps/harfbuzz/src/hb-ft.cc.o: in function unsigned int const& hb_hashmap_t<unsigned int, unsigned int, true>::item_t::default_value<true, (void*)0>()': hb-ft.cc:(.text._ZN12hb_hashmap_tIjjLb1EE6item_t13default_valueILb1ELPv0EEERKjv[_ZN12hb_hashmap_tIjjLb1EE6item_t13default_valueILb1ELPv0EEERKjv]+0x7): undefined reference to minus_1'
/usr/bin/ld: CMakeFiles/drawtext.dir/deps/harfbuzz/src/hb-ft.cc.o: in function Null<hb_bit_page_t>::get_null()': hb-ft.cc:(.text._ZN4NullI13hb_bit_page_tE8get_nullEv[_ZN4NullI13hb_bit_page_tE8get_nullEv]+0x7): undefined reference to _hb_NullPool'
/usr/bin/ld: CMakeFiles/drawtext.dir/deps/harfbuzz/src/hb-ft.cc.o: in function Null<hb_bit_set_t::page_map_t>::get_null()': hb-ft.cc:(.text._ZN4NullIN12hb_bit_set_t10page_map_tEE8get_nullEv[_ZN4NullIN12hb_bit_set_t10page_map_tEE8get_nullEv]+0x7): undefined reference to _hb_NullPool'
/usr/bin/ld: CMakeFiles/drawtext.dir/deps/harfbuzz/src/hb-ft.cc.o: in function hb_pair_t<unsigned int, unsigned int>& Crap<hb_pair_t<unsigned int, unsigned int> >()': hb-ft.cc:(.text._Z4CrapI9hb_pair_tIjjEERT_v[_ZN10CrapHelperI9hb_pair_tIjjEE8get_crapEv]+0xb): undefined reference to _hb_CrapPool'
/usr/bin/ld: CMakeFiles/drawtext.dir/deps/harfbuzz/src/hb-ft.cc.o: in function OT::IntType<unsigned short, 2u>& Crap<OT::IntType<unsigned short, 2u> >()': hb-ft.cc:(.text._Z4CrapIN2OT7IntTypeItLj2EEEERT_v[_ZN10CrapHelperIN2OT7IntTypeItLj2EEEE8get_crapEv]+0xb): undefined reference to _hb_CrapPool'
/usr/bin/ld: CMakeFiles/drawtext.dir/deps/harfbuzz/src/hb-ft.cc.o: in function Null<OT::IntType<unsigned short, 2u> >::get_null()': hb-ft.cc:(.text._ZN4NullIN2OT7IntTypeItLj2EEEE8get_nullEv[_ZN4NullIN2OT7IntTypeItLj2EEEE8get_nullEv]+0x7): undefined reference to _hb_NullPool'
/usr/bin/ld: CMakeFiles/drawtext.dir/deps/harfbuzz/src/hb-ft.cc.o: in function Null<hb_pair_t<unsigned int, unsigned int> >::get_null()': hb-ft.cc:(.text._ZN4NullI9hb_pair_tIjjEE8get_nullEv[_ZN4NullI9hb_pair_tIjjEE8get_nullEv]+0x7): undefined reference to _hb_NullPool'
/usr/bin/ld: CMakeFiles/drawtext.dir/deps/harfbuzz/src/hb-ft.cc.o: in function Null<unsigned long long>::get_null()': hb-ft.cc:(.text._ZN4NullIyE8get_nullEv[_ZN4NullIyE8get_nullEv]+0x7): undefined reference to _hb_NullPool'
/usr/bin/ld: CMakeFiles/drawtext.dir/deps/harfbuzz/src/hb-ft.cc.o: in function Null<OT::OS2>::get_null()': hb-ft.cc:(.text._ZN4NullIN2OT3OS2EE8get_nullEv[_ZN4NullIN2OT3OS2EE8get_nullEv]+0x7): undefined reference to _hb_NullPool'
/usr/bin/ld: drawtext: hidden symbol `_hb_NullPool' isn't defined
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/drawtext.dir/build.make:228: drawtext] Error 1
make[1]: *** [CMakeFiles/Makefile2:153: CMakeFiles/drawtext.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

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