|
Post by n00b on Sept 30, 2022 13:20:24 GMT -6
RCBasic v3.19 is up. This new release contains a number of bug improvements and some new features. These are the major changes: - Ability to execute files that are not part of a project
- New preference dialog in the editor
- Code completion
- New DrawGeometry() Function
- String comparison now does greater and less than
- Fixed distribute tool errors related to not finding project directories
- Fixed android build process
- Improved the install process on linux
- All functions now work in 32-bit linux
- Fixed output binary on Mac_OS builds
You can grab the latest release on the itch.io page. n00bcode.itch.io/rcbasic-basic-programming-language-for-gamesIMPORTANT: If you are on 64-bit linux, you need to be running a fairly modern version of your distro. If you are running a version of your distro released within the last year you should be good to go.
|
|
|
Post by johnno56 on Sept 30, 2022 19:34:14 GMT -6
Cool... Will install and let you know how things went... Thank you for all the hard work. Much appreciated!
J
|
|
|
Post by johnno56 on Sept 30, 2022 20:18:42 GMT -6
Ok. My installation completed successfully. Compiling is another story...
Compiled two programs, that worked with "3.18", received the following messages:
rcbasic_build: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by rcbasic_build) rcbasic_build: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by rcbasic_build) rcbasic_build: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by rcbasic_build)
My release date for Linux Mint 20.3 (current OS) is 7-Jan-22.
I am in the process of upgrading to Linux Mint 21. When done, I will install "3.19", then let you know how it went. Could take a day or so. Upgrades, for me anyway, can take that long... lol I just checked LM 21 and it uses glibc_2.36... Hopefully that will fix the problem?
J
|
|
|
Post by johnno56 on Sept 30, 2022 22:18:05 GMT -6
UPDATE:
LM21 installation completed. RCBasic / Geany also installed. RCBasic 3.19 running without error so far. The majority of the libraries in the install.sh script needed to be installed before RCB could compile/run via Geany.
RCB Studio failed to run. Produced an error: "./rcbasic_studio: error while loading shared libraries: libwx_gtk3u_stc-3.0.so.0: cannot open shared object file: No such file or directory"
There is still much to do before my system is fully operational.
|
|
|
Post by johnno56 on Sept 30, 2022 22:26:18 GMT -6
The package 'libwxgtk3.0-dev" was changed to "libwxgtk3.0-gtk3-dev". New package installed ok. RCBasic Studio now runs... Next step is compiling etc...
|
|
|
Post by n00b on Oct 1, 2022 16:31:30 GMT -6
johnno56 If you ran studio from the menu in Linux Mint 21 it should have worked. I did all my test on a fresh install of Linux Mint 21 for this release and it ran without any issues. I was also able to build all the demos for android on that machine.
|
|
|
Post by johnno56 on Oct 1, 2022 22:11:48 GMT -6
The menu was my first attempt. I then used the terminal to discover the library error. With the new library installed, Studio ran fine. Quick question. When did you do the fresh install of LM21? I downloaded my copy of LM21 on the 24th Sept. Trying to figure out if the new library was released after the 24th... It's a theory...
Now running with LM20.3 to catch up on stuff I could not get done yesterday. Will fire up LM21 later today and attempt a possible Android build....
|
|
|
Post by johnno56 on Oct 2, 2022 12:35:40 GMT -6
I may have to hold off on upgrading to 3.19 even though 3.19 works fine... I think the new Linux kernel may be approaching the limits of my hardware. There are several key components of the system that either do not function or do not function properly. I will attempt to install a 'lighter' kernel version and try again. Or it could simply mean that my old machine is just getting too old... lol
J
|
|
|
Post by tbird on Oct 2, 2022 13:05:10 GMT -6
n00b excuse my ignorance but do I need to set anything up for distributing to windows from inside windows it errors out.
|
|
|
Post by tbird on Oct 2, 2022 13:09:37 GMT -6
I'll get this on my Linux box as well and give it a go, sorry for the lack of details I forgot the error message will post when I get back tonight.
|
|
|
Post by n00b on Oct 2, 2022 16:52:42 GMT -6
johnno56 I will see if I can backport some of the changes to an older linux distro but I probably won't be able to get all of them because I am using later versions of SDL2 which isn't available on older distros. I might be able to get some of the new features in the editor backported. tbird When you get a chance can you give me a detailed error summary. I just downloaded the windows version and tried the dist tool and it seems to be working fine but I only have my computer to test it on though.
|
|
|
Post by johnno56 on Oct 2, 2022 18:07:02 GMT -6
No. It's ok. I will run with 3.18 until I can sort out the LM21 problem. I am hoping that it will not take too long. I re-installed LM21. Before doing anything else, installed RCB/Geany/JDK and AndroidSDK, all of which installed without error. Studio ran 'out of the box'. Still yet to try the RC Builds. So far, LM21, is behaving itself. It would be easier to fix my LM21 issues than for you to go through any 'backporting'. Might be best to hold off for now...
One minor point about Geany. Ran the file to configure Geany for RC and the Compile, Keygen, Distribute and Execute commands were all 'windows' locations. Other than that RC ran via Geany without issue.
I have not had a coffee since 05:30am. It is 11:00am and I am "running on fumes"...
|
|
|
Post by tbird on Oct 2, 2022 21:53:04 GMT -6
n00b ok I just tried and it won't compile anymore..which is odd because it did the first time I tried it. It errors out on the 1st Include.
Screen_Width = 1920 Screen_Height = 1080
WindowOpen(0, "SpaceBound_Test_01", 0, 0, Screen_Width, Screen_Height, 2, 1) CanvasOpen(0, Screen_Width, Screen_Height, 0, 0, Screen_Width, Screen_Height, 0) Canvas(0)
DIM playerID DIM enemyShipID DIM eShotSceneID DIM eShotMainID DIM crossHairID DIM eShotSpd
Include "TB_Globals.bas" Include "TB_SoundEngine.bas" Include "TB_AnimEngine.bas" Include "TB_CollisionEngine.bas" Include "TB_Entity.bas" Include "TB_GameLib.bas" Include "TB_PlayerControl.bas" Include "TB_ShotController.bas" Include "TB_Camera.bas" Include "TB_UpdateEngine.bas" Include "enemyAI.bas" It works perfect in Geany using 3.19...I am going to tinker a bit more, the odd thing is it compiled the first time I opened the editor......will report back soonish I hope.
|
|
|
Post by tbird on Oct 2, 2022 22:07:15 GMT -6
Question does the old method of distributing still work? That was far simpler and seemed more straightforward.
I Created a project using the shadow of the beast demo, it said successful on a win64 distribute. Will not run. I tried putting the assets in every directory/sub-directory of the created folder and it wont run. I am probably missing something??
|
|
|
Post by tbird on Oct 2, 2022 22:18:07 GMT -6
Ok I got my project to compile and run! no Idea on what to after the distribute, but I see there is still the instructions for the old way to distribute program so I'm good.
|
|