Who created that WindowsSpecialFolders unit?
You'll need to create equivalent functions for the Mac (you can use IFDEFs to separate the code to keep using just one unit).
Motto of lazarus is " Write once compile everywhere" .... why do you tell me it can't work?
Of course. But you do need to write with cross-platform in mind. You can't use special Windows-calls and expect it to work on a Mac. The Mac doesn't have a C-drive, does it? It has a lot of things different from Windows. So you need to write some code which takes into account it can run on different platforms.
I'm now trying to install all components and I have problem with two : eye candy control and pl_synapsevs...
pl_synapsevs??? Are you using Lazarus or CodeTyphon?
I don't think we have pl_ units in Lazarus, do we?
Not sure if eye candy is Mac compatible.
Edit: Apparently it is.
https://forum.lazarus.freepascal.org/index.php?topic=50053.15But you'll need to provide a lot more information than "it doesn't work". All that information is needed for someone to direct you in the right direction.
What version of Lazarus are you using?
What kind of Mac are you using (new M1 or Intel)?
Etc.
And if you are using CodeTyphon it might be best to ask on their forum (or switch to Lazarus).