Sign in Join

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

Mailing lists / lazarus / 2015-11

Upon rebuilding Trunk version there is an error

15 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Jamal Gabra

Hi,

After getting the recent trunk version of Laz and FPC, using fpcUP, there is an error whenever rebuilding was attempted:

singleinstance.pp(74,12) Fatal: Can't find unit singleinstance used by
CustApp

And the pointer is at this line, not sure what is wrong:

property OnServerReceivedParams: TSingleInstanceParams read
FOnServerReceivedParams write FOnServerReceivedParams;

And there is a warning before that:
Warning: Recompiling singleinstance, checksum changed for AdvancedIPC

This error appeared with the tagSize/TSize issue that was recently discussed and solved. Before that it was not there.

Win 8, Laz1.5, FPC3.1.1

Thanks

Jamal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20151120/7179ebb5/attachment.html>

Reply by email

Jamal Gabra
to Ondrej Pokorny

Run -> Clean up and Build ...

Still persist.

Ondrej Pokorny wrote 16 lines
On 20.11.2015 07:14, Jamal Gabra wrote: > Warning: Recompiling singleinstance, checksum changed for AdvancedIPC > And before Clean&Build update your Lazarus trunk. Ondrej -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Jamal -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20151120/f9c94151/attachment.html>

Reply by email

Ondrej Pokorny
to Jamal Gabra
Jamal Gabra wrote
Run -> Clean up and Build ...

Do you have the problem when compiling a custom application or Lazarus IDE?

If Lazarus IDE: Tools -> Configure "Build Lazarus" -> Clean Up -> Clean All.

Ondrej

Reply by email

Jamal Gabra
to Ondrej Pokorny

There is no problem compiling a custom application. The problem only within Lazarus IDE.

When I do:
Tools -> Configure "Build Lazarus" -> Clean Up -> Clean All

I get:
custapp.pp(21,23) Fatal: Cannot find singleinstance used by CustApp. Make sure all ppu files of a package are in its output directory. ppu in wrong directory=C:\development\fpc\units\i386-win32\fcl-base\singleinstance.ppu..

Ondrej Pokorny wrote 19 lines
On 20.11.2015 07:40, Jamal Gabra wrote: > Run -> Clean up and Build ... > Do you have the problem when compiling a custom application or Lazarus IDE? If Lazarus IDE: Tools -> Configure "Build Lazarus" -> Clean Up -> Clean All. Ondrej -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Jamal -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20151120/2600938c/attachment.html>

Reply by email

Ondrej Pokorny
to Jamal Gabra
Jamal Gabra wrote 11 lines
There is no problem compiling a custom application. The problem only within Lazarus IDE. When I do: Tools -> Configure "Build Lazarus" -> Clean Up -> Clean All I get: custapp.pp(21,23) Fatal: Cannot find singleinstance used by CustApp. Make sure all ppu files of a package are in its output directory. ppu in wrong directory=C:\development\fpc\units\i386-win32\fcl-base\singleinstance.ppu..

First, do "make clean all" with your FPC trunk, then the same with Lazarus IDE (or run Clean All&Build Lazarus from the IDE).

Ondrej

Reply by email

Jamal Gabra
to Ondrej Pokorny

make clean all with fpc is successfully done, but with lazarus, there is the same error:

(10001) PPU Loading
C:\development\fpc\units\i386-win32\fcl-base\singleinstance. ppu
(10011) PPU Source: singleinstance.pp not available (10028) Recompiling singleinstance, checksum changed for AdvancedIPC C:\development\fpc\units\i386-win32\fcl-base\singleinstance.ppu:singleinstance.p p(46,71) Fatal: (10022) Can't find unit singleinstance used by CustApp Fatal: (1018) Compilation aborted
make[2]: *** [lazbuild.exe] Error 1
make[2]: Leaving directory `C:/development/lazarus/ide' make[1]: *** [lazbuilder] Error 2
make[1]: Leaving directory `C:/development/lazarus/ide' C:\development\fpc\bin\i386-win32\make: *** [lazbuild] Error 2

Ondrej Pokorny wrote 26 lines
On 20.11.2015 07:49, Jamal Gabra wrote: > There is no problem compiling a custom application. The problem only > within Lazarus IDE. > > When I do: > Tools -> Configure "Build Lazarus" -> Clean Up -> Clean All > > I get: > custapp.pp(21,23) Fatal: Cannot find singleinstance used by CustApp. Make > sure all ppu files of a package are in its output directory. ppu in wrong > directory=C:\development\fpc\units\i386-win32\fcl-base\singleinstance.ppu.. > First, do "make clean all" with your FPC trunk, then the same with Lazarus IDE (or run Clean All&Build Lazarus from the IDE). Ondrej -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Jamal -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20151120/ca24d576/attachment.html>

Reply by email

Mattias Gaertner
to Jamal Gabra
Show quoted text 8 lines
make clean all with fpc is successfully done, but with lazarus, there is the same error: (10001) PPU Loading C:\development\fpc\units\i386-win32\fcl-base\singleinstance. ppu (10011) PPU Source: singleinstance.pp not available (10028) Recompiling singleinstance, checksum changed for AdvancedIPC

You still have an old advancedipc.ppu.

Tools / Configure Build Lazarus / Clean up / Clean all.

Then build.

Mattias

Reply by email

Jamal Gabra
to Mattias Gaertner
Tools / Configure Build Lazarus / Clean up / Clean all. Then build.

Tried that already, but Lazarus unable to complete rebuilding. It errors out as per the attached screen shot:

On Sun, Nov 22, 2015 at 9:47 PM, Mattias Gaertner <

Show quoted text 28 lines
wrote: On Fri, 20 Nov 2015 10:29:00 +0300 Jamal Gabra wrote: > make clean all with fpc is successfully done, but with lazarus, there is > the same error: > > (10001) PPU Loading > C:\development\fpc\units\i386-win32\fcl-base\singleinstance. > ppu > (10011) PPU Source: singleinstance.pp not available > (10028) Recompiling singleinstance, checksum changed for AdvancedIPC You still have an old advancedipc.ppu. Tools / Configure Build Lazarus / Clean up / Clean all. Then build. Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Jamal -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20151126/8c6b7c6b/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: error.png Type: image/png Size: 42777 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20151126/8c6b7c6b/attachment-0001.png>

Reply by email

Ondrej Pokorny
to Jamal Gabra
Jamal Gabra wrote
Tried that already, but Lazarus unable to complete rebuilding. It errors out as per the attached screen shot:

Then don't use trunk versions, use stable versions instead (FPC 3.0 and Lazarus 1.4).

Ondrej

Reply by email

Jamal Gabra
to Ondrej Pokorny

I use Last stable release side by side with Laz1.4.4+FPC3.0.1 (last fixes). Only wanted to have trunk available as well.
Anyways, Thank you Ondrej and Mattias.

Regards.

Ondrej Pokorny wrote 18 lines
On 26.11.2015 15:07, Jamal Gabra wrote: > Tried that already, but Lazarus unable to complete rebuilding. It errors > out as per the attached screen shot: > Then don't use trunk versions, use stable versions instead (FPC 3.0 and Lazarus 1.4). Ondrej -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Jamal -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20151126/1b0a87e0/attachment.html>

Reply by email

Ondrej Pokorny
to Jamal Gabra
Jamal Gabra wrote
I use Last stable release side by side with Laz1.4.4+FPC3.0.1 (last fixes). Only wanted to have trunk available as well.

Build Lazarus trunk with FPC 3.0.*. You won't have this problem.

Ondrej

Reply by email

Jamal Gabra
to Ondrej Pokorny
Build Lazarus trunk with FPC 3.0.*. You won't have this problem.

How to do that?
Tried changing the fpc dir and make Laz1.5 points to fpc3 but that did not work. How to build laz1.5 with fpc3.0?

Ondrej Pokorny wrote 17 lines
On 26.11.2015 15:21, Jamal Gabra wrote: > I use Last stable release side by side with Laz1.4.4+FPC3.0.1 (last > fixes). Only wanted to have trunk available as well. > Build Lazarus trunk with FPC 3.0.*. You won't have this problem. Ondrej -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Jamal -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20151127/de6fdd8d/attachment.html>

Reply by email

Mattias Gaertner
to Jamal Gabra
Show quoted text 5 lines
> > Build Lazarus trunk with FPC 3.0.*. You won't have this problem. How to do that?

Set "Tools / Options / Files / Compiler executable" to the new compiler (fpc.exe).
Then build.

Mattias

Reply by email