Sign in Join

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

Mailing lists / lazarus / 2013-06

synapse and lazarus, compiled error

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Johan Tu Toit

Hi Dear,

I copied synapse in my source code project library and configured the path search under menu as follow Tools/Options/CodeTools as shown on the image attached, and called the unit httpsend.

During the compilation time, I received this above error:

browse.pas(22,32) Fatal: Can not find unit httpsend used by browse.

This link explain how to use the synapse classes under lazarus: http://synapse.ararat.cz/doku.php/public:howto:installsynapse

May you please assist me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130626/0fd24381/attachment-0001.html> -------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2013-06-26 08:38:56.png
Type: image/png
Size: 67561 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130626/0fd24381/attachment-0001.png>

Reply by email

Mattias Gaertner
to Johan Tu Toit

?

Show quoted text 8 lines
Johan Tu Toit hat am 26. Juni 2013 um 12:49 geschrieben: ? Hi Dear, ? I copied synapse in my source code project library and configured the path search under menu as follow Tools/Options/CodeTools as shown on the image attached, and called the unit httpsend.

That is only passed to codetools, not for the compiler. I'm pretty sure in the past it contained that hint. This option was added as a workaround years ago, when the IDE was not able to find source files in the default fpc.cfg unit paths. I will remove this atavism.

Show quoted text 6 lines
? During the compilation time, I received this above error: ? browse.pas(22,32) Fatal: Can not find unit httpsend used by browse. ? This link explain how to use the synapse classes under lazarus: ? <http://synapse.ararat.cz/doku.php/public:howto:installsynapse>

This page is ancient (0.9.12) and even then it was incomplete.

? ?

? May you please assist me.

Synapse does not provide a Lazarus package (.lpk file). So it is a little unusual:
?
Download synapse39.zip, extract it to some folder <F>, add <F>/source/lib to either

Project / Project Options / Compiler Options / Paths / Other Unit files

OR

/etc/fpc.cfg
After editing fpc.cfg click on Tools / Rescan FPC source directory.

Mattias

Reply by email

Michael Van Canneyt
to Mattias Gaertner
Mattias Gaertner wrote 8 lines
? ? ? > ? May you please assist me. Synapse does not provide a Lazarus package (.lpk file). So it is a little unusual:

Of course it does, at least as of version 40, source/lib/laz_synapse.lpk

Michael.

Reply by email