Re: [fpc-devel] WebAssembly compilation problems - Wasm32 symbol xxx without index value error

2023-03-31 Thread Nikolay Nikolov via fpc-devel
On 3/31/23 01:19, Michalis Kamburelis via fpc-devel wrote: Thanks for the answers, I have submitted issue https://gitlab.com/freepascal.org/fpc/source/-/issues/40229 describing how to reproduce the problem. I think I fixed it. At least compilation now continues and fails later, due to lack o

Re: [fpc-devel] WebAssembly compilation problems - Wasm32 symbol xxx without index value error

2023-03-30 Thread Michalis Kamburelis via fpc-devel
Thanks for the answers, I have submitted issue https://gitlab.com/freepascal.org/fpc/source/-/issues/40229 describing how to reproduce the problem. Hopefully it can get some attention :) I would very much like to add "web" target to CGE, to be able to just run CGE games in a browser. It's going t

Re: [fpc-devel] WebAssembly compilation problems - Wasm32 symbol xxx without index value error

2023-03-30 Thread Nikolay Nikolov via fpc-devel
On 3/28/23 02:12, Michalis Kamburelis via fpc-devel wrote: Hi, We're experimenting with compiling Castle Game Engine using FPC WebAssembly target. A lot of units and classes compiled smoothly, however we hit a weird bug(s) at compiling our (big, too big!) unit X3DNodes. We get errors "Wasm32

Re: [fpc-devel] WebAssembly compilation problems - Wasm32 symbol xxx without index value error

2023-03-28 Thread Kostas Michalopoulos via fpc-devel
On 3/28/23 02:12, Michalis Kamburelis via fpc-devel wrote: We're experimenting with compiling Castle Game Engine using FPC WebAssembly target. [..] x3dcamerautils.pas(344,0) Error: Wasm32 symbol X3DFIELDS$_$TSFROTATION_$__$$_SETVALUE$TGENERICVECTOR4 without index value error FWIW i experienced

[fpc-devel] WebAssembly compilation problems - Wasm32 symbol xxx without index value error

2023-03-27 Thread Michalis Kamburelis via fpc-devel
Hi, We're experimenting with compiling Castle Game Engine using FPC WebAssembly target. A lot of units and classes compiled smoothly, however we hit a weird bug(s) at compiling our (big, too big!) unit X3DNodes. We get errors "Wasm32 symbol xxx without index value error" at the code trying to use