John Cure created NETBEANS-1737:
-----------------------------------

             Summary: CUnit Build Test Failed
                 Key: NETBEANS-1737
                 URL: https://issues.apache.org/jira/browse/NETBEANS-1737
             Project: NetBeans
          Issue Type: Bug
          Components: cnd - Debugger
    Affects Versions: 8.2
         Environment: Windows 7.0
            Reporter: John Cure


using windows 7.0 with MinGW

following tutorial for adding unit tests in C++

on Run the C Unit test on the factorial application build fails

shows 

"make.exe" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make.exe[1]: Entering directory 
`/c/Users/John/Documents/NetBeansProjects/CppApplication_1'
"make.exe" -f nbproject/Makefile-Debug.mk 
dist/Debug/MinGW-Windows/cppapplication_1.exe
make.exe[2]: Entering directory 
`/c/Users/John/Documents/NetBeansProjects/CppApplication_1'
make.exe[2]: `dist/Debug/MinGW-Windows/cppapplication_1.exe' is up to date.
make.exe[2]: Leaving directory 
`/c/Users/John/Documents/NetBeansProjects/CppApplication_1'
make.exe[1]: Leaving directory 
`/c/Users/John/Documents/NetBeansProjects/CppApplication_1'
"make.exe" -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-tests-conf
make.exe[1]: Entering directory 
`/c/Users/John/Documents/NetBeansProjects/CppApplication_1'
"make.exe" -f nbproject/Makefile-Debug.mk 
dist/Debug/MinGW-Windows/cppapplication_1.exe
make.exe[2]: Entering directory 
`/c/Users/John/Documents/NetBeansProjects/CppApplication_1'
make.exe[2]: `dist/Debug/MinGW-Windows/cppapplication_1.exe' is up to date.
make.exe[2]: Leaving directory 
`/c/Users/John/Documents/NetBeansProjects/CppApplication_1'
mkdir -p build/Debug/MinGW-Windows/tests/_ext/c00c47c4
rm -f "build/Debug/MinGW-Windows/tests/_ext/c00c47c4/newcunittest.o.d"
gcc -c -g -MMD -MP -MF 
"build/Debug/MinGW-Windows/tests/_ext/c00c47c4/newcunittest.o.d" -o 
build/Debug/MinGW-Windows/tests/_ext/c00c47c4/newcunittest.o 
/C/Users/John/Documents/NetBeansProjects/CppApplication_1/tests/newcunittest.c
mkdir -p build/Debug/MinGW-Windows
00000031 T _main
mkdir -p build/Debug/MinGW-Windows/tests/TestFiles
gcc -o build/Debug/MinGW-Windows/tests/TestFiles/f1 
build/Debug/MinGW-Windows/tests/_ext/c00c47c4/newcunittest.o 
build/Debug/MinGW-Windows/main_nomain.o -lcunit 
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: cannot 
find -lcunit
collect2.exe: error: ld returned 1 exit status
make.exe[1]: *** [build/Debug/MinGW-Windows/tests/TestFiles/f1] Error 1
make.exe[1]: Leaving directory 
`/c/Users/John/Documents/NetBeansProjects/CppApplication_1'
"make.exe": *** [.build-tests-impl] Error 2



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to