Recent

Author Topic: MSSQLConn  (Read 514 times)

Grahame Grieve

  • Sr. Member
  • ****
  • Posts: 365
MSSQLConn
« on: December 12, 2022, 12:33:42 am »
I've added MSSQLConn to my project. Though the IDE can find the source, it says:

fsl_tests_web.pas(38,3) Fatal: Cannot find mssqlconn used by fsl_tests_web.

it can find the other sqldb connectors, so why not mssqlconn? Something to do with aarch64-darwin? But I get lost trying to trace if that's the case, or why that's the case if it is?

Lazarus 2.2.5 (rev lazarus_2_2_4-5-g49381efd93) FPC 3.2.2 aarch64-darwin-cocoa

af0815

  • Hero Member
  • *****
  • Posts: 1291
Re: MSSQLConn
« Reply #1 on: December 12, 2022, 06:41:31 am »
The basic question is, is MSSQLConn possible on the darwin-cocoa platform ?

I found only these targets (main fpc)
Code: Pascal  [Select][+][-]
  1. Targets.DefaultOS:=[win32,win64,openbsd,netbsd,freebsd,linux,haiku,dragonfly];
in the fpmake.inc (in fpcsrc/packages/fcl-db/src/sqldb/mssql)
regards
Andreas

Grahame Grieve

  • Sr. Member
  • ****
  • Posts: 365
Re: MSSQLConn
« Reply #2 on: December 12, 2022, 08:41:07 am »
Well, it should be... I have installed freeTDS. But that line of code isn't why the compiler can't find the code?

af0815

  • Hero Member
  • *****
  • Posts: 1291
Re: MSSQLConn
« Reply #3 on: December 12, 2022, 10:06:47 am »
This from the fpmake file for creating the fcl. If freeTDS is installed or not is meaningless for this. It look it was never a tested target and the maintainer decide not to build this part of the fcl against darwin-cocoa.

If you can rebuild fpc, you can add the target darwin and recompile the fcl clean for a test. If it works, you can ask for activating the target. If it fails, bad luck or fix it.

regards
Andreas

 

TinyPortal © 2005-2018