Forum > General
Compiling problem
hingedshinobi:
I can compile and run my applications when they aren't saved but as soon aas I save them and then try and compile and run them i get an error:
Fatal: Can't find unit UNIT1
even tho unit1 is running
any ideas/help?
thanks in advance
Vincent Snijders:
I have no idea at the moment.
Can you give some more details?
What is your OS? What version of lazarus (cvs or from installer package) are you using?
What are the last (+/- 20) lines of output in the console?
Vincent.
hingedshinobi:
I have Windows XP Home
the lazarus version i have is the latest one (cant remember what it is)
I dunno what the console is
Vincent Snijders:
--- Quote from: "hingedshinobi" ---I have Windows XP Home
the lazarus version i have is the latest one (cant remember what it is)
--- End quote ---
Thanks for this info. So, I asume you are using the latest binary download form sourceforge and not the current cvs version.
--- Quote ---I dunno what the console is
--- End quote ---
By console I meant the dos-box which is opened when you rin lazarus.
Alternatively you can start lazarus is a dos-box and report the last line shown in the dos-box.
hingedshinobi:
NOTE: editor options config file not found - using defaults
NOTE: miscellaneous options file not found - using defaults
NOTE: codetools config file not found - using defaults
TPascalParserTool.BuildTree B OnlyIntf=TRUE C:\Documents and Settings\Tom\My Do
cuments\Delphi\hingedshinobi messenger\hsmsn.pas
TMainIDE.DoLoadLFM AncestorClassName=TForm AncestorType=TForm
TCustomNotebook.CNNotify: unhandled NMHdr code:-552
TCustomNotebook.CNNotify: unhandled NMHdr code:-2
TCustomNotebook.CNNotify: unhandled NMHdr code:-552
TCustomNotebook.CNNotify: unhandled NMHdr code:-2
[TMainIDE.DoRunProject] A
TMainIDE.DoSaveAll
TMainIDE.DoSaveProject A SaveAs=FALSE SaveToTestDir=FALSE
TMainIDE.DoSaveProject End
[TCompiler.Compile] CmdLine="c:\lazarus\pp\bin\win32\ppc386.exe -Rintel -S2cgi
-CD -Ch8000000 -OG1p1 -gl -XD -vewnhi -l -Fu..\..\..\..\..\lazarus\lcl\units\i38
6\win32\ -Fu..\..\..\..\..\lazarus\lcl\units\i386\win32\win32\ -Fu..\..\..\..\..
\lazarus\packager\units\i386\win32\ -Fu. "-oC:\Documents and Settings\Tom\My Doc
uments\Delphi\hingedshinobi messenger\project1.exe" -dLCL "C:\Documents and Sett
ings\Tom\My Documents\Delphi\hingedshinobi messenger\project1.lpr""
TOutputFilter: "Hint: Start of reading config file c:\lazarus\pp\bin\win32\fpc.c
fg"
TOutputFilter: "Hint: Path "c:\lazarus\pp\units\win32\*\" not found"
TOutputFilter: "Hint: Path "c:\lazarus\pp\units\win32\*\" not found"
TOutputFilter: "Hint: End of reading config file c:\lazarus\pp\bin\win32\fpc.cfg
"
TOutputFilter: "Free Pascal Compiler version 1.9.3 [2004/03/02] for i386"
TOutputFilter: "Copyright (c) 1993-2004 by Florian Klaempfl"
TOutputFilter: "Target OS: Win32 for i386"
TOutputFilter: "Compiling c:\documents and settings\tom\my documents\delphi\hing
edshinobi messenger\project1.lpr"
TOutputFilter: "Fatal: Can't find unit UNIT1"
[TMainIDE.DoOpenMainUnit] A ProjectLoading=FALSE MainUnitID=0
Navigation
[0] Message Index
[#] Next page