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

Error while building #205

Closed
EpicSmiley opened this issue Mar 19, 2024 · 2 comments
Closed

Error while building #205

EpicSmiley opened this issue Mar 19, 2024 · 2 comments

Comments

@EpicSmiley
Copy link

EpicSmiley commented Mar 19, 2024

`make -j$(nproc)
[ 0%] Built target xxhash
[ 1%] Built target manpages
[ 2%] Built target fsst
[ 2%] Built target ricepp_bmi2
[ 2%] Built target fmt
[ 2%] Built target ricepp_bmi2_avx512
[ 2%] Built target compiler_generate_build_templates
[ 2%] Built target ricepp_fallback
[ 2%] Built target gtest
[ 8%] Built target libzstd_static
[ 9%] Built target mustache
[ 10%] Built target ricepp
[ 11%] Built target gmock
[ 11%] Built target gtest_main
[ 14%] Built target compiler_ast
[ 15%] Built target ricepp_test
[ 17%] Built target compiler
[ 19%] Built target compiler_base
[ 23%] Built target compiler_generators
[ 23%] Built target thrift1
[ 70%] Built target folly_base
[ 70%] Built target folly
[ 70%] Built target folly_exception_tracer_base
[ 73%] Built target thrift_light
[ 74%] Built target history_thrift
[ 75%] Built target features_thrift
[ 76%] Built target metadata_thrift
[ 76%] Built target compression_thrift
[ 77%] Built target dwarfs_compression_metadata
[ 78%] Built target dwarfs_compression
[ 78%] Built target dwarfs_categorizer
[ 78%] Building CXX object CMakeFiles/dwarfs.dir/src/dwarfs/util.cpp.o

/home/user/dwarfs/src/dwarfs/util.cpp:31:10: fatal error: utf8.h: No such file or directory
31 | #include <utf8.h>
| ^~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/dwarfs.dir/build.make:880: CMakeFiles/dwarfs.dir/src/dwarfs/util.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:538: CMakeFiles/dwarfs.dir/all] Error 2
make: *** [Makefile:166: all] Error 2`

gcc version 13.2.0 (GCC)

No idea how to debug this

@mhx
Copy link
Owner

mhx commented Mar 19, 2024

You need to install utfcpp, as mentioned here. If you're on Debian/Ubuntu, the package is called libutfcpp-dev.

@EpicSmiley
Copy link
Author

You need to install utfcpp, as mentioned here. If you're on Debian/Ubuntu, the package is called libutfcpp-dev.

Since I'm on void linux I didn't have this package, but following the instructions from the utfcpp github I was able to fix this problem, thank you

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