"Target does not exist or is not on PATH." "制作"之后
"Target does not exist or is not on PATH." After 'make'-ing
我在Ubuntu上运行JGrasp
,每次尝试运行make-d
程序时都会遇到这个问题。这是完整的错误消息:
----jGRASP exec: /home/steve/workspace/project1/BSTTest
----jGRASP wedge: could not execute /home/steve/workspace/project1/BSTTest
---- error number 2.
----
---- Target does not exist or is not on PATH.
----jGRASP: operation complete.
问题是,我可以在工作区的左边看到可执行的BSTTest.exe
,我也可以用ls -l
确认它的存在。
我花了5个多工时试图在谷歌上搜索(可能已经用完了3-4页的结果)并解决这个问题及其不同的形式,如果能提供任何关于如何解决它或问题可能来自哪里的信息,我将不胜感激。
其他信息:这个程序很好,我可以编译、链接和运行单个文件也很好。问题是我无法运行任何make'd
可执行文件,因为JGrasp
抛出"未找到"错误。错误不应该出现在我的makefile
中,因为我使用的是教授提供给我的makefile
。
提前非常感谢!
Linux上的可执行文件通常不命名为".exe",jGRASP也不希望它们命名为"exe"。最简单的方法是将makefile中的所有"BSTTest.exe"更改为"BSTTest"。
相关文章:
- OpenMP卸载说'fatal error: could not find accel/nvptx-none/mkoffload'
- 在 Windows 上,是否可以让 dll 在不使用 PATH 环境变量的情况下在另一个文件夹中查找依赖项?
- 使用JsonCpp将数据返回到带有pybind11的python会在python调用中产生Symbol not foun
- OpenCV Android C++ imwrite not found
- 应用程序崩溃并显示"symbol _ZdlPvm, version Qt_5 not defined in file libQt5Core.so.5 with link time reference"
- 使用单词"not"作为C ++类的名称会导致VS2019错误
- 错误"Could not find Boost"(缺少:上下文标头)
- 如何修复"error: ‘_1’ was not declared in this scope"?
- 套接字连接"Operation not permitted"错误,甚至使用升压/平发器根.cpp
- Is !NaN not a NaN?
- 为什么我会" void value not ignored as it ought to be"?
- 解决"ld: library not found for -ltensorflow_framework.2.3.0"
- 加载与引用 .NET DLL 位于同一文件夹中的引用的 .NET DLL 时"Not found"异常
- Directx 11 - CompileFromFile() is not compiling
- 方法错误"not all control paths return a value"和方法不返回值
- Centos7 g++ "to_string is not in a member of std"
- 将系数存储在头文件的数组中("does not name a type"错误)
- 使用谷歌测试编译程序时"g++ is not a full path"
- CMAKE CMAKE_C_COMPILER "is not a full path to an existing compiler tool"
- "Target does not exist or is not on PATH." "制作"之后