Recent

Author Topic: fpc : does not support target x86_64-browser  (Read 2345 times)

mangakissa

  • Hero Member
  • *****
  • Posts: 1131
fpc : does not support target x86_64-browser
« on: June 12, 2020, 01:50:21 pm »
I'm trying to look at pas2js (again). This time I downloaded and installed Lazarus 2.08 / fpc 3.04. But a lot of demo's / examples are only working with fpc 3.1.1 an above. So I downoaded an compiled fpc 3.2 with fpdeluxe. These files (including the source) are copied to ($lazarus)/fpc/3.2.0. I told lazarus IDE where to find the compiler.

Now i'm loading demo from ($projects)\pasjs\demo\fcldb\demoload.lpi. But when it's loaded the IDE comes with message
Quote
Compiler "C:\lazarus_208_64\fpc\3.2.0\bin\x86_64-win64\fpc.exe" does not support target x86_64-browser

What does it means and how do I solve this.
Lazarus 2.06 (64b) / FPC 3.0.4 / Windows 10
stucked on Delphi 10.3.1

ps

  • Full Member
  • ***
  • Posts: 136
    • CSS
Re: fpc : does not support target x86_64-browser
« Reply #1 on: June 12, 2020, 06:48:15 pm »
you must setup support for ps2js. See this page: https://wiki.freepascal.org/lazarus_pas2js_integration
Small simple CSS/box model implementation: https://github.com/pst2d/csscontrols/tree/dev

 

TinyPortal © 2005-2018