|
Post by johnno56 on Feb 24, 2023 16:25:18 GMT -6
n00bI had to rebuild by system the other day and came across some issues with RC... First, it gave messages about missing libraries, then I remember to install the libraries listed in the install.sh file... Those errors disappeared.... RC compiles without error but when I run a program I get, "symbol lookup error: /home/john/Programs/rcbasic/rcbasic: undefined symbol: SDL_RenderGeometry" I do not know how to fix this one and i m not sure if it will be the last... lol
|
|
|
Post by n00b on Feb 24, 2023 16:30:53 GMT -6
Your version of SDL2 is out of date. I bundled the correct version of SDL2 with RCBasic but its only used by default in studio. To use it in geany you have to add it to your dynamic linker path.
Try this:
export LD_LIBRARY_PATH=$HOME/Programs/rcbasic/lib geany
If you are launching RCBasic Studio from your application launcher you should not have to worry about this.
|
|
|
Post by johnno56 on Feb 24, 2023 21:24:52 GMT -6
Installed the new version of RC. Included the 'export' command. Compiled and ran an RC program, via Geany, and everything ran like clockwork... Cool..
By the way... What version of SDL2 is RC expecting?
|
|
|
Post by n00b on Feb 24, 2023 22:28:37 GMT -6
There is a new function in 3.20 called APIVersion$() that tells you the SDL2 version.
|
|
|
Post by johnno56 on Feb 25, 2023 1:51:54 GMT -6
Ok. Change of plans... Rebuilt the system to the latest Linux Mint 21.1
Edited install.sh for RCB to allow installation of libraries. Installed Geany and ran it. Loaded an RC example (goldwaves)... Slight modification of the compile and run pathways. Goldwaves ran as coded... No library errors! Cool. Oh... another bonus! It seems to be running faster. Not sure if due to latest RC or a fresh OS install... I am going to go with the new version of RC... lol
|
|
|
Post by johnno56 on Feb 25, 2023 5:39:28 GMT -6
Update: Linux Mint 21.1
Yet another "spanner in the works". Do not panic. The problem is not related to RCBasic but RCBasic is effected by the issue. I have come across a rather annoying problem with LM 21.1... I have no system sound. Nothing from the speakers or headphones. Googling reveals that I am not the only one with this problem. Currently wading through the many "solutions" that are being presented... It is all fun from here... lol
|
|
|
Post by n00b on Feb 25, 2023 10:48:00 GMT -6
If you need to go to an earlier version, I did test it with Linux Mint 20.1 and it ran fine. I did that specifically because of the issues you had with 3.19.
|
|
|
Post by johnno56 on Feb 25, 2023 21:05:23 GMT -6
Until Linux Mint comes up with a better fix, I have created a sound fix script that will 'unmute' the sound system, at the time of system startup. I have been sitting too long with LM 20.3... A change is as good as a holiday... The current version of RC runs without issue (at the moment... lol), using LM 21.1 - I am yet to test Distribution and Android... I will probably wait until the system is back to normal...
Looking forward to all those new features... Cool...
|
|
|
Post by aurel on Feb 26, 2023 1:20:06 GMT -6
well John ...i am not sure why you so biased to Linux Mint it is not holly cow of linux distros, did you ever try to use another distro for testing time let say week and is not work well then change it... that means i still have un recovered linux partition on my hdd i am to lazy to reinstall it
|
|
|
Post by johnno56 on Feb 26, 2023 4:54:15 GMT -6
Of course. I have tried a lot of distributions over the years. The one thing I noticed about all those distros is that there are a LOT of distros... I have gravitated towards Mint/Ubuntu type distros mainly because of easy of use and stability. You are correct. LM, or Ubuntu, are not the best distros, but for me, I just like them... When it comes to Windows, you will get several versions, Win7, Win10, Win11 etc. But Linux... Linus Torvolds once said that, "There is only one version of Linux. Many distributions but only one version of Linux". Distributions are basically the outward appearance of the kernel... For me, Linux Mint. is like a comfortable pair of old shoes... For the time being LM does all that I need... Does this mean that I will stop looking? Nope. At times I will test a Linux OS on a spare drive or run with a "Live" CD... A lot of those distros are very nice... but will I change? I prefer Debian-based distros because of available applications, stability and communities... Anything is possible...
|
|