编译C++代码失败,缺少依赖
#1674
Replies: 1 comment
-
换了一个镜像就有了,/opt/logtail_spl |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
make[2]: *** No rule to make target '/opt/logtail/deps/lib/libjsoncpp.a', needed by 'common/BoostRegexValidator'. Stop.
make[2]: *** Waiting for unfinished jobs....
[ 1%] Building CXX object common/CMakeFiles/BoostRegexValidator.dir/BoostRegexValidator.cpp.o
[ 1%] Building CXX object spl/CMakeFiles/spl.dir/PipelineEventGroupInput.cpp.o
[ 1%] Building CXX object spl/CMakeFiles/spl.dir/PipelineEventGroupOutput.cpp.o
[ 2%] Building CXX object spl/CMakeFiles/spl.dir/SplConstants.cpp.o
[ 2%] Building CXX object go_pipeline/CMakeFiles/PluginAdapter.dir/LogtailPluginAdapter.cpp.o
In file included from /home/gchuhu/code/ilogtail-main/core/spl/PipelineEventGroupOutput.cpp:17:
/home/gchuhu/code/ilogtail-main/core/spl/PipelineEventGroupOutput.h:19:10: fatal error: spl/rw/IO.h: No such file or directory
19 | #include <spl/rw/IO.h>
| ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [spl/CMakeFiles/spl.dir/build.make:90: spl/CMakeFiles/spl.dir/PipelineEventGroupOutput.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 3%] Linking CXX shared library libPluginAdapter.so
/home/gchuhu/code/ilogtail-main/core/common/BoostRegexValidator.cpp:21:10: fatal error: boost/regex.hpp: No such file or directory
21 | #include <boost/regex.hpp>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [common/CMakeFiles/BoostRegexValidator.dir/build.make:76: common/CMakeFiles/BoostRegexValidator.dir/BoostRegexValidator.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:214: common/CMakeFiles/BoostRegexValidator.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
In file included from /home/gchuhu/code/ilogtail-main/core/common/memory/SourceBuffer.h:22,
from /home/gchuhu/code/ilogtail-main/core/models/PipelineEvent.h:26,
from /home/gchuhu/code/ilogtail-main/core/models/LogEvent.h:19,
from /home/gchuhu/code/ilogtail-main/core/spl/PipelineEventGroupInput.h:19,
from /home/gchuhu/code/ilogtail-main/core/spl/PipelineEventGroupInput.cpp:17:
/home/gchuhu/code/ilogtail-main/core/models/StringView.h:18:10: fatal error: boost/utility/string_view.hpp: No such file or directory
18 | #include <boost/utility/string_view.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [spl/CMakeFiles/spl.dir/build.make:76: spl/CMakeFiles/spl.dir/PipelineEventGroupInput.cpp.o] Error 1
[ 3%] Built target PluginAdapter
make[1]: *** [CMakeFiles/Makefile2:162: spl/CMakeFiles/spl.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
Beta Was this translation helpful? Give feedback.
All reactions