Recent

Author Topic: Compiling problem  (Read 6976 times)

hingedshinobi

  • Newbie
  • Posts: 4
Compiling problem
« on: March 30, 2004, 10:01:35 pm »
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

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Compiling problem
« Reply #1 on: March 31, 2004, 11:34:51 am »
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

  • Newbie
  • Posts: 4
Compiling problem
« Reply #2 on: March 31, 2004, 06:37:28 pm »
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

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Compiling problem
« Reply #3 on: March 31, 2004, 09:35:20 pm »
Quote from: "hingedshinobi"
I have Windows XP Home
the lazarus version i have is the latest one (cant remember what it is)

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

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

  • Newbie
  • Posts: 4
Compiling problem
« Reply #4 on: April 02, 2004, 04:58:26 pm »
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

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Compiling problem
« Reply #5 on: April 02, 2004, 06:57:44 pm »
Is there a unit1.pas  in C:\Documents and Settings\Tom\My Documents\Delphi\hingedshinobi messenger ?

hingedshinobi

  • Newbie
  • Posts: 4
Compiling problem
« Reply #6 on: April 02, 2004, 07:43:53 pm »
no, i guess thats the problem

thanks

 

TinyPortal © 2005-2018