#1 2015-03-21 22:48:16

vonH
Member
Registered: 2015-03-06
Posts: 17

Is the Spidermonkey library compatible with FPC?

Is the Spidermonkey library compatible with FPC?

I tried to compile it and got a lot of this errors.

SynSMAPI.pas(4466,32) Error: Illegal type conversion: "jsval" to "jsval_layout"

The message goes away I add {$MODE DELPHI}, but it creates a conflict in Synopse.inc

Synopse.inc(183,4) Error: Mode switch "DELPHI" not allowed here

I also got an error about an unknown type 'uint' which is not present is it the same as an unsigned integer, and is it architecture dependent?

SynSMAPI.pas(4015,73) Error: Identifier not found "uint"

Last edited by vonH (2015-03-21 22:53:34)

Offline

#2 2015-03-22 08:44:05

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 13,067
Website

Re: Is the Spidermonkey library compatible with FPC?

We did not test SpiderMonkey libraries - i.e. SynSM and SynSMAPI units - with FPC yet.

It now compiles.
See http://synopse.info/fossil/info/49691283f8

But it targets only under Windows yet.
You need to compile your own version of the spidermonkey library .so file, using the supplied

Offline

Board footer

Powered by FluxBB