Why Is lazarus doing this? lazarus / 9-Editor ---------------------------------------------------------------------- captian jaster · 2010-09-04 23:54 Lazarus never seems to find the LCLProc unit so I add it using the project inspector. It asks me if I want to add C:\lazarus\lcl\ to the list of directory's to be read(or something like that) and then It opens the Fileutil saying cannot open include file.. Whats wrong ---------------------------------------------------------------------- typo · 2010-09-05 00:16 If you can open the file on the editor from the editor's popup menu: 1) Add it to your project from the menu. 2) You will have a message asking you to add the file to the path. Accept it. 3) Remove it again from your project. ---------------------------------------------------------------------- captian jaster · 2010-09-05 00:33 I have fileUtil and FileUtil.inc both opened and in my project and it still says C:\lazarus\lcl\avglvltree.pas(1184,16) Hint: Local variable "List" does not seem to be initialized C:\lazarus\lcl\fileutil.pas(237,2) Fatal: Can't open include file "fileutil.inc" And I need LCLProc for GetPart.. ;_; whats wrong So heres what I tryed. I put {$I C:\lazarus\lcl\include\fileutil.inc} instead and I got(a Long) error code C:\lazarus\lcl\fileutil.pas(61,30) Hint: Parameter "AFilename" not used C:\lazarus\lcl\fileutil.pas(56,31) Hint: Parameter "AFilename" not used C:\lazarus\lcl\include\fileutil.inc(858,62) Hint: Local variable "FindData" does not seem to be initialized C:\lazarus\lcl\fileutil.pas(65,23) Hint: Parameter "ExceptionOnError" not used C:\lazarus\lcl\lcltype.pp(69,10) Hint: Type "UINT" redefinition C:\lazarus\lcl\lcltype.pp(73,22) Hint: Type "TCriticalSection" redefinition C:\lazarus\lcl\lcltype.pp(74,22) Hint: Type "PCriticalSection" redefinition C:\lazarus\lcl\lcltype.pp(117,11) Hint: Type "HKEY" redefinition C:\lazarus\lcl\lcltype.pp(118,11) Hint: Type "HDC" redefinition C:\lazarus\lcl\lcltype.pp(119,11) Hint: Type "HHOOK" redefinition C:\lazarus\lcl\lcltype.pp(120,11) Hint: Type "HFONT" redefinition C:\lazarus\lcl\lcltype.pp(121,13) Hint: Type "HGDIOBJ" redefinition C:\lazarus\lcl\lcltype.pp(122,13) Hint: Type "HPEN" redefinition C:\lazarus\lcl\lcltype.pp(123,13) Hint: Type "HRGN" redefinition C:\lazarus\lcl\lcltype.pp(124,13) Hint: Type "HINST" redefinition C:\lazarus\lcl\lcltype.pp(125,13) Hint: Type "HICON" redefinition C:\lazarus\lcl\lcltype.pp(126,16) Hint: Type "HIMAGELIST" redefinition C:\lazarus\lcl\lcltype.pp(127,13) Hint: Type "HCURSOR" redefinition C:\lazarus\lcl\lcltype.pp(128,13) Hint: Type "BOOL" redefinition C:\lazarus\lcl\lcltype.pp(129,13) Hint: Type "HGLOBAL" redefinition C:\lazarus\lcl\lcltype.pp(130,13) Hint: Type "Short" redefinition C:\lazarus\lcl\lcltype.pp(131,13) Hint: Type "HWND" redefinition C:\lazarus\lcl\lcltype.pp(132,13) Hint: Type "HMENU" redefinition C:\lazarus\lcl\lcltype.pp(133,13) Hint: Type "HBITMAP" redefinition C:\lazarus\lcl\lcltype.pp(134,14) Hint: Type "HPALETTE" redefinition C:\lazarus\lcl\lcltype.pp(135,12) Hint: Type "HBRUSH" redefinition C:\lazarus\lcl\lcltype.pp(138,12) Hint: Type "WPARAM" redefinition C:\lazarus\lcl\lcltype.pp(139,12) Hint: Type "LPARAM" redefinition C:\lazarus\lcl\lcltype.pp(140,13) Hint: Type "LRESULT" redefinition C:\lazarus\lcl\lcltype.pp(146,11) Hint: Type "PHKEY" redefinition C:\lazarus\lcl\lcltype.pp(173,20) Hint: Type "TKeyBoardState" redefinition C:\lazarus\lcl\lcltype.pp(175,10) Hint: Type "PABC" redefinition C:\lazarus\lcl\lcltype.pp(177,10) Hint: Type "_ABC" redefinition C:\lazarus\lcl\lcltype.pp(182,10) Hint: Type "TABC" redefinition C:\lazarus\lcl\lcltype.pp(853,12) Hint: Type "PNMHdr" redefinition C:\lazarus\lcl\lcltype.pp(854,14) Hint: Type "tagNMHDR" redefinition C:\lazarus\lcl\lcltype.pp(859,12) Hint: Type "TNMHdr" redefinition C:\lazarus\lcl\lcltype.pp(860,11) Hint: Type "NMHDR" redefinition C:\lazarus\lcl\lcltype.pp(913,21) Hint: Type "PDrawItemStruct" redefinition C:\lazarus\lcl\lcltype.pp(914,23) Hint: Type "tagDrawItemStruct" redefinition C:\lazarus\lcl\lcltype.pp(925,21) Hint: Type "TDrawItemStruct" redefinition C:\lazarus\lcl\lcltype.pp(926,20) Hint: Type "DrawItemStruct" redefinition C:\lazarus\lcl\lcltype.pp(945,24) Hint: Type "PMeasureItemStruct" redefinition C:\lazarus\lcl\lcltype.pp(946,24) Hint: Type "TMeasureItemStruct" redefinition C:\lazarus\lcl\lcltype.pp(955,18) Hint: Type "PPaintStruct" redefinition C:\lazarus\lcl\lcltype.pp(956,20) Hint: Type "tagPAINTSTRUCT" redefinition C:\lazarus\lcl\lcltype.pp(964,18) Hint: Type "TPaintStruct" redefinition C:\lazarus\lcl\lcltype.pp(966,17) Hint: Type "PAINTSTRUCT" redefinition C:\lazarus\lcl\lcltype.pp(969,16) Hint: Type "PWindowPos" redefinition C:\lazarus\lcl\lcltype.pp(979,16) Hint: Type "TWindowPos" redefinition C:\lazarus\lcl\lcltype.pp(980,15) Hint: Type "WindowPos" redefinition C:\lazarus\lcl\lcltype.pp(982,19) Hint: Type "tagScrollInfo" redefinition C:\lazarus\lcl\lcltype.pp(991,17) Hint: Type "PScrollInfo" redefinition C:\lazarus\lcl\lcltype.pp(992,17) Hint: Type "TScrollInfo" redefinition C:\lazarus\lcl\lcltype.pp(995,19) Hint: Type "PPaletteEntry" redefinition C:\lazarus\lcl\lcltype.pp(996,21) Hint: Type "tagPALETTEENTRY" redefinition C:\lazarus\lcl\lcltype.pp(1002,19) Hint: Type "TPaletteEntry" redefinition C:\lazarus\lcl\lcltype.pp(1003,18) Hint: Type "PALETTEENTRY" redefinition C:\lazarus\lcl\lcltype.pp(1005,17) Hint: Type "PLogPalette" redefinition C:\lazarus\lcl\lcltype.pp(1006,19) Hint: Type "tagLOGPALETTE" redefinition C:\lazarus\lcl\lcltype.pp(1011,16) Hint: Type "LOGPALETTE" redefinition C:\lazarus\lcl\lcltype.pp(1012,17) Hint: Type "TLOGPALETTE" redefinition C:\lazarus\lcl\lcltype.pp(1015,16) Hint: Type "PTriVertex" redefinition C:\lazarus\lcl\lcltype.pp(1024,15) Hint: Type "TRIVERTEX" redefinition C:\lazarus\lcl\lcltype.pp(1045,13) Hint: Type "PBitmap" redefinition C:\lazarus\lcl\lcltype.pp(1046,15) Hint: Type "tagBITMAP" redefinition C:\lazarus\lcl\lcltype.pp(1055,12) Hint: Type "BITMAP" redefinition C:\lazarus\lcl\lcltype.pp(1058,23) Hint: Type "PBitmapCoreHeader" redefinition C:\lazarus\lcl\lcltype.pp(1059,25) Hint: Type "tagBITMAPCOREHEADER" redefinition C:\lazarus\lcl\lcltype.pp(1066,23) Hint: Type "TBitmapCoreHeader" redefinition C:\lazarus\lcl\lcltype.pp(1067,22) Hint: Type "BITMAPCOREHEADER" redefinition C:\lazarus\lcl\lcltype.pp(1070,23) Hint: Type "PBitmapInfoHeader" redefinition C:\lazarus\lcl\lcltype.pp(1084,23) Hint: Type "TBitmapInfoHeader" redefinition C:\lazarus\lcl\lcltype.pp(1085,22) Hint: Type "BITMAPINFOHEADER" redefinition C:\lazarus\lcl\lcltype.pp(1088,16) Hint: Type "PRGBTriple" redefinition C:\lazarus\lcl\lcltype.pp(1089,18) Hint: Type "tagRGBTRIPLE" redefinition C:\lazarus\lcl\lcltype.pp(1094,16) Hint: Type "TRGBTriple" redefinition C:\lazarus\lcl\lcltype.pp(1095,15) Hint: Type "RGBTRIPLE" redefinition C:\lazarus\lcl\lcltype.pp(1097,14) Hint: Type "PRGBQUAD" redefinition C:\lazarus\lcl\lcltype.pp(1098,16) Hint: Type "tagRGBQUAD" redefinition C:\lazarus\lcl\lcltype.pp(1104,14) Hint: Type "TRGBQuad" redefinition C:\lazarus\lcl\lcltype.pp(1105,13) Hint: Type "RGBQUAD" redefinition C:\lazarus\lcl\lcltype.pp(1116,17) Hint: Type "PBitmapInfo" redefinition C:\lazarus\lcl\lcltype.pp(1121,17) Hint: Type "TBitmapInfo" redefinition C:\lazarus\lcl\lcltype.pp(1122,16) Hint: Type "BITMAPINFO" redefinition C:\lazarus\lcl\lcltype.pp(1124,21) Hint: Type "PBitmapCoreInfo" redefinition C:\lazarus\lcl\lcltype.pp(1130,21) Hint: Type "TBitmapCoreInfo" redefinition C:\lazarus\lcl\lcltype.pp(1131,20) Hint: Type "BITMAPCOREINFO" redefinition C:\lazarus\lcl\lcltype.pp(1134,23) Hint: Type "PBitmapFileHeader" redefinition C:\lazarus\lcl\lcltype.pp(1142,23) Hint: Type "TBitmapFileHeader" redefinition C:\lazarus\lcl\lcltype.pp(1143,22) Hint: Type "BITMAPFILEHEADER" redefinition C:\lazarus\lcl\lcltype.pp(1146,17) Hint: Type "PDIBSection" redefinition C:\lazarus\lcl\lcltype.pp(1147,19) Hint: Type "tagDIBSECTION" redefinition C:\lazarus\lcl\lcltype.pp(1154,17) Hint: Type "TDIBSection" redefinition C:\lazarus\lcl\lcltype.pp(1155,16) Hint: Type "DIBSECTION" redefinition C:\lazarus\lcl\lcltype.pp(1157,17) Hint: Type "tagHELPINFO" redefinition C:\lazarus\lcl\lcltype.pp(1165,15) Hint: Type "THelpInfo" redefinition C:\lazarus\lcl\lcltype.pp(1166,15) Hint: Type "PHelpInfo" redefinition C:\lazarus\lcl\lcltype.pp(1419,14) Hint: Type "COLORREF" redefinition C:\lazarus\lcl\lcltype.pp(1420,15) Hint: Type "TColorRef" redefinition C:\lazarus\lcl\lcltype.pp(1969,14) Hint: Type "TFarProc" redefinition C:\lazarus\lcl\lcltype.pp(1971,16) Hint: Type "TFNWndProc" redefinition C:\lazarus\lcl\lcltype.pp(1973,15) Hint: Type "PLogFontA" redefinition C:\lazarus\lcl\lcltype.pp(1974,15) Hint: Type "PLogFontW" redefinition C:\lazarus\lcl\lcltype.pp(1975,14) Hint: Type "PLogFont" redefinition C:\lazarus\lcl\lcltype.pp(1980,14) Hint: Type "LOGFONTW" redefinition C:\lazarus\lcl\lcltype.pp(2021,15) Hint: Type "TLogFontA" redefinition C:\lazarus\lcl\lcltype.pp(2022,15) Hint: Type "TLogFontW" redefinition C:\lazarus\lcl\lcltype.pp(2023,14) Hint: Type "TLogFont" redefinition C:\lazarus\lcl\lcltype.pp(2026,13) Hint: Type "LOGFONT" redefinition C:\lazarus\lcl\lcltype.pp(2027,15) Hint: Type "LPLOGFONT" redefinition C:\lazarus\lcl\lcltype.pp(2029,15) Hint: Type "PLogBrush" redefinition C:\lazarus\lcl\lcltype.pp(2030,17) Hint: Type "tagLOGBRUSH" redefinition C:\lazarus\lcl\lcltype.pp(2035,15) Hint: Type "TLogBrush" redefinition C:\lazarus\lcl\lcltype.pp(2036,14) Hint: Type "LOGBRUSH" redefinition C:\lazarus\lcl\lcltype.pp(2039,20) Hint: Type "PMaxLogPalette" redefinition C:\lazarus\lcl\lcltype.pp(2040,20) Hint: Type "TMaxLogPalette" redefinition C:\lazarus\lcl\lcltype.pp(2048,18) Hint: Type "PEnumLogFont" redefinition C:\lazarus\lcl\lcltype.pp(2062,20) Hint: Type "tagENUMLOGFONT" redefinition C:\lazarus\lcl\lcltype.pp(2065,18) Hint: Type "TEnumLogFont" redefinition C:\lazarus\lcl\lcltype.pp(2071,17) Hint: Type "ENUMLOGFONT" redefinition C:\lazarus\lcl\lcltype.pp(2075,20) Hint: Type "PEnumLogFontEx" redefinition C:\lazarus\lcl\lcltype.pp(2091,22) Hint: Type "tagENUMLOGFONTEX" redefinition C:\lazarus\lcl\lcltype.pp(2094,20) Hint: Type "TEnumLogFontEx" redefinition C:\lazarus\lcl\lcltype.pp(2100,19) Hint: Type "ENUMLOGFONTEX" redefinition C:\lazarus\lcl\lcltype.pp(2102,13) Hint: Type "PLogPen" redefinition C:\lazarus\lcl\lcltype.pp(2103,15) Hint: Type "tagLOGPEN" redefinition C:\lazarus\lcl\lcltype.pp(2108,13) Hint: Type "TLogPen" redefinition C:\lazarus\lcl\lcltype.pp(2109,12) Hint: Type "LOGPEN" redefinition C:\lazarus\lcl\lcltype.pp(2111,16) Hint: Type "PExtLogPen" redefinition C:\lazarus\lcl\lcltype.pp(2112,18) Hint: Type "tagEXTLOGPEN" redefinition C:\lazarus\lcl\lcltype.pp(2121,16) Hint: Type "TExtLogPen" redefinition C:\lazarus\lcl\lcltype.pp(2122,15) Hint: Type "EXTLOGPEN" redefinition C:\lazarus\lcl\lcltype.pp(2128,18) Hint: Type "PTextMetricW" redefinition C:\lazarus\lcl\lcltype.pp(2129,17) Hint: Type "PTextMetric" redefinition C:\lazarus\lcl\lcltype.pp(2155,20) Hint: Type "tagTEXTMETRICW" redefinition C:\lazarus\lcl\lcltype.pp(2177,19) Hint: Type "tagTEXTMETRIC" redefinition C:\lazarus\lcl\lcltype.pp(2179,18) Hint: Type "TTextMetricW" redefinition C:\lazarus\lcl\lcltype.pp(2180,17) Hint: Type "TTextMetric" redefinition C:\lazarus\lcl\lcltype.pp(2182,17) Hint: Type "TEXTMETRICW" redefinition C:\lazarus\lcl\lcltype.pp(2183,16) Hint: Type "TEXTMETRIC" redefinition C:\lazarus\lcl\lcltype.pp(2186,20) Hint: Type "TNewTextMetric" redefinition C:\lazarus\lcl\lcltype.pp(2213,20) Hint: Type "TFontSignature" redefinition C:\lazarus\lcl\lcltype.pp(2218,22) Hint: Type "TNewTextMetricEx" redefinition C:\lazarus\lcl\lcltype.pp(2223,18) Hint: Type "FontEnumProc" redefinition C:\lazarus\lcl\lcltype.pp(2226,20) Hint: Type "FontEnumExProc" redefinition C:\lazarus\lcl\lcltype.pp(2233,18) Hint: Type "PWndClassExW" redefinition C:\lazarus\lcl\lcltype.pp(2234,17) Hint: Type "PWndClassEx" redefinition C:\lazarus\lcl\lcltype.pp(2267,18) Hint: Type "TWndClassExA" redefinition C:\lazarus\lcl\lcltype.pp(2268,18) Hint: Type "TWndClassExW" redefinition C:\lazarus\lcl\lcltype.pp(2269,17) Hint: Type "TWndClassEx" redefinition C:\lazarus\lcl\lcltype.pp(2271,17) Hint: Type "WNDCLASSEXW" redefinition C:\lazarus\lcl\lcltype.pp(2272,16) Hint: Type "WNDCLASSEX" redefinition C:\lazarus\lcl\lcltype.pp(2275,16) Hint: Type "PWndClassW" redefinition C:\lazarus\lcl\lcltype.pp(2276,15) Hint: Type "PWndClass" redefinition C:\lazarus\lcl\lcltype.pp(2305,16) Hint: Type "TWndClassA" redefinition C:\lazarus\lcl\lcltype.pp(2306,16) Hint: Type "TWndClassW" redefinition C:\lazarus\lcl\lcltype.pp(2307,15) Hint: Type "TWndClass" redefinition C:\lazarus\lcl\lcltype.pp(2309,15) Hint: Type "WNDCLASSW" redefinition C:\lazarus\lcl\lcltype.pp(2310,14) Hint: Type "WNDCLASS" redefinition C:\lazarus\lcl\lcltype.pp(2330,10) Hint: Type "PMsg" redefinition C:\lazarus\lcl\lcltype.pp(2331,12) Hint: Type "tagMSG" redefinition C:\lazarus\lcl\lcltype.pp(2339,10) Hint: Type "TMsg" redefinition C:\lazarus\lcl\lcltype.pp(2360,15) Hint: Type "TIconInfo" redefinition C:\lazarus\lcl\lcltype.pp(2361,15) Hint: Type "PIconInfo" redefinition C:\lazarus\lcl\lcltype.pp(2658,17) Hint: Type "PNMListView" redefinition C:\lazarus\lcl\lcltype.pp(2659,17) Hint: Type "TNMListView" redefinition C:\lazarus\lcl\lcltype.pp(2670,17) Hint: Type "NM_LISTVIEW" redefinition C:\lazarus\lcl\lcltype.pp(1,1) Fatal: Can't find unit WSReferences used by LCLProc But then I get this Error:C:\lazarus\lcl\lclproc.pas(1,1) Fatal: Can't find unit WSReferences used by LCLProc ;_; ---------------------------------------------------------------------- captian jaster · 2010-09-05 01:41 Never mind I fixed it  I had to modify the project file..