-
Notifications
You must be signed in to change notification settings - Fork 156
make error:has no member named ‘starts_with’ #68
Description
/home/jrubuntu/catkin_ws/src/demon/lmbspecialops/src/decode_ppm_op.cc: In member function ‘virtual void DecodePpmOp::Compute(tensorflow::OpKernelContext*)’:
/home/jrubuntu/catkin_ws/src/demon/lmbspecialops/src/decode_ppm_op.cc:136:15: error: ‘const StringPiece {aka const class absl::string_view}’ has no member named ‘starts_with’
if (!data.starts_with("P6")) {
^
/home/jrubuntu/catkin_ws/src/demon/lmbspecialops/src/decode_flo_op.cc: In member function ‘virtual void DecodeFloOp::Compute(tensorflow::OpKernelContext*)’:
/home/jrubuntu/catkin_ws/src/demon/lmbspecialops/src/decode_flo_op.cc:65:15: error: ‘const StringPiece {aka const class absl::string_view}’ has no member named ‘starts_with’
if (!data.starts_with("PIEH")) {
^
/home/jrubuntu/catkin_ws/src/demon/lmbspecialops/src/decode_pfm_op.cc: In member function ‘virtual void DecodePfmOp::Compute(tensorflow::OpKernelContext*)’:
/home/jrubuntu/catkin_ws/src/demon/lmbspecialops/src/decode_pfm_op.cc:193:14: error: ‘const StringPiece {aka const class absl::string_view}’ has no member named ‘starts_with’
if (data.starts_with("PF")) {
^
/home/jrubuntu/catkin_ws/src/demon/lmbspecialops/src/decode_pfm_op.cc:197:21: error: ‘const StringPiece {aka const class absl::string_view}’ has no member named ‘starts_with’
} else if (data.starts_with("Pf")) {
^
lib/CMakeFiles/lmbspecialops.dir/build.make:398: recipe for target 'lib/CMakeFiles/lmbspecialops.dir/decode_flo_op.cc.o' failed
make[2]: *** [lib/CMakeFiles/lmbspecialops.dir/decode_flo_op.cc.o] Error 1
make[2]: *** 正在等待未完成的任务....
lib/CMakeFiles/lmbspecialops.dir/build.make:182: recipe for target 'lib/CMakeFiles/lmbspecialops.dir/decode_ppm_op.cc.o' failed
make[2]: *** [lib/CMakeFiles/lmbspecialops.dir/decode_ppm_op.cc.o] Error 1
lib/CMakeFiles/lmbspecialops.dir/build.make:470: recipe for target 'lib/CMakeFiles/lmbspecialops.dir/decode_pfm_op.cc.o' failed
make[2]: *** [lib/CMakeFiles/lmbspecialops.dir/decode_pfm_op.cc.o] Error 1
CMakeFiles/Makefile2:164: recipe for target 'lib/CMakeFiles/lmbspecialops.dir/all' failed
make[1]: *** [lib/CMakeFiles/lmbspecialops.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2