Closed theonlyasdk closed 2 months ago
Unfortunately, I won't be able to verify this in the near future. Try replacing $ifdef lclwin32 to $ifdef windows 04.08.2024, 22:11, "TheOnlyASDK" @.>: Compilation of package fails with the following errorCompile package MetaDarkStyle 0.9: Exit code 1, Errors: 1 umetadarkstyle.pas(33,3) Error: Identifier not found "ApplyDarkStyle" image.png (view on web)Looks like LCLWIN32 is not defined thus the code inside the IFDEF block is greyed out and the unit is not getting imported. Any idea on how to fix this?—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.>
I did that and now the package compiles but when I try to build the IDE with the package it shows me the following error:
Build IDE: Exit code 2, Errors: 1
udarkstyle.pas(49,34) Error: Cannot find Qt5 used by uDarkStyle. Enable flag "Use Unit" of unit Qt5 in package LCL.
Looks like it's trying to use Qt5 now.
You try compile for qt? try to win32 04.08.2024, 22:49, "TheOnlyASDK" @.>: image.png (view on web)Now it shows this error:Build IDE: Exit code 2, Errors: 1 udarkstyle.pas(49,34) Error: Cannot find Qt5 used by uDarkStyle. Enable flag "Use Unit" of unit Qt5 in package LCL. —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.>
No, not trying to compile for Qt, here's my Lazarus build configuration: (it says win32/64)
Hello! Any solutions yet? From what I've heard from others, this package compiles fine on lazarus 2.4 and 2.6. But for me, it does not compile on Lazarus 3.4 and shows me the above error.
I just checked it out - everything works with Lazarus3.4x64. Give more details - where did you get Lazarus, where did you get MDS? Try it with a clean Lazarus installation?
I got the 64 bit version of lazarus from here: https://www.lazarus-ide.org/index.php?page=downloads I got MDS from online package manager I'm gonna try with a clean Lazarus install
Try last mds from github?
Okay, it now compiles fine, and I get the dark style option in Tools > Options > Dark mode.
I tried setting it to force dark, and restarted the IDE, but nothing happened. I installed both metadarkstyle.lpk
and metadarkstyledsgn.lpk
on Lazarus 3.4
Okay, finally. After hours of fiddling with it, I got it to work. I installed it from online package manager, and it magically worked! Thanks for the help @zamtmn
I advise you not to use ORM, get everything from the original sources. The primary source is this repository
I've a question. Where does ORM pull the sources from? Do you upload a specific version to it or does it pull it from this repo?
I once upload a version to OPM. Time has passed, there have been many changes, it is outdated. I don't have the ability to keep OPM up to date
Compilation of package fails with the following error
Looks like
LCLWIN32
is not defined thus the code inside theIFDEF
block is greyed out and the unit is not getting imported. Any idea on how to fix this?