Recent

Author Topic: i lost main form ..  (Read 4250 times)

cpalx

  • Hero Member
  • *****
  • Posts: 754
i lost main form ..
« on: August 11, 2010, 11:46:57 pm »
Hello
i as working on linux, as usual and everything goes fine. recently i installed windows in a virtualBox and i installed the same lazarus version, i opened the project and compile normal, then i opened in linux but does not compile anymore.


i tried lazbuild to compile and show me this:

ERROR: project has no main unit

then i went to Project options ant the forms are not availables even when i move to available :(

any idea?

cpalx

  • Hero Member
  • *****
  • Posts: 754
Re: i lost main form ..
« Reply #1 on: August 12, 2010, 12:35:36 am »
i don't know why happened it, i had to create a new project and add all forms again. Now works. I suppose Lazarus windows version create bad *.lpi

captian jaster

  • Guest
Re: i lost main form ..
« Reply #2 on: August 12, 2010, 03:25:52 am »
Post the code
With the program part in it :\

Troodon

  • Sr. Member
  • ****
  • Posts: 484
Re: i lost main form ..
« Reply #3 on: August 12, 2010, 04:34:05 am »
try deleting file project1.lpi and then open project1.lpr
Lazarus/FPC on Linux

 

TinyPortal © 2005-2018