Where can I get a Recent-Git-Build of FreeBASIC?

For other topics related to the FreeBASIC project or its community.
fxm
Moderator
Posts: 10448
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Postby fxm » May 19, 2021 4:45

The builds (fbc and manual) seem to be stuck (at https://users.freebasic-portal.de/stw/builds/)
St_W
Posts: 1518
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Postby St_W » May 24, 2021 14:23

I fear the build machine is unavailable at the moment, not sure about the reason, will have to have a look on-site.
D.J.Peters
Posts: 8301
Joined: May 28, 2005 3:28
Contact:

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Postby D.J.Peters » May 25, 2021 0:28

St_W wrote:I fear the build machine is unavailable at the moment, not sure about the reason, will have to have a look on-site.
of course the build machine is in home office :-)

Joshy
fxm
Moderator
Posts: 10448
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Postby fxm » May 25, 2021 13:43

I regularly use these daily builds (fbc and manual) to immediately validate and document the various fbc code changes without waiting for the moment of the official release.
adeyblue
Posts: 78
Joined: Nov 07, 2019 20:08

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Postby adeyblue » May 25, 2021 19:06

Isn't this the sort of thing github should be kicking off automatically when new changes are merged? It seems like it already does some sort of build when you make a pull request, and I've definitely seen repos where the builds for each change are saved on appveyor for a month(a random example)

I don't know how to set it up or anything, nor if its actually suitable but if there are issues with the current method, might be worth a look?
St_W
Posts: 1518
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Postby St_W » May 30, 2021 10:42

adeyblue wrote:Isn't this the sort of thing github should be kicking off automatically when new changes are merged? It seems like it already does some sort of build when you make a pull request, and I've definitely seen repos where the builds for each change are saved on appveyor for a month(a random example)

I don't know how to set it up or anything, nor if its actually suitable but if there are issues with the current method, might be worth a look?

Ideally yes, that's the way to go. I already mentioned several options in some posts earlier in this thread. The thing is that the build environment needed for fbc is not really something standard, so there's no suitable build machine available from the big CI solution providers. We already have automated Linux builds, because there the build-env is rather simple to set up. And of course some exotic things like MS-DOS or *BSD builds can only be cross-compiled at best (if a cross-compiler is available on a supported platform) as no CI solution provider offers those platforms.
fxm
Moderator
Posts: 10448
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Postby fxm » Jun 13, 2021 8:23

Restarted in manual mode?
Because no builds this morning for the last two changes (fbc and manual):
- github #315: set parameters when calling SCREENCONTROL (was broken in fbc 1.08.0 due to new LONG/LONGINT SCREENCONTROL API's)
- ProPgProcedurePointers → fxm [formatted for .chm]
fxm
Moderator
Posts: 10448
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Postby fxm » Jun 14, 2021 6:01

Now it is OK.
Buildings including in addition:
- github #318: duplicate definition for deleting destructor; the deleting destructor was being emitted even though the class was declarations only on the fbc side
angros47
Posts: 1889
Joined: Jun 21, 2005 19:04

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Postby angros47 » Jun 14, 2021 19:35

Great! It seems to finally work as intended. Perhaps now using some C++ libraries should be possible
D.J.Peters
Posts: 8301
Joined: May 28, 2005 3:28
Contact:

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Postby D.J.Peters » Jun 14, 2021 23:21

angros47 wrote:Great! It seems to finally work as intended. Perhaps now using some C++ libraries should be possible
I have tried before with wxWidget,FLTK, QT, OGRE, IrrLicht, TrueAxis, Tokamak, PhysicsX etc. but on end I have to began from start again with hard coded C wrappers :-(

How do you will hack the missing friend references and solve the missing support for classA extends classB extends classC ?

How ever would be cool to have some working interfaces for high quality open source C++ libraries.

Joshy
angros47
Posts: 1889
Joined: Jun 21, 2005 19:04

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Postby angros47 » Jun 15, 2021 17:48

I understand. Last year I tried with FLTK, and got decent results, until I encountered that bug. Actually, there was a workaround (making a dummy method in the declare), but it was better to just wait for the bug fix (in the past, most software were developed using workarounds and tricks like that: that's why old software is sometimes so difficult to port, and emulators have to emulate bugs as well)

Anyway, this issue is not just a problem of FreeBasic. Other OOP languages (besides C++ itself) have the same issues. I think that this page, about the D language, explains it pretty well: https://dlang.org/spec/cpp_interface.html

I think it's not unrealistic for FreeBasic to keep the same level of compatibility
D.J.Peters
Posts: 8301
Joined: May 28, 2005 3:28
Contact:

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Postby D.J.Peters » Jun 16, 2021 23:38

The daily builds are not fixed fbc 1.08.0 instead it's 1.09.0 (the dreamer/far away future version runtime written in FreeBASIC) !
That means we have only a 1.07.2 stable version but never get a 1.08.0 stable version right ?

Joshy
coderJeff
Site Admin
Posts: 3534
Joined: Nov 04, 2005 14:23
Location: Ontario, Canada
Contact:

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Postby coderJeff » Jun 19, 2021 12:33

D.J.Peters wrote:The daily builds are not fixed fbc 1.08.0 instead it's 1.09.0 (the dreamer/far away future version runtime written in FreeBASIC) !
That means we have only a 1.07.2 stable version but never get a 1.08.0 stable version right ?


1.07.3 (full release) fixes 2 bugs from 1.07.2

The bugs reported from 1.08.0 release are being fixed in 1.08.1 (fbc-1.08) and merged in to 1.09.0 (master). Right now, 1.08.1 and 1.09.0 are the same -- other than the version number.
fxm
Moderator
Posts: 10448
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Postby fxm » Jul 27, 2021 8:36

@St_W,

No more builds (https://users.freebasic-portal.de/stw/builds/) for the last changes (fbc and manual).

Return to “Community Discussion”

Who is online

Users browsing this forum: No registered users and 5 guests