**** Build of configuration Debug for project testcase ****
make all
Building target: testcase.exe
Invoking: MinGW C++ Linker
g++ -o"testcase.exe" ./atest.o ./main.o C:/cppunit/src/cppunit/.libs/libcppunit.a
/mingw/lib/libmingw32.a(main.o):main.c:(.text+0xd2): undefined reference to `WinMain@16'
collect2: ld returned 1 exit status
make: *** [testcase.exe] Error 1
undefined reference to `WinMain@16' : mingw/lib/libmingw32.a(main.o):main.c:
make: *** [testcase.exe] Error 1
but am using an cpp program. in cpp program which has main.cpp, atestcase.cpp and a.hpp but it showing main.c:(.text+0xd2):
Can any one solve this problem .please can any one help me
yours faithfully,
r.kranthikumar
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…