Recent

Author Topic: Synapse installed but not accesible (solved)  (Read 10987 times)

gato2707

  • New Member
  • *
  • Posts: 42
Synapse installed but not accesible (solved)
« on: July 19, 2012, 09:42:54 pm »
Hi to all:

I am trying to use Synapse library, but when I try to compile the project using Synapse units, get next error:

Code: [Select]
Fatal: Can not find unit blcksock used by unit1. Check if package pl_synapsepkg is in the dependencies.

CodeTyphon Center and Lazarus report Synapse library is installed.

If I copy the Synapse units to proyect directory, compilation is fine.

I'm using CodeTyphon 2.7 (Lazarus 1.1 & fpc 2.7) without modifications in Ubuntu 12.04 32 bits.

Are there any way to correct this without move the source code into my project's directory?

Thanks in advance.

I wrote the same question in CodeTyphon forum, because I'm not shure if it's a Lazarus or CT situation.

Saludos desde México
« Last Edit: July 19, 2012, 10:27:04 pm by gato2707 »

KpjComp

  • Hero Member
  • *****
  • Posts: 680
Re: Synapse installed but not accesible
« Reply #1 on: July 19, 2012, 09:56:09 pm »
Not a perfect solution, but you could add the directory to the Project/Compiler Options/Paths/Other unit files (-Fu).

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: Synapse installed but not accesible
« Reply #2 on: July 19, 2012, 09:57:30 pm »
open the menu "project\project inspector", press the add button, select the New requirement tab and select the synapse package in the package name combo box and press Create New Requirement

This should solve your problem.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

KpjComp

  • Hero Member
  • *****
  • Posts: 680
Re: Synapse installed but not accesible
« Reply #3 on: July 19, 2012, 10:00:07 pm »
Quote
This should solve your problem.

I wondered where all that stuff was... 

gato2707

  • New Member
  • *
  • Posts: 42
Re: Synapse installed but not accesible
« Reply #4 on: July 19, 2012, 10:26:41 pm »
WOW.

You are really fast. It works perfect!!!

Thank you so much.

Saludos desde México.

mason-hamlin

  • Newbie
  • Posts: 1
Re: Synapse installed but not accesible
« Reply #5 on: November 06, 2012, 04:33:40 pm »
open the menu "project\project inspector", press the add button, select the New requirement tab and select the synapse package in the package name combo box and press Create New Requirement

This should solve your problem.
Taazz - thank you for saving my sanity.  It was rapidly evaporating due to the same problem with Synapse but it is now restored.  I have only just found Lazarus after a 40-year break (from programming (seriously!) and I must say that it is really rather good.

 

TinyPortal © 2005-2018