לוגו אתר Fresh          
 
 
  אפשרות תפריט  ראשי     אפשרות תפריט  צ'אט     אפשרות תפריט  מבזקים     אפשרות תפריט  צור קשר     חץ שמאלה ‎print ‎"Hello World!"; if‎ ‎not rules.‎know ‎then rules.‎read(); חץ ימינה  

לך אחורה   לובי הפורומים > מחשבים > תכנות ובניית אתרים
שמור לעצמך קישור לדף זה באתרי שמירת קישורים חברתיים
תגובה
 
כלי אשכול חפש באשכול זה



  #3  
ישן 27-10-2006, 11:10
צלמית המשתמש של יגואר1
  יגואר1 יגואר1 אינו מחובר  
 
חבר מתאריך: 22.03.04
הודעות: 1,234
שלח הודעה דרך ICQ אל יגואר1 שלח הודעה דרך MSN אל יגואר1
בתגובה להודעה מספר 2 שנכתבה על ידי Fate שמתחילה ב "שגיאות קומפילציה?"

הסתכלי ועדיין אין לי מושג מה לעשות, זה השגיאה:

קוד:
Compiler: Default compiler Building Makefile: "C:\Dev-Cpp\Examples\WinMenu\Makefile.win" Executing make... make.exe -f "C:\Dev-Cpp\Examples\WinMenu\Makefile.win" all g++.exe -c main.cpp -o main.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" In file included from C:/Dev-Cpp/include/windows.h:50, from main.cpp:2: C:/Dev-Cpp/include/winbase.h:3:18: Main.h: No such file or directory In file included from C:/Dev-Cpp/include/windows.h:50, from main.cpp:2: C:/Dev-Cpp/include/winbase.h: In function `BOOL LoadFile(HWND__*, CHAR*)': C:/Dev-Cpp/include/winbase.h:16: error: `OPEN_EXISTING' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:16: error: (Each undeclared identifier is reported only once for each function it appears in.) C:/Dev-Cpp/include/winbase.h:16: error: `CreateFile' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:17: error: `INVALID_HANDLE_VALUE' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:20: error: `GetFileSize' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:24: error: `GPTR' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:24: error: `GlobalAlloc' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:28: error: `ReadFile' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:31: error: `SetWindowText' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:34: error: `GlobalFree' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:37: error: `CloseHandle' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h: In function `BOOL SaveFile(HWND__*, CHAR*)': C:/Dev-Cpp/include/winbase.h:48: error: `CREATE_ALWAYS' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:48: error: `CreateFile' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:49: error: `INVALID_HANDLE_VALUE' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:52: error: `GetWindowTextLength' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:56: error: `GPTR' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:56: error: `GlobalAlloc' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:59: error: `GetWindowText' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:62: error: `WriteFile' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:65: error: `GlobalFree' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:68: error: `CloseHandle' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h: In function `BOOL DoFileOpenSave(HWND__*, BOOL)': C:/Dev-Cpp/include/winbase.h:75: error: `OPENFILENAME' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:75: error: expected `;' before "ofn" C:/Dev-Cpp/include/winbase.h:78: error: `ofn' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:78: error: `ZeroMemory' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:90: error: `OFN_EXPLORER' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:90: error: `OFN_PATHMUSTEXIST' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:90: error: `OFN_HIDEREADONLY' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:91: error: `OFN_OVERWRITEPROMPT' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:93: error: `GetSaveFileName' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:95: error: `GetDlgItem' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:98: error: `MB_OK' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:98: error: `MB_ICONEXCLAMATION' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:98: error: `MessageBox' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:105: error: `OFN_FILEMUSTEXIST' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:106: error: `GetOpenFileName' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h: In function `LRESULT WndProc(HWND__*, UINT, WPARAM, LPARAM)': C:/Dev-Cpp/include/winbase.h:123: error: `WM_CREATE' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:125: error: `WS_CHILD' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:125: error: `WS_VISIBLE' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:125: error: `WS_HSCROLL' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:125: error: `WS_VSCROLL' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:125: error: `ES_MULTILINE' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:126: error: `ES_WANTRETURN' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:127: error: `CW_USEDEFAULT' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:128: error: `CreateWindow' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:130: error: `WM_SETFONT' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:131: error: `DEFAULT_GUI_FONT' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:131: error: `GetStockObject' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:131: error: `MAKELPARAM' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:131: error: `SendDlgItemMessage' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:133: error: `WM_SIZE' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:134: error: `SIZE_MINIMIZED' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:135: error: `GetDlgItem' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:136: error: `MoveWindow' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:138: error: `WM_SETFOCUS' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:139: error: `SetFocus' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:141: error: `WM_COMMAND' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:144: error: `CM_FILE_OPEN' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:147: error: `CM_FILE_SAVEAS' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:150: error: `CM_FILE_EXIT' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:151: error: `WM_CLOSE' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:151: error: `PostMessage' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:153: error: `CM_ABOUT' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:154: error: `MessageBox' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:158: error: `DestroyWindow' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:160: error: `WM_DESTROY' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:161: error: `PostQuitMessage' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:164: error: `DefWindowProc' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h: In function `int WinMain(HINSTANCE__*, HINSTANCE__*, CHAR*, int)': C:/Dev-Cpp/include/winbase.h:173: error: `WNDCLASSEX' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:173: error: expected `;' before "WndClass" C:/Dev-Cpp/include/winbase.h:175: error: `MSG' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:175: error: expected `;' before "Msg" C:/Dev-Cpp/include/winbase.h:179: error: `WndClass' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:185: error: `IDI_APPLICATION' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:185: error: `LoadIcon' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:186: error: `IDC_ARROW' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:186: error: `LoadCursor' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:187: error: `COLOR_WINDOW' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:192: error: `RegisterClassEx' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:195: error: `MB_ICONEXCLAMATION' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:195: error: `MB_OK' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:195: error: `MB_SYSTEMMODAL' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:195: error: `MessageBox' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:200: error: `WS_EX_CLIENTEDGE' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:203: error: `WS_OVERLAPPEDWINDOW' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:204: error: `CW_USEDEFAULT' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:205: error: `CreateWindowEx' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:214: error: `ShowWindow' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:215: error: `UpdateWindow' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:217: error: `Msg' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:217: error: `GetMessage' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:219: error: `TranslateMessage' undeclared (first use this function) C:/Dev-Cpp/include/winbase.h:220: error: `DispatchMessage' undeclared (first use this function) In file included from C:/Dev-Cpp/include/windows.h:52, from main.cpp:2: C:/Dev-Cpp/include/wingdi.h: At global scope: C:/Dev-Cpp/include/wingdi.h:2718: error: `void* GetStockObject(int)' used prior to declaration In file included from C:/Dev-Cpp/include/windows.h:55, from main.cpp:2: C:/Dev-Cpp/include/winuser.h:2536: error: `typedef struct tagMSG MSG' used prior to declaration C:/Dev-Cpp/include/winuser.h:3352: error: `BOOL DestroyWindow(HWND__*)' used prior to declaration C:/Dev-Cpp/include/winuser.h:3467: error: `HWND__* GetDlgItem(HWND__*, int)' used prior to declaration C:/Dev-Cpp/include/winuser.h:3689: error: `BOOL MoveWindow(HWND__*, int, int, int, int, BOOL)' used prior to declaration C:/Dev-Cpp/include/winuser.h:3715: error: `void PostQuitMessage(int)' used prior to declaration C:/Dev-Cpp/include/winuser.h:3781: error: `HWND__* SetFocus(HWND__*)' used prior to declaration C:/Dev-Cpp/include/winuser.h:3840: error: `BOOL ShowWindow(HWND__*, int)' used prior to declaration C:/Dev-Cpp/include/winuser.h:3863: error: `BOOL TranslateMessage(const MSG*)' used prior to declaration C:/Dev-Cpp/include/winuser.h:3877: error: `BOOL UpdateWindow(HWND__*)' used prior to declaration C:/Dev-Cpp/include/winuser.h:4086: error: `typedef struct WNDCLASSEXA WNDCLASSEX' used prior to declaration In file included from C:/Dev-Cpp/include/windows.h:58, from main.cpp:2: C:/Dev-Cpp/include/winnls.h:571: error: expected `,' or `...' before '*' token C:/Dev-Cpp/include/winnls.h:572: error: expected `,' or `...' before '*' token C:/Dev-Cpp/include/winnls.h:588: error: expected `,' or `...' before '*' token C:/Dev-Cpp/include/winnls.h:589: error: expected `,' or `...' before '*' token In file included from C:/Dev-Cpp/include/windows.h:67, from main.cpp:2: C:/Dev-Cpp/include/winreg.h:71: error: `PFILETIME' has not been declared C:/Dev-Cpp/include/winreg.h:72: error: `PFILETIME' has not been declared C:/Dev-Cpp/include/winreg.h:84: error: `PFILETIME' has not been declared C:/Dev-Cpp/include/winreg.h:85: error: `PFILETIME' has not been declared In file included from C:/Dev-Cpp/include/windows.h:79, from main.cpp:2: C:/Dev-Cpp/include/lzexpand.h:25: error: `LPOFSTRUCT' has not been declared C:/Dev-Cpp/include/lzexpand.h:26: error: `LPOFSTRUCT' has not been declared In file included from C:/Dev-Cpp/include/windows.h:84, from main.cpp:2: C:/Dev-Cpp/include/winperf.h:87: error: `SYSTEMTIME' does not name a type In file included from C:/Dev-Cpp/include/windows.h:86, from main.cpp:2: C:/Dev-Cpp/include/commdlg.h:561: error: `typedef struct OPENFILENAMEA OPENFILENAME' used prior to declaration In file included from C:/Dev-Cpp/include/windows.h:87, from main.cpp:2: C:/Dev-Cpp/include/winspool.h:244: error: `SYSTEMTIME' does not name a type C:/Dev-Cpp/include/winspool.h:259: error: `SYSTEMTIME' does not name a type C:/Dev-Cpp/include/winspool.h:282: error: `SYSTEMTIME' does not name a type C:/Dev-Cpp/include/winspool.h:307: error: `SYSTEMTIME' does not name a type In file included from C:/Dev-Cpp/include/objbase.h:74, from C:/Dev-Cpp/include/ole2.h:9, from C:/Dev-Cpp/include/windows.h:111, from main.cpp:2: C:/Dev-Cpp/include/objidl.h:13: error: `FILETIME' does not name a type C:/Dev-Cpp/include/objidl.h:14: error: `FILETIME' does not name a type C:/Dev-Cpp/include/objidl.h:15: error: `FILETIME' does not name a type C:/Dev-Cpp/include/objidl.h:97: error: `FILETIME' does not name a type C:/Dev-Cpp/include/objidl.h:98: error: `FILETIME' does not name a type C:/Dev-Cpp/include/objidl.h:99: error: `FILETIME' does not name a type C:/Dev-Cpp/include/objidl.h:283: error: expected `;' before '*' token C:/Dev-Cpp/include/objidl.h:323: error: `FILETIME' does not name a type C:/Dev-Cpp/include/objidl.h:576: error: `LPFILETIME' has not been declared C:/Dev-Cpp/include/objidl.h:577: error: `LPFILETIME' has not been declared C:/Dev-Cpp/include/objidl.h:622: error: `LPFILETIME' has not been declared C:/Dev-Cpp/include/objidl.h:747: error: `FILETIME' has not been declared C:/Dev-Cpp/include/objidl.h:747: error: `FILETIME' has not been declared C:/Dev-Cpp/include/objidl.h:747: error: `FILETIME' has not been declared C:/Dev-Cpp/include/objidl.h:912: error: `SetTimes' declared as a `virtual' field C:/Dev-Cpp/include/objidl.h:912: error: expected `;' before '(' token C:/Dev-Cpp/include/objidl.h:1136: error: `FILETIME' has not been declared C:/Dev-Cpp/include/objidl.h:1138: error: `FILETIME' has not been declared C:/Dev-Cpp/include/objidl.h:1168: error: `FILETIME' has not been declared C:/Dev-Cpp/include/objidl.h:1244: error: expected `,' or `...' before '*' token In file included from C:/Dev-Cpp/include/ole2.h:9, from C:/Dev-Cpp/include/windows.h:111, from main.cpp:2: C:/Dev-Cpp/include/objbase.h:147: error: `FILETIME' was not declared in this scope C:/Dev-Cpp/include/objbase.h:147: error: expected primary-expression before ',' token C:/Dev-Cpp/include/objbase.h:147: error: expected primary-expression before ',' token C:/Dev-Cpp/include/objbase.h:147: error: expected primary-expression before ')' token C:/Dev-Cpp/include/objbase.h:147: error: initializer expression list treated as compound expression C:/Dev-Cpp/include/objbase.h:148: error: `FILETIME' has not been declared C:/Dev-Cpp/include/objbase.h:149: error: `FILETIME' was not declared in this scope C:/Dev-Cpp/include/objbase.h:149: error: expected primary-expression before ')' token C:/Dev-Cpp/include/objbase.h:168: error: `FILETIME' has not been declared C:/Dev-Cpp/include/objbase.h:168: error: `FILETIME' has not been declared C:/Dev-Cpp/include/objbase.h:168: error: `FILETIME' has not been declared In file included from C:/Dev-Cpp/include/ole2.h:11, from C:/Dev-Cpp/include/windows.h:111, from main.cpp:2: C:/Dev-Cpp/include/oleauto.h:185: error: `SYSTEMTIME' does not name a type C:/Dev-Cpp/include/oleauto.h:208: error: `LPSYSTEMTIME' has not been declared C:/Dev-Cpp/include/oleauto.h:209: error: `LPSYSTEMTIME' was not declared in this scope C:/Dev-Cpp/include/oleauto.h:209: error: expected primary-expression before "double" C:/Dev-Cpp/include/oleauto.h:209: error: initializer expression list treated as compound expression main.cpp: In function `int WinMain(HINSTANCE__*, HINSTANCE__*, CHAR*, int)': main.cpp:13: error: redefinition of `int WinMain(HINSTANCE__*, HINSTANCE__*, CHAR*, int)' C:/Dev-Cpp/include/winbase.h:172: error: `int WinMain(HINSTANCE__*, HINSTANCE__*, CHAR*, int)' previously defined here make.exe: *** [main.o] Error 1 Execution terminated
תגובה ללא ציטוט תגובה עם ציטוט חזרה לפורום
תגובה

כלי אשכול חפש באשכול זה
חפש באשכול זה:

חיפוש מתקדם
מצבי תצוגה דרג אשכול זה
דרג אשכול זה:

מזער את תיבת המידע אפשרויות משלוח הודעות
אתה לא יכול לפתוח אשכולות חדשים
אתה לא יכול להגיב לאשכולות
אתה לא יכול לצרף קבצים
אתה לא יכול לערוך את ההודעות שלך

קוד vB פעיל
קוד [IMG] פעיל
קוד HTML כבוי
מעבר לפורום



כל הזמנים המוצגים בדף זה הם לפי איזור זמן GMT +2. השעה כעת היא 01:12

הדף נוצר ב 0.06 שניות עם 12 שאילתות

הפורום מבוסס על vBulletin, גירסא 3.0.6
כל הזכויות לתוכנת הפורומים שמורות © 2025 - 2000 לחברת Jelsoft Enterprises.
כל הזכויות שמורות ל Fresh.co.il ©

צור קשר | תקנון האתר