Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-03

Lazarus for education bugfix

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Rainer Hamann

I'm running Lazarus on Linux, so I set up compiler options to e.g. $(LazarusDir) /ide/include/linux/ instead of
$(LazarusDir)/ide/include/$(TargetOs). Bugfix is uploaded. I hope, that it is running.

Rainer Hamann

Reply by email

Rainer Hamann
to Rainer Hamann
Rainer Hamann wrote 9 lines
<div class="moz-text-flowed" style="font-family: -moz-fixed">I'm running Lazarus on Linux, so I set up compiler options to e.g. $(LazarusDir) /ide/include/linux/ instead of $(LazarusDir)/ide/include/$(TargetOs). Bugfix is uploaded. I hope, that it is running. Rainer Hamann </div>

1) MainIDE.SetupStartProject must be moved from section "protected" to section "public".

2) Laz4edu compiles on Windows, but linking fails :

Compiling resource lazarus.rc
c:\lazarus\fpc\2.2.0\bin\i386-win32\windres.exe: no resources laz4edu.pp(115,1) Error: Error while linking

Why?

Rainer Hamann

Reply by email

Howard Page-Clark
Rainer Hamann wrote 5 lines
Compiling resource lazarus.rc c:\lazarus\fpc\2.2.0\bin\i386-win32\windres.exe: no resources laz4edu.pp(115,1) Error: Error while linking Why?

I made the change from protected to public you suggested, and then got this to link (under WinXP) by copying lazarus.rc and lazarus.manifest from the $(LazarusDir)/ide/ subdirectory into the project directory. I also commented out line 83 of laz3edu.pp (setting a path to '~/.laz4edu') which otherwise gave an error under Windows.

Howard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080326/e729d26f/attachment.html

Reply by email