
[英]gcc makefile error: "No rule to make target ..."
我正在尝试将 GCC (linux) 与 makefile 一起使用来编译我的项目。 我收到以下错误,在这种情况下似乎无法破译: 这是生成文件: ...
[英]gcc makefile error: "No rule to make target ..."
我正在尝试将 GCC (linux) 与 makefile 一起使用来编译我的项目。 我收到以下错误,在这种情况下似乎无法破译: 这是生成文件: ...
[英]makefile:4: *** missing separator. Stop
这是我的 makefile: 当我尝试make clean或make make时,出现此错误: 我该如何解决? ...
[英]How to run a makefile in Windows?
我下载了一些演示,它们带有 Makefile.win 和 Makefile.sgi。 如何在 Windows 中运行这些来编译演示? ...
[英]Passing additional variables from command line to make
我可以将变量作为命令行参数传递给 GNU Makefile 吗? 换句话说,我想传递一些参数,这些参数最终会成为 Makefile 中的变量。 ...
[英]How to install and use "make" in Windows?
我正在按照我将其存储库克隆到我的机器的某人的说明进行操作。 我想使用make命令作为设置代码环境的一部分,但我使用的是 Windows。 我在网上搜索,但我只能找到一个make.exe文件,一个make-4.1.tar.gz文件(我不知道接下来要做什么)以及如何下载 MinGW 的说明(对于 GN ...
[英]How to print out a variable in makefile
在我的 makefile 中,我有一个变量“NDK_PROJECT_PATH”,我的问题是如何在编译时将其打印出来? 我读了Make file echo displaying "$PATH" string我试过: 两者都给我 有谁知道为什么它对我不起作用? ...
[英]How to make a SIMPLE C++ Makefile
我们需要使用 Makefile 为我们的项目整合所有内容,但我们的教授从未向我们展示过如何去做。 我只有一个文件a3driver.cpp 。 驱动程序从位置"/user/cse232/Examples/example32.sequence.cpp"导入一个类。 而已。 其他所有内容都包含在.cp ...
[英]What is the purpose of .PHONY in a Makefile?
.PHONY在 Makefile 中是什么意思? 我经历过这个,但它太复杂了。 有人可以用简单的术语向我解释吗? ...
[英]Using G++ to compile multiple .cpp and .h files
我刚刚继承了一些 C++ 代码,这些代码用一个包含 main 函数和一堆其他函数的 cpp 文件编写得很糟糕。 还有包含类及其 function 定义的.h文件。 到目前为止,该程序是使用命令g++ main.cpp编译的。 既然我已经将类分离为.h和.cpp文件,我是否需要使用 makefile ...
[英]How to get current relative directory of your Makefile?
我在特定于应用程序的目录中有几个 Makefile,如下所示: 每个 Makefile 在此路径中包含一个.inc 文件,向上一级: 在 app_rules.inc 中,我正在设置构建时我希望放置二进制文件的目标位置。 我希望所有二进制文件都位于各自的app_type路径中: 我试过使用$(CUR ...
[英]How do I force make/GCC to show me the commands?
我正在尝试调试编译问题,但我似乎无法获得 GCC(或者可能是 make??)来向我展示实际的编译器和它正在执行的 linker 命令。 这是我看到的 output: 我想看到的应该与此类似: 请注意此示例如何显示完整的gcc命令。 上面的示例仅显示了诸如“CCLD libvirt_parthelp ...
[英]make *** no targets specified and no makefile found. stop
我在安装 package dionaea问题。 在我输入这个之后: 下一步是: 出现错误信息: make: *** No targets specified and no makefile found. Stop. make: *** No targets specified and no make ...
[英]how to "execute" make file
我试图在 code::blocks 中使用 make 文件,但我做错了。 我安装了包含编译器的版本。 http://sourceforge.net/projects/codeblocks/files/Binaries/10.05/Windows/codeblocks-10.05mingw-setu ...
[英]What's the opposite of 'make install', i.e. how do you uninstall a library in Linux?
在跑步的时候 在我以前运行的图书馆的 MinGW/MSYS 系统上 我遇到了这条消息: 警告:已经安装了 Vamp 插件 SDK 的一个版本。 如果您在没有先删除旧版本的情况下安装新版本,那么您会担心和悲伤。 (继续) 这让我很担心。 'make install' 的反义词是什 ...
[英]Passing arguments to "make run"
我使用生成文件。 我有一个名为run的目标,它运行构建目标。 简化后,它看起来像下面这样: 有什么办法可以通过arguments吗? 以便 ...
[英]make: Nothing to be done for `all'
我正在通过一个例如 pgm 来创建一个 make 文件。 http://mrbook.org/tutorials/make/ 我的文件夹 eg_make_creation 包含以下文件, Makefile 错误: 请帮助我理解编译这个程序。 ...
[英]Program "make" not found in PATH
我在 Eclipse 的 PATH 错误中找不到程序“make”。 我检查了路径变量,它是: ...
[英]How to use shell commands in Makefile
我正在尝试在其他命令(例如 echo、rsync)中使用ls的结果: 但我得到: 我试过使用echo $$FILES 、 echo ${FILES}和echo $(FILES) ,但没有成功。 ...