-
Notifications
You must be signed in to change notification settings - Fork 63
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
fatal error: utf8cpp/utf8.h: No such file or directory #153
Comments
Feel free to reopen the issue if you still have problems. |
Should this be added to the CMake files so that a more relevant error is given and the version is checked? |
Possibly. I don't think there's any way to perform a version check for utfcpp, though. Happy to accept a PR :) |
Ah, I assumed the utf8cpp shipped with a .pc file in which case this would be easy, but evidently not. |
Nah, it comes with a (pretty much useless) CMake config, but that's it. As far as I can tell, even the headers themselves don't have any version information. |
I have version 4.0.1 installed and CMake can't find it for me. |
Yeah, sorry, the utfcpp header files were moved to a different install location with the 4.x releases. There's a bug report, but that got closed without the actual issue being fixed. I've just sent a pull request. Until then, can you downgrade to a 3.x version of utfcpp? |
Hi, Im on Fedora 37 and this error occurred, not sure how to proceed.
Appreciate your help.
Thanks.
[ 81%] Building CXX object CMakeFiles/dwarfs.dir/src/dwarfs/util.cpp.o
/home/ton/dwarfs/util.cpp:26:10: fatal error: utf8cpp/utf8.h: No such file or directory
26 | #include <utf8cpp/utf8.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/dwarfs.dir/build.make:594: CMakeFiles/dwarfs.dir/src/dwarfs/util.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:439: CMakeFiles/dwarfs.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
The text was updated successfully, but these errors were encountered: