-
-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling errors (AGAIN!) #1877
Comments
For building Lakka-4.x use Ubuntu Focal (20.04). Also I suggest doing a test build with only one core with |
|
@metchebe I installed Ubuntu (20.04) in a VM to compile lakka 4 and this is what i got this when installing the required to compile packages: |
Why are you trying to install those packages? The script should take care of that for you. What instructions are you following? They might be wrong. |
@metchebe What script? Lakka's script??? It simply never installed dependencies for me! I had to search and found this post And i found a NEW ISSUE!!! AAAAAAAAAAAAAAAAAAAHHHHHHH!!!!!!!!! (Rage) WHY COMPILING THIS SYSTEM IS SO HARD?! I started to compile the Lakka v4 in a virtual machine. I downgraded libncurses-dev (i had forgotten this one). As you can see, XZ Utils repository is not working. I tried to download it manually and IS INDEED OFF |
Alright. Take a break and let me get to my computer (tomorrow perhaps) to give you some pointers. I've built 4.x and 5.x very recently and they do work. |
OK there's a lot to go through so I will try to respond to everything, but not necessarily in order.
|
@GabrielAnacletoBaumgartner your Lakka options file seems to be modified. I can tell because line 377 does not match, see https://github.com/libretro/Lakka-LibreELEC/blob/Lakka-v4.x/distributions/Lakka/options |
Ok... Original options file now. |
@GabrielAnacletoBaumgartner I checked and You got a totally different error so it seems that you are using still using modified or mixed Lakka-4.x code. I will reiterate that I do not have experience building for Generic and x11, but it seems to me now that Lakka-5.x (which also does not use the driver that gave you issues) is probably the easiest way to do it. Please use a clean codebase, since using edited or mixed code makes it difficult to distinguish between issues in Lakka and issues caused by edited code. |
I'm sorry i didn't make it clear: the last screenshot i tried to compile Lakka 5. Indeed i got confuse, it's been more than i week trying to compile this "thing". It's been really stressful and i am using two computer to try speed up the compiling process. I'm trying a v4 Generic non X11 build only with one core now to see if this "thing" works properly, but as you have more experience than me... Could confirm what are the commands to build Lakka 4 and 5 with X11 (Nvidia Drivers)? AND why `CUSTOM_LIBRETRO_CORES=2048 does not work properly (not sure if it was clean Lakka v4 or clean Lakka v5)? |
There is no command for Lakka 4, I believe you would have to edit the source code. For Lakka 5 it should be the one I indicated. As far as I can tell there is no official support or test build (yet) for Lakka-5.x on X11, so you might in fact be the first to try! Also I am not certain that this will install the nvidia drivers you require.
As I stated, this happened because the options file had a syntax error because of incorrect editing, so it was not clean. |
I'm clearly not the first one to try (I know, not the same repository). I need nvidia drivers because i want to build an arcade with 1600x1200 screen and need CRT-Royale to run flawlessly (i bought GT1030 just for it). Plus i have a few ideas of themes i will build (if I manage to understand this system).
Note: I've never compiled a system before, just a few repositories, with clear (almost "noob" certified) guides. |
It says right there, experimental build.
Yeah, I specifically meant using
Seems way to old to work in 4.x. I wouldn't waste my time with this.
The output is in the |
@GabrielAnacletoBaumgartner I apologize, the syntax error in the options file is from an error in the repository itself. You can see it here: https://nightly.builds.lakka.tv/2023-09-12_5.x/0_logs/x11.x86_64-2023-09-12_5.x.html This seems to be the commit that produced the error: 24811d5 This also shows that the x11 target need more fixing. It seems it would be better to wait. |
fixed |
Tried, and working flawlessly. Now just need to build Lakka v5 (DEVICE=x11)? |
@GabrielAnacletoBaumgartner no, check the log I posted above, ffmpeg fails at the end. Better to wait for a fix, it's not ready yet. |
Yeah the latest log shows that ffmpeg is still failing. Try removing it as a dependency in |
I can confirm it compiled and generated an image file, but i also got this message:
Anyways, i still need to test it. More updates later |
Update: Disk created successfully, boot and typed live mode as normal, but this is what happens when Lakka starts. It looks like the OS boots but RetroArch does not. P.S.: I am almost giving up, so... Would I run into legal problems if I make a Debian fork with only RetroArch? Like a "Lakkabian"? Of course it would be open source, free and the only advantage would be better nvidia-drivers support. |
I doubt anyone that would know about these things is reading this thread. That said, if I were to publish this project online I would stay away from any naming resembling 'Lakka' or 'Debian'. For actually using your machine it would probably be easier to just use Windows. Trying to build an unsupported and experimental OS was always going to be difficult. If you want to keep experimenting then you already know that official LibreELEC works; you could try to build and run retroarch in that, in fact the retroarch binary that you built might work already. |
Look at the switch build. I had to do some hacky stuff to get X11 working on the switch, and the odin...... first you need to add proper configuration for X for your hardware. Without the logs from X, and retroarch, there isnt much I can say to help you fix that issue though, since I dont have the hardware. |
x11 images are up now so closing this |
Ok, i've been trying to compile a custom X11-nividia Lakka build for 5 DAYS! And i'm still getting errors.
I already had issues compiling the system but now i made a few changes.
I edited the name, logo, splash and options file in the Lakka-LibreELEC/distributions/Lakka, v4 and v5. But even before editing i was getting errors. If this is my environment's fault, you should provide the "install all dependencies" script, after all the Readme.MD is COMPLETELY OUTDATED.
Note the compiling errors i'm getting are consistent even with no modifications (simply just cloned and compiled) to the previous mentioned files.
Basically what i added to the options was this:
This way it would remove the cores i won't use. And yes, i inserted these lines before # exclude some cores at build time
The changes to the name and to the icons/splash is purely due to aesthetics (and i don't know how it could affect compiling)
With Lakka v5.x i get errors at step 258:
With Lakka v4.x i get errors at step 8 (but the log file is 9, for some reason):
I'm trying to build it with Ubuntu 22.04, running KDE. It's a laptop, 4GB RAM ddr3 1066MHz, 240GB SSD, Core 2 Duo T9900. I really would like to help with Lakka's development, but i can't help if i can't even compile it out of the box.
The text was updated successfully, but these errors were encountered: