Recent

Author Topic: lazarus under Win2k  (Read 18304 times)

Guest

  • Guest
lazarus under Win2k
« on: October 30, 2003, 02:05:33 am »
Going around in circles, have installed fpc, ran hello world example, upgraded cygwin1.dll, got lazarus via cvs, ran make for lazarus, can open the ide but when trying to put a button on a form and put something into the onclick event, getting nowhere ?

In the dos window that started lazarus I get :

TOutputFilter: "testcompileroptions.pas(1,1) Fatal: Syntax error, BEGIN expected but end of file found"

In the lazarus message box, I get :
K:\pp\source\rtl\win32\sysutils.pp(27,5) Error: include file not found "sysutilh.inc"
have found the folder that this file is in and within the compiler options for the project, set Include Files to k:\pp\source\rtl\objpas.

Any suggestions ?

thanks,

Chris

neli

  • Jr. Member
  • **
  • Posts: 86
lazarus under Win2k
« Reply #1 on: October 31, 2003, 10:03:20 pm »
This has been recently fixed. Please cvs update your copy of lazarus and retry.

HTH,

Micha.

Guest

  • Guest
lazarus under Win2k
« Reply #2 on: November 01, 2003, 12:06:23 am »
Thanks for the info, I've been trying the cvs update for the last couple of days, found another web site which mentioned :

windres -i lazarus.rc -o lazarus.res
and
make clean all {had previously only used make}

and now it doesn't fall over in the same place, also can't run the project from the IDE, after cmpilation when trying to run, the messages box says 'project "project1" successfully built. ;)', but then get a popup window with the title "File not found" and the message 'No program file "K:\pp\work\project1" found' - also there is a button but no text on it with this error - am i missing some path somewhere. so I run the exe directly (I can find it in the same path!)... when I compile a small app with a memobox and a button, it crashes the IDE when I move the window of the application that is running.

If anyone recognises these problems and there is a fix pls let me know, otherwise, think that when I can get around to it, I'll get a linux box back running and try it again, see if that's any more reliable.

thanks,

Chris
P.S. I understand that this is a beta version and am persevering because I think that this project is such a great idea.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2584
Re: lazarus under Win2k
« Reply #3 on: November 03, 2003, 12:07:48 pm »
Quote from: "Guest"
after cmpilation when trying to run, the messages box says 'project "project1" successfully built. ;)', but then get a popup window with the title "File not found" and the message 'No program file "K:\pp\work\project1" found'


It should have been looking for project1.exe
Please, can you enter this as bug in our bug tracking system
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

vrs

  • New Member
  • *
  • Posts: 25
lazarus under Win2k
« Reply #4 on: November 03, 2003, 03:12:00 pm »
I have looked before to why there is no .exe appended the executable and tracked it down to line
1374 of  compileroptions.pp
      if fTargetOS = 'win32' then
Change this to
      if fTargetOS = 'Win32' then
and lazarus starts looking for project1.exe.

I didn't sumit a patch before, because debugging is not supported, so I could start the app as well by clicking on it in the explorer or executing it in a dos box.

Vincent.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2584
lazarus under Win2k
« Reply #5 on: November 03, 2003, 11:29:46 pm »
Fixed
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Anonymous

  • Guest
lazarus under Win2k
« Reply #6 on: November 06, 2003, 05:32:41 pm »
Thanks Everyone for the help !

Chris

Anonymous

  • Guest
lazarus under Win2k
« Reply #7 on: November 08, 2003, 01:01:48 am »
I just pulled the latest CVS version and I see that the line has been changed to use CompareText instead of '=', but I'm seeing the same error message: "No program file "C:\temp\project" found." with a blank button.

I'm also seeing numerous GUI problems involving painting.  Are these normal? This is the first time I've run Lazarus so I don't really know at what state of development it is.

vrs

  • New Member
  • *
  • Posts: 25
lazarus under Win2k
« Reply #8 on: November 08, 2003, 01:02:57 pm »
Quote from: "Anonymous"
I just pulled the latest CVS version and I see that the line has been changed to use CompareText instead of '=', but I'm seeing the same error message: "No program file "C:\temp\project" found." with a blank button.


Sorry, that I suggested it would work after the fix Mark made.

I have to research it a bit more, to solve it. For now, you might want to ty to set the target file name in  the projects options dialog, you can find in the projects menu.

Lazarus under windows I would call pre-beta, but getting better each day. Problems with gui are to be expected for now.

Vincent.

JazeSage

  • Newbie
  • Posts: 2
lazarus under Win2k
« Reply #9 on: December 09, 2003, 12:50:16 am »
Does lazarus really work on windows? There isn't a published download - the links for the CVS are busted... Can anyone help?  
Thanx!

Anonymous

  • Guest
lazarus under Win2k
« Reply #10 on: December 09, 2003, 08:56:31 am »
No, it doesn't really work yet. That doesn't mean it doesn't work at all. But there are quite a lot of major and minor glitches, which make lazarus akward to work with on windows.

The full source snapshot regularly updated from cvs is located at ftp://ftp.freepascal.org//pub/fpc/snapshot/lazarus/lazarus.zip. This might be difficult to connect, because it has some restrictions on the number of concurrent connections. You can also try one of the fpc-mirrors. For more info on mirrors see: http://www.freepascal.org/links.html.

What problems do you have with accessing the source code with cvs?

Vincent.

 

TinyPortal © 2005-2018