Recent

Author Topic: [SOLVED] Cannot run "Image_Mushrooms"  (Read 2533 times)

Hopestation

  • Full Member
  • ***
  • Posts: 181
[SOLVED] Cannot run "Image_Mushrooms"
« on: December 28, 2015, 03:09:32 pm »
Hi.

I have Lazarus version 1.4.4, FPC version 2.6.4, SVN Revision 49931, on a Windows10 64 bit PC.

Up to now I have used TDBF for database applications and decided it was time to try SQL.

I tried to run the Lazarus/Examples/Database/ "Image_Mushrooms". I assumed that this would be a full example, ready to run, but unfortunately it's not.

As soon as I tried to start I got a message saying that I  didn't have SQLite3.dll so I searched my C: drive and found a long list of options. I chose the copy in XAMPP/MercuryMail, and added this into my project filepath.

Then I got a message saying this dll didn't include a client library. I have also had messages saying that I need fbclient.dll, gds32.dll and fbembed.dll.

I have checked the Project directory and there is no document explaining how to get this to work.

Can anyone help?

Thanks
« Last Edit: December 31, 2015, 11:57:10 am by Hopestation »

Jurassic Pork

  • Hero Member
  • *****
  • Posts: 1228
Re: Cannot run "Image_Mushrooms"
« Reply #1 on: December 28, 2015, 04:33:05 pm »
hello,

for sqlite3 :
1 - Download the last version here
2 - Choose the file sqlite-dll-win32-x86-3090200.zip if you compile 32 bits exec , Choose the file sqlite-dll-win64-x64-3090200.zip if you compile 64 bits exec.
3 - put the file sqlite3.dll (inside of the zip) in your exec folder.

for firebird embedded :
1 - Download the last version here
2 Choose the file Firebird-2.5.5.26952-0_Win32_embed.zip  if you compile 32 bits exec , Choose the file Firebird-2.5.5.26952-0_x64_embed.zip if you compile 64 bits exec.
3 - unzip all the dll files (inside the zip file) in your exec folder.

it's OK for me  with  Lazarus 1.6RC1  32 bits , windows 7 64 bits, sqlite 3.9.2  32 bits, firebird embedded 2.5.5  32 bits

Friendly, J.P

« Last Edit: December 28, 2015, 04:35:08 pm by Jurassic Pork »
Jurassic computer : Sinclair ZX81 - Zilog Z80A à 3,25 MHz - RAM 1 Ko - ROM 8 Ko

Hopestation

  • Full Member
  • ***
  • Posts: 181
Re: Cannot run "Image_Mushrooms"
« Reply #2 on: December 29, 2015, 09:59:59 pm »
Thanks for your reply.

I have downloaded the files and I'm ready to unzip them but I don't know what you mean by my exec folder. Can you help further, please?

Thanks

Jurassic Pork

  • Hero Member
  • *****
  • Posts: 1228
Re: Cannot run "Image_Mushrooms"
« Reply #3 on: December 29, 2015, 10:37:21 pm »
hello,
exec folder --> where your compiled .exe file is ( target output directory)
Jurassic computer : Sinclair ZX81 - Zilog Z80A à 3,25 MHz - RAM 1 Ko - ROM 8 Ko

Hopestation

  • Full Member
  • ***
  • Posts: 181
Re: Cannot run "Image_Mushrooms"
« Reply #4 on: December 30, 2015, 11:24:32 am »
Thanks again.

I'll do that, but won't it make it specific to this project?

I was expecting that it would go somewhere in the Lazarus folder to make it available to other projects.

Have I missed something here?

Jurassic Pork

  • Hero Member
  • *****
  • Posts: 1228
Re: Cannot run "Image_Mushrooms"
« Reply #5 on: December 30, 2015, 11:35:33 am »
hello,
if you want to have sqlite3 and firebird embedded available for all the projects on your computer,
on a 32 bits windows O.S :
put the 32 bits dlls in c:\windows\system32

on a 64 bits windows 0.S :
put the 32 bits dlls in c:\windows\wow64  (WoW64 = Windows 32-bit on Windows 64-bit)
put the 64 bits dlls in c:\windows\system32

Friendly, J.P
Jurassic computer : Sinclair ZX81 - Zilog Z80A à 3,25 MHz - RAM 1 Ko - ROM 8 Ko

Hopestation

  • Full Member
  • ***
  • Posts: 181
Re: [SOLVED] Cannot run "Image_Mushrooms"
« Reply #6 on: December 31, 2015, 11:58:08 am »
Thanks.

I hope I won't have to ask any more questions.

 

TinyPortal © 2005-2018