Forum > Windows (32/64)

lazarus under Win2k

(1/3) > >>

Guest:
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:
This has been recently fixed. Please cvs update your copy of lazarus and retry.

HTH,

Micha.

Guest:
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:

--- 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'
--- End quote ---


It should have been looking for project1.exe
Please, can you enter this as bug in our bug tracking system

vrs:
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.

Navigation

[0] Message Index

[#] Next page

Go to full version