Netbeans 7.4 C++简单的 hello world 错误构建失败尝试了 Google 搜索结果前 2 页上的
Netbeans 7.4 C++ simple hello world error build failed tried everything on the first 2 pages of google search results
"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory '/cygdrive/c/Users/Great Albino/Documents /NetBeansProjects/Tutorial 1'
cygwin warning:
MS-DOS style path detected: build/Debug/Cygwin_4.x-Windows/Tutorial.d
Preferred POSIX equivalent is: build/Debug/Cygwin_4.x-Windows/Tutorial/.d
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
"/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/Cygwin_4.x-Windows/tutorial_1.exe
make[2]: Entering directory '/cygdrive/c/Users/Great Albino/Documents/NetBeansProjects/Tutorial 1'
mkdir -p build/Debug/Cygwin_4.x-Windows
rm -f build/Debug/Cygwin_4.x-Windows/Tutorial 1.o.d
g++ -c -g -MMD -MP -MF build/Debug/Cygwin_4.x-Windows/Tutorial 1.o.d -o build/Debug/Cygwin_4.x-Windows/Tutorial 1.o Tutorial 1.cpp
g++: error: 1.o.d: No such file or directory
nbproject/Makefile-Debug.mk:68: recipe for target 'build/Debug/Cygwin_4.x-Windows/Tutorial 1.o' failed
make[2]: *** [build/Debug/Cygwin_4.x-Windows/Tutorial 1.o] Error 1
make[2]: Leaving directory '/cygdrive/c/Users/Great Albino/Documents/NetBeansProjects/Tutorial 1'
nbproject/Makefile-Debug.mk:60: recipe for target '.build-conf' failed
make[1]: *** [.build-conf] Error 2
make[1]: Leaving directory '/cygdrive/c/Users/Great Albino/Documents/NetBeansProjects/Tutorial 1'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 330ms)
#include <iostream>
int main()
{
std::cout << "Hello World!";
return 0;
}
and
#include <iostream>
int main()
{
cout << "Hello World!";
return 0;
}
尝试两种方式
我把文件改成了tutorial_1
这里有一些绒毛,因为我有太多的代码。 这里有一些绒毛,因为我有太多的代码。 这里有一些绒毛,因为我有太多的代码。 这里有一些绒毛,因为我有太多的代码。 这里有一些绒毛,因为我有太多的代码。 这里有一些绒毛,因为我有太多的代码
我在cygwin中添加了GCC,G ++,AS,Make,GDB。
我正在运行窗口 7。
您似乎有一个类似于"教程 1.cpp"的文件名。 即带有嵌入式空格。 NetBeans 可能支持它,但它可能会使构建脚本无休止地混淆。
我真的应该避免在文件名中使用空格。
相关文章:
- C++:使用类在向量中搜索特定元素时,我得到了错误的结果
- 按扩展名过滤搜索文件会返回太多结果
- 如何使 QSortFilterProxyModel 停止在搜索结果中显示不完整的匹配项
- C/C :libcurl 扩展ASCII chars =不良的Google Translation API结果
- Google Mock - 使用 CoTaskMemFree 时,测试返回没有结果
- 数组中的线性搜索返回意外结果
- 为什么这个计算二进制搜索树中节点的递归函数总是返回比预期更大的结果
- C 搜索.txt文件以查看字符串的所有出现并列出所有结果
- 使用格式化结果解析搜索/替换头文件
- 将filter应用于Ldap搜索也会对结果进行排序
- Netbeans 7.4 C++简单的 hello world 错误构建失败尝试了 Google 搜索结果前 2 页上的
- 使用 search-ms: 或 search: 协议将搜索结果作为 IShellItem 进行检索
- Geany 在我的二叉搜索树结果的基础中返回奇怪的结果C++
- 如何使用信号和插槽从qt表单中获取id,然后在链表中搜索它并使用另一个表单显示结果
- 如何在数组中显示二进制搜索树结果
- 基于partial_index_search的结果来增强multi_index_container部分索引搜索
- 返回到以前的搜索结果
- 相同的正则表达式搜索结果在C++和Java中有所不同
- 如何从源向量构建搜索结果的向量<><>?
- 如何显示多个向量的搜索结果?c++