|
Post by johnno56 on Oct 3, 2022 0:50:56 GMT -6
Found out the reason 3.19 will not run with LM20.3. LM21 uses a newer version of 'glibc'. Glibc is one of those libraries that are 'really' fussy as to which version it will run on. It is neither backward nor forward compatible... Until I complete the transfer of all my LM20.3 files to LM21, I will continue to use RC 3.18 on LM20.3
|
|
|
Post by n00b on Oct 5, 2022 7:24:24 GMT -6
tbird Can you add some info about your compile errors? I can not replicate your issue. johnno56 Sorry about the sudden upgrade. I was waiting until all the major distros released a new LTS before doing this switch as it means the older distros should be close to end of life. But I can probably just rebuild all the libraries for the older linux distros. I will need more hard drive space to setup a VM to do it so it might take some time.
|
|
|
Post by johnno56 on Oct 5, 2022 11:40:47 GMT -6
LM21 is fully functional and all my files, the ones I can think of, have all been transferred. RCB Studio runs without error. I am yet to successfully 'distribute' but it is early days as yet. Understand waiting for LTS... Question: Do you build RCB on a VM or do you just use a VM to test RCB? Just curious...
|
|
|
Post by tbird on Oct 5, 2022 21:56:58 GMT -6
Hey n00b, no compile errors anymore just distribution problems after a successful distribute to windows 64 what needs to be done to get it to run, I moved the assets into the folder and nothing happens when I run the executable.
|
|
|
Post by n00b on Oct 6, 2022 7:10:19 GMT -6
tbird Can you post all the following info? * Copy all the text in the log window that pops up when the dist tool is running * Post the info in rcbasic/tools/dist/cmd_log.txt I will try to get a fix for this posted as soon as possible. I will also make sure the old method is still working if you are using geany as well.
|
|
|
Post by tbird on Oct 6, 2022 20:37:57 GMT -6
I restarted my computer, ran it as administrator, and it all worked. It compiled, it distributed. All is well, all issues were on my end!
|
|
|
Post by n00b on Oct 7, 2022 7:21:32 GMT -6
I restarted my computer, ran it as administrator, and it all worked. It compiled, it distributed. All is well, all issues were on my end! Awesome. Glad to hear it. If you have the chance can you also try out the android and web builds. I have included all the extra packages you need to install in the instructions but you need python3, cmake, nodejs, and the android sdk to get it to work. I have been able to get the android distribute working on a few VMs without any trouble but its still something I am trying to simplify for users.
|
|
|
Post by tbird on Oct 7, 2022 9:44:07 GMT -6
n00b I will try the android build tonight and report back.
|
|
|
Post by tbird on Oct 7, 2022 18:45:50 GMT -6
I am downloading everything, where are the instructions I found instructions for distributing windows, but nothing for android?
|
|
|
Post by n00b on Oct 7, 2022 19:37:07 GMT -6
I just realized I did not include any instructions on Windows so I am going to put them here. Install Java JDK before starting (I am using openjdk 11 which you can download here: adoptopenjdk.net/) Make sure java is in your path and also set a environment variable called JAVA_HOME to the root of your java install (its the folder that has the bin and lib folder in it) 1. Download android sdk command-line tools 2. Extract it to somewhere on your computer ( I have it extracted to C:\android_sdk Note: Don't extract it to somewhere where there will be spaces in the path ) 3. Set the ANDROID_HOME environment variable to the root of the directory where you extracted android sdk to. (hint: Its the folder that has cmdline-tools in it) * Here is what it looks like on my computer as a reference 4. Open up config/rcbasic_edit.config in your rcbasic folder. 5. Set the line with ANDROID_HOME to the location you set ANDROID_HOME. If there is not a line for ANDROID_HOME just add it. Also, don't put any spaces on this line. (Note: Edit this in geany and make sure it is saved with UNIX line endings or it the editor will have some funny behaviour) 6. Open up rcbasic studio and open your project 7. Create a new folder for your output directory (Highly recommended to have a location with no spaces in the path) 8. Open the distribute tool 9. Set your output directory to the folder you made 10. Set an icon (png or bmp recommended but it should work with most image formats) 11. On the Android Settings tab you have to atleast make an app ID (ex: com.myApp.app) and set it to debug if you don't have a key generated 12. On the middle tab select android as your target 13. Make App Hopefully it just works.
|
|
|
Post by tbird on Oct 7, 2022 22:19:19 GMT -6
It works till it hits a license agreement and locks up and freezes the IDE.
|
|
|
Post by n00b on Oct 7, 2022 22:22:33 GMT -6
Run this command:
%ANDROID_HOME%\cmdline-tools\bin\sdkmanager --sdk_root="%ANDROID_HOME%" --licenses
|
|
|
Post by tbird on Oct 7, 2022 22:26:54 GMT -6
Its working...will report back shortly
|
|
|
Post by tbird on Oct 7, 2022 22:42:06 GMT -6
Now its sitting on installing android emulator. I'll have to continue this tomorrow.
|
|
|
Post by n00b on Oct 8, 2022 9:12:45 GMT -6
tbird Try going into rcbasic\tools\dist\rcbasic_android and run rcbasic_android_build.bat. Thats the script that its getting stuck on. You may want to re-extract android sdk so that it can try to run the install from scratch. It tries to detect if all the components in android sdk are installed and will attempt to install them if it isn't. When running in studio its probably wanting you to input something that you need to be on the command line to input. It was already setup on my computer so I probably missed it.
|
|