Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-02 Thread Sven Barth via fpc-pascal
Ryan Joseph schrieb am Do., 3. Mai 2018, 04:54: > Can someone put a simple guide to building on the wiki? I tried to build > from my existing FPC sources and got this error. I never got UNIX down well > so I don’t know what else I’m supposed to do besides cd to the

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-02 Thread Ryan Joseph
Can someone put a simple guide to building on the wiki? I tried to build from my existing FPC sources and got this error. I never got UNIX down well so I don’t know what else I’m supposed to do besides cd to the directory and use the “make” command. Uploading a stable binary would be nice also

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-02 Thread Ryan Joseph
> On May 2, 2018, at 11:36 PM, Sven Barth via fpc-pascal > wrote: > > It's "Typename = class external name 'foobar' (Basetype)", not "class > Typename = external name 'foobar' (Basetype)". We're not in C++ after all :P > > public > const READ_BUFFER:

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-02 Thread Sven Barth via fpc-pascal
Ryan Joseph schrieb am Mi., 2. Mai 2018, 15:57: > > class TJSWebGL2RenderingContextBase = external name > 'WebGL2RenderingContextBase' (TJSObject) > It's "Typename = class external name 'foobar' (Basetype)", not "class Typename = external name 'foobar' (Basetype)".

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-02 Thread Ryan Joseph
> On May 2, 2018, at 6:20 PM, Michael Van Canneyt > wrote: > > Yes: You posted the link to 1.0. I think it’s actually an extension to the original so nothing was lost. The original didn’t have vertex array objects so it’s best to have both.

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-02 Thread Michael Van Canneyt
On Wed, 2 May 2018, Ryan Joseph wrote: On May 2, 2018, at 5:28 PM, Mattias Gaertner wrote: What is the difference to the existing webgl.pas? It’s missing a couple types and missing comments. :) I can fix that of course and works for other .idl’s also I

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-02 Thread Mattias Gaertner
On Wed, 2 May 2018 16:28:10 +0700 Ryan Joseph wrote: > > On May 2, 2018, at 2:08 PM, Michael Van Canneyt > > wrote: > > > > Yes. the fpmkunit needs to be the latest version, for the AddLibrary call. > > I will see if I can work around it.

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-02 Thread Ryan Joseph
> On May 2, 2018, at 2:08 PM, Michael Van Canneyt > wrote: > > Yes. the fpmkunit needs to be the latest version, for the AddLibrary call. I > will see if I can work around it. So I need to build the entire compiler and I get pas2js in the end? I didn’t realize it

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-02 Thread Michael Van Canneyt
On Wed, 2 May 2018, Ryan Joseph wrote: On May 2, 2018, at 1:24 PM, Michael Van Canneyt wrote: It will only work with trunk. trunk of what? Do mean the entire fpc sources? Yes. the fpmkunit needs to be the latest version, for the AddLibrary call. I will see if

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-02 Thread Ryan Joseph
> On May 2, 2018, at 1:24 PM, Michael Van Canneyt > wrote: > > It will only work with trunk. trunk of what? Do mean the entire fpc sources? cd /Users/ryanjoseph/Downloads/pas2js ls Makefilecompilerfpmake.pp utils Makefile.fpcdemo

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-02 Thread Michael Van Canneyt
On Wed, 2 May 2018, Ryan Joseph wrote: On May 2, 2018, at 8:18 AM, Ryan Joseph wrote: On Mac cd’ing to the directory and using make gives this error: /usr/local/bin/ppc386 fpmake.pp -n Fatal: Can't find unit system used by fpmake Fatal: Compilation aborted