zoukankan      html  css  js  c++  java
  • linux下程序编译出错解决方法

    *** No rule to make target 'subscribe_pkg/CMakeFiles/subscribe_pkg_node.dir/build'。 停止。
    CMakeFiles/Makefile2:957: recipe for target 'subscribe_pkg/CMakeFiles/subscribe_pkg_node.dir/all' failed

    修改已知错误后,报出如上错误,则删掉编译结果,再次编译。

     

    CMake Error: Error in cmake code at
    /home/nizhipeng/ros_workspace/src/third_pkg/CMakeLists.txt:201:
    Parse error.  Function missing ending ")".  End of file reached.
    -- Configuring incomplete, errors occurred!
    See also "/home/nizhipeng/ros_workspace/build/CMakeFiles/CMakeOutput.log".
    See also "/home/nizhipeng/ros_workspace/build/CMakeFiles/CMakeError.log".
    Makefile:598: recipe for target 'cmake_check_build_system' failed
    make: *** [cmake_check_build_system] Error 1
    Invoking "make cmake_check_build_system" failed

    CmakeLists.txt中某一行缺少括号。

     三

    在#include <string> 下加一条using namespace std;

     

  • 相关阅读:
    CNN网络改善的方法——池化
    tensorflow 卷积层
    CNN输出维度的计算
    CNN滤波器
    CNN如何识别一幅图像中的物体
    什么是卷积?
    windows 和 linux 安装 tensorflow
    终端安装opencv
    css3圆形光环闪烁效果
    微信小程序
  • 原文地址:https://www.cnblogs.com/112358nizhipeng/p/9135259.html
Copyright © 2011-2022 走看看