arnautdaniel / gforth-raylib Goto Github PK
View Code? Open in Web Editor NEWRaylib 3.5 bindings for Gforth. The name is backwards for obvious reasons.
Raylib 3.5 bindings for Gforth. The name is backwards for obvious reasons.
I have just installed the latest version of gforth (gforth 0.7.9_20230921) and the command
gforth example-camerafree3d.fs
gives the following error:
in file included from example-camerafree3d.fs:4:9:
raylib3.fs:1511:1: error: open-lib failed
end-c-library<<<
Backtrace:
libcc.fs:949:29: 0 $7FE66A0C9F20 throw
libcc.fs:1189:5: 1 $7FE66A0CB820 compile-wrapper-function1
with gforth 0.7.3, I have this error:
in file included from example-camerafree3d.fs:4
raylib3.fs:567: Undefined word
c-function InitWindow InitWindow n n >>>s<<< -- void ( width height title -- )
Backtrace:
$7F8E8BE58C90 throw
$7F8E8BE58D28 parse-libcc-type
$7F8E8BE5C0F8 parse-function-types
$7F8E8BE5C3A8 c-function-ft
I have installed raylib 3.5 and spent sometimes to try to fix these
problems, but I ran out of patience.
hello,
which minimal gforth version is needed to run the example?
I'm using gforth-0.7.3 and here is the result of the gforth example-camerafree3d.fs
command.
in file included from *OS command line*:-1
in file included from example-camerafree3d.fs:4
raylib3.fs:567: Undefined word
c-function InitWindow InitWindow n n >>>s<<< -- void ( width height title -- )
Backtrace:
$7F744DCF9C90 throw
$7F744DCF9D28 parse-libcc-type
$7F744DCFD0F8 parse-function-types
$7F744DCFD3A8 c-function-ft
I've previously installed raylib as required in the readme
Hello
I tried using this library, apparently so many changes happened since this was created, change in:
I'm new to forth, is it easier to regenerate the lib based on raylib.h or change the resulting raylib3.fs is easier?
I tried generating it using swig but I saw maaany errors that I didn't know how to fix
I hope somebody has some time to update the codes
Hello, I'm trying to update the bindings to the last version; could you share the .i and -fsi.c files? I don't have any experience in making that kind of bindings, and I'm a bit confused by the whole thing.
Otherwise, got your original binding working; thank you so much for your hard work on this!
Hi,
When we enter the components of a vector2, we have to reverse
the order, while for vector3, it is, I suppose, as expected.
10e 20e >vector2 ok 1
vector2> ok f:2
f.s <2> 2.0000000000E1 1.0000000000E1 ok f:2
10e 20e 30e >vector3 ok 1
vector3> ok f:3
f.s <3> 1.0000000000E1 2.0000000000E1 3.0000000000E1 ok f:3
brd
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.