MSSQLConn lazarus / 16-Databases ---------------------------------------------------------------------- Grahame Grieve · 2022-12-11 23:33 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 · 2022-12-12 05:41 The basic question is, is MSSQLConn possible on the darwin-cocoa platform ? I found only these targets (main fpc) Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i Targets.Def aultOS:=[win32,win64,openbsd,netbsd,freebsd,linux,haiku,dragonfly];in the fpmake.inc (in fpcsrc/packages/fcl-db/src/sqldb/mssql) ---------------------------------------------------------------------- Grahame Grieve · 2022-12-12 07:41 Well, it should be... I have installed freeTDS. But that line of code isn't why the compiler can't find the code? ---------------------------------------------------------------------- af0815 · 2022-12-12 09:06 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.