ビルドエラー

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ビルドエラー

JoeGillian
This post has NOT been accepted by the mailing list yet.
初めまして、JoeGillianと申します。 ちゃんと動くか確かめようとビルドを実行してみましたところ次のようなビルドエラーが発生しました。 これはどういう意味なんでしょうか教えて頂けませんか?言語はC/C++です。 "/C/msys/1.0/bin/make.exe" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf make.exe[1]: Entering directory `/c/Users/owner/Documents/NetBeansProjects/CppApplication_11' "/C/msys/1.0/bin/make.exe" -f nbproject/Makefile-Debug.mk dist/Debug/MinGW_1-Windows/cppapplication_11.exe make.exe[2]: Entering directory `/c/Users/owner/Documents/NetBeansProjects/CppApplication_11' mkdir -p build/Debug/MinGW_1-Windows rm -f "build/Debug/MinGW_1-Windows/newmain4.o.d" gcc -mno-cygwin -c -g -MMD -MP -MF "build/Debug/MinGW_1-Windows/newmain4.o.d" -o build/Debug/MinGW_1-Windows/newmain4.o newmain4.c mkdir -p dist/Debug/MinGW_1-Windows gcc -mno-cygwin -o dist/Debug/MinGW_1-Windows/cppapplication_11 build/Debug/MinGW_1-Windows/main.o build/Debug/MinGW_1-Windows/newmain.o build/Debug/MinGW_1-Windows/newmain1.o build/Debug/MinGW_1-Windows/newmain2.o build/Debug/MinGW_1-Windows/newmain3.o build/Debug/MinGW_1-Windows/newmain4.o build/Debug/MinGW_1-Windows/newmain.o: In function `main': C:/Users/owner/Documents/NetBeansProjects/CppApplication_11/newmain.c:14: multiple definition of `main' build/Debug/MinGW_1-Windows/main.o:C:/Users/owner/Documents/NetBeansProjects/CppApplication_11/main.c:14: first defined here build/Debug/MinGW_1-Windows/newmain1.o: In function `main': C:/Users/owner/Documents/NetBeansProjects/CppApplication_11/newmain1.c:14: multiple definition of `main' build/Debug/MinGW_1-Windows/main.o:C:/Users/owner/Documents/NetBeansProjects/CppApplication_11/main.c:14: first defined here build/Debug/MinGW_1-Windows/newmain2.o: In function `main': C:/Users/owner/Documents/NetBeansProjects/CppApplication_11/newmain2.c:14: multiple definition of `main' build/Debug/MinGW_1-Windows/main.o:C:/Users/owner/Documents/NetBeansProjects/CppApplication_11/main.c:14: first defined here build/Debug/MinGW_1-Windows/newmain3.o: In function `main': C:/Users/owner/Documents/NetBeansProjects/CppApplication_11/newmain3.c:14: multiple definition of `main' build/Debug/MinGW_1-Windows/main.o:C:/Users/owner/Documents/NetBeansProjects/CppApplication_11/main.c:14: first defined here build/Debug/MinGW_1-Windows/newmain4.o: In function `main': C:/Users/owner/Documents/NetBeansProjects/CppApplication_11/newmain4.c:14: multiple definition of `main' build/Debug/MinGW_1-Windows/main.o:C:/Users/owner/Documents/NetBeansProjects/CppApplication_11/main.c:14: first defined here collect2: ld returned 1 exit status make.exe[2]: *** [dist/Debug/MinGW_1-Windows/cppapplication_11.exe] Error 1 make.exe[2]: Leaving directory `/c/Users/owner/Documents/NetBeansProjects/CppApplication_11' make.exe[1]: *** [.build-conf] Error 2 make.exe[1]: Leaving directory `/c/Users/owner/Documents/NetBeansProjects/CppApplication_11' make.exe": *** [.build-impl] Error 2 ビルド FAILED (終了値2, 合計時間: 10s)