Recent

Author Topic: Zeos Debugger error  (Read 6861 times)

freddynerk

  • Jr. Member
  • **
  • Posts: 96
Zeos Debugger error
« on: August 30, 2009, 04:21:44 pm »
I have read the previous posts on this.
I am also getting the same results.

I was having a look at laguna's Codice Fiscale program.
It uses Zeos and sqlite-3
The program will compile without errors,
however, when run from within lazarus a debugger error comes up.

Ooops, the debugger entered the error state etc.

The program runs fine when launched as a program.

Has anyone any ideas.

Also, being new to sqlite, how do you create the database and create fields etc.
Is there a Wiki on this subject or some easy examples that anyone has seen.

Tom

laguna

  • Sr. Member
  • ****
  • Posts: 329
Re: Zeos Debugger error
« Reply #1 on: August 30, 2009, 06:36:56 pm »
My solution is for MacOsX indeed verify the presence of Darwin and otherwise step instruction in the old Unix
file ZPlainSqlite3.pas
zconnection->Protocol=Sqlite-3

Code: [Select]
  WINDOWS_DLL_LOCATION = 'sqlite3.dll';
  {$ifdef Unix}
       {$ifdef Darwin}
            // Darwin is the base OS name of Mac OS X
            LINUX_DLL_LOCATION = 'libsqlite3.0.dylib';
       {$else}
            // All Unix like
            LINUX_DLL_LOCATION = 'libsqlite3.so';
       {$endif}
  {$endif}


freddynerk

  • Jr. Member
  • **
  • Posts: 96
Re: Zeos Debugger error
« Reply #2 on: September 02, 2009, 10:01:26 am »
I have checked the File and yes it does have the check for libsqlite3.0.dylib

I did a search for this and found them in Developer/sdks etc.

Any more ideas.

Tom

freddynerk

  • Jr. Member
  • **
  • Posts: 96
Re: Zeos Debugger error
« Reply #3 on: September 04, 2009, 06:30:58 am »
Has anyone any ideas.
It is a pain having to minimize Laxarus each time you want to
test the program.
BTW It does not come up with any errors when running.
(well a few but they are my making)

Tom

 

TinyPortal © 2005-2018