Advertisement
Guest User

errors

a guest
Apr 16th, 2015
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. "/C/MinGW/MSYS/1.0/bin/make.exe" -f nbproject/Makefile-Debug_-_Windows__x86_.mk QMAKE= SUBPROJECTS= .build-conf
  2. make.exe[1]: Entering directory `/c/Users/shiina/Projects/projects/HW'
  3. "/C/MinGW/MSYS/1.0/bin/make.exe" -f nbproject/Makefile-Debug_-_Windows__x86_.mk dist/Debug_-_Windows__x86_/MinGW-Windows/hw.exe
  4. make.exe[2]: Entering directory `/c/Users/shiina/Projects/projects/HW'
  5. mkdir -p build/Debug_-_Windows__x86_/MinGW-Windows
  6. rm -f "build/Debug_-_Windows__x86_/MinGW-Windows/main.o.d"
  7. g++ -m32 -fpermissive -pg -c -g -Iheaders -I../../irrlicht-1.8.1/include -std=c++11 -MMD -MP -MF "build/Debug_-_Windows__x86_/MinGW-Windows/main.o.d" -o build/Debug_-_Windows__x86_/MinGW-Windows/main.o main.cpp
  8. In file included from c:\mingw\include\windows.h:48:0,
  9. from main.cpp:24:
  10. c:\mingw\include\windef.h: In function 'int main()':
  11. c:\mingw\include\windef.h:8:8: error: expected unqualified-id before string constant
  12. extern "C" {
  13. ^
  14. In file included from c:\mingw\include\windef.h:253:0,
  15. from c:\mingw\include\windows.h:48,
  16. from main.cpp:24:
  17. c:\mingw\include\winnt.h:2444:21: error: expected '}' before end of line
  18. #pragma pack(push,4)
  19. ^
  20. c:\mingw\include\winnt.h: At global scope:
  21. c:\mingw\include\winnt.h:2444:21: error: expected declaration before end of line
  22. make.exe[2]: *** [build/Debug_-_Windows__x86_/MinGW-Windows/main.o] Error 1
  23. make.exe[2]: Leaving directory `/c/Users/shiina/Projects/projects/HW'
  24. make.exe[1]: *** [.build-conf] Error 2
  25. make.exe[1]: Leaving directory `/c/Users/shiina/Projects/projects/HW'
  26. make.exe": *** [.build-impl] Error 2
  27.  
  28. BUILD FAILED (exit value 2, total time: 20s)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement