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

编译错误 #19

Open
mankouzhuya opened this issue Sep 13, 2022 · 3 comments
Open

编译错误 #19

mankouzhuya opened this issue Sep 13, 2022 · 3 comments

Comments

@mankouzhuya
Copy link

文件漏提交了吗

[ 48%] Building CXX object _deps/usmallflat-build/src/test/01_basic/CMakeFiles/USmallFlat_test_01_basic.dir/test_access.cpp.o
/home/jun/下载/UDRefl-master/build/_deps/usmallflat-src/src/test/01_basic/test_access.cpp:1:10: fatal error: doctest.hpp: 没有那个文件或目录
1 | #include "doctest.hpp"
| ^~~~~~~~~~~~~
compilation terminated.

@fool404
Copy link

fool404 commented May 29, 2023

请问你怎么解决的啊

@mankouzhuya
Copy link
Author

我这边的错误原因找到了,是这个项目依赖作者另外一个USmallFlat的项目,编译的时候会动态的去下载USmallFlat工程的源码 ,USmallFlat工程里面的test_access.cpp会报头文件找不到的错误。我的解决办法是直接把动态下载的源码该一下,然后在执行make命令

@mankouzhuya
Copy link
Author

image
zhe'liang'g这两个文件都会报头文件不存在的错误,反正是单元测试,我直接简单粗暴的把这两文件的内容注销了。然后编译通过

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