PawelPepe 1 Posted August 10, 2022 Hey, I am using Delphi Community Edition 10.4.2. It was working fine. Yesturday it stopped working - I couldn't build any x64 project. I got a message: "Unit 'Vcl.Dialogs' not found" I couldn't solve this issue. I reinstalled Delphi. Installation was successful. Problem was fixed. However, I can not now use batch files to compile my projects using Command line: MSBuild.exe /t:Clean,Build /p:config=Release;DCC_BuildAllUnits=true /p:platform=Win64 "MyjProject.dproj" Delphi Compiler says: This version of the product does not support command line compiling. How is that possible? Before reinstallation of Delphi I could normally build any project using command line! Is is known issue? Maybe I am doing something wrong? Is that possible that new Community Edition Online Installer NOT let using command line compiler? How do you compile dproj projects using command line? Thanks for any tip. -Pawel Share this post Link to post
Fr0sT.Brutal 900 Posted August 11, 2022 AFAIK CE doesn't allow cmd line compiling. One of limitations of free version Share this post Link to post
PawelPepe 1 Posted August 11, 2022 2 hours ago, Fr0sT.Brutal said: AFAIK CE doesn't allow cmd line compiling. One of limitations of free version But I did that few years! How is that possible? Share this post Link to post
Fr0sT.Brutal 900 Posted August 11, 2022 1 hour ago, PawelPepe said: But I did that few years! How is that possible? Well, feature matrix says it should be available really but I vaguely remember some issues reported with cmdline on CE... Share this post Link to post
rvk 33 Posted August 11, 2022 Can you see if there is another version of dcc32.exe somewhere in C:\Users\Public\Documents\Embarcadero\Studio\18.0\CatalogRepository\ It seems that during installation a limited ide and compiler is installed which is replaced later on in the installation. If that fails (virusscanner?) the limited compiler stays behind. https://support.embarcadero.com/article/44692 Share this post Link to post
PawelPepe 1 Posted August 11, 2022 @rvk Thanks. I already checked it. I don't have compiler in such localization (and Delphi CE is 21.0 not 18.0). I also installed Delphi CE in virtual machine to test it (and it also can not compile via command line 😞 ) Ps: My dcc32.exe is 22.5 kb. Maybe somone of you - who CAN compile project using command line can send me compiler exe? -Pawel Share this post Link to post
dummzeuch 1505 Posted August 11, 2022 13 minutes ago, PawelPepe said: My dcc32.exe is 22.5 kb. Maybe somone of you - who CAN compile project using command line can send me compiler exe? That would be illegal. Share this post Link to post
Stano 143 Posted August 11, 2022 Look at the properties of the file, the details. There you have the version... Give it here Share this post Link to post
PawelPepe 1 Posted August 11, 2022 58 minutes ago, dummzeuch said: That would be illegal. Why? Community Edition is free! Share this post Link to post
PawelPepe 1 Posted August 11, 2022 58 minutes ago, Stano said: Look at the properties of the file, the details. There you have the version... Give it here This file has no version info. Share this post Link to post
rvk 33 Posted August 11, 2022 5 minutes ago, PawelPepe said: Why? Community Edition is free! If Embarcadero decided there is no command line compiler anymore for the Community Edition then it's not allowed to use one from another version. That's why we need to know if the latest version still has a working command line compiler. Share this post Link to post
hsauro 40 Posted August 11, 2022 1 hour ago, dummzeuch said: That would be illegal. Are you saying that it would be illegal to ask a friend to compile Delphi source code on their own copy and send me the exe? Share this post Link to post
dummzeuch 1505 Posted August 11, 2022 (edited) 1 hour ago, hsauro said: 3 hours ago, dummzeuch said: 3 hours ago, PawelPepe said: My dcc32.exe is 22.5 kb. Maybe somone of you - who CAN compile project using command line can send me compiler exe? That would be illegal. Are you saying that it would be illegal to ask a friend to compile Delphi source code on their own copy and send me the exe? No, it would be illegal to send you "the compiler exe". That's what he wrote, but apparently he meant to write "the compiled exe". That would be perfectly legal. Sorry for the misunderstanding. Edited August 11, 2022 by dummzeuch you -> he, sorry, another misunderstanding Share this post Link to post
rvk 33 Posted August 11, 2022 (edited) 13 minutes ago, hsauro said: Are you saying that it would be illegal to ask a friend to compile Delphi source code on their own copy and send me the exe? No, that wasn't the question. The question was if someone could send a working compuler dcc32.exe. 4 minutes ago, dummzeuch said: That's what you wrote, but apparently you meant to write "the compiled exe". That would be perfectly legal. No, the question was really the compiler exe. (Question was not from hsauro but from pawel) Edited August 11, 2022 by rvk Share this post Link to post
Noodles 2 Posted August 11, 2022 (edited) Technically everything needed to compile is located in the dcc[platform]270.dll libraries. Looking at the exported functions it even looks like they provide a simple function for the command line compiler. I'll leave it or you to explore this yourself as I'm no lawyer and wouldn't even think about the legality of writing your own .exe to call this function. Hell, I could even provide you with a link to zip file on Embarcadero's own servers that contains the command line compilers but I'd probably be breaking some law or EULA. XD Edited August 11, 2022 by Noodles Share this post Link to post
PawelPepe 1 Posted August 11, 2022 I need to make it clear. I could build any of my projects with Delphi Community Edition 10.4.2 before my environement broke. So it was legal and that was functional in free Delphi version. But, when I reinstalled Delphi CE (the same version) it saddenly do not let me use command line compiler! On the same license, the same delphi version and the same Windows installation. This is why I am asking what happended. This is why I requested Delphi CE 10.4.2 users (who can use command line compiler) to send me those file (dcc32.exe). How can it be illegal when Delphi CE is free (I do not sell my programs - it is my hobby). Btw, my dcc32270.dll library is 27.0.40680.4203 -Pawel Share this post Link to post
rvk 33 Posted August 11, 2022 2 minutes ago, PawelPepe said: How can it be illegal when Delphi CE is free (I do not sell my programs - it is my hobby ) . Btw, my dcc32270.dll library is 27.0.40680.4203 Because, as far as I know, the installation of CE is done via a webinstaller and the exact (sub)version could have been changed. And one of these changes could be that the command line compiler isn't for CE anymore. Only way to know for sure is someone else freshly installs CE or Embarcadero gives clarity about this issue. Have you tried to ask this via support there? Share this post Link to post
PawelPepe 1 Posted August 11, 2022 As far as I know Delphi CE users can not sue support (I may be wrong). I will try to write some email to M. Cantu and will ask directly. -Pawel Share this post Link to post
Noodles 2 Posted August 11, 2022 (edited) 10 minutes ago, rvk said: one of these changes could be that the command line compiler isn't for CE anymore. This is correct. It was removed in 10.4. https://blogs.embarcadero.com/delphi-cbuilder-community-editions-now-available-in-version-10-4-2/#comment-1339 Edited August 11, 2022 by Noodles Share this post Link to post
PawelPepe 1 Posted August 11, 2022 10 minutes ago, Noodles said: This is correct. It was removed in 10.4. https://blogs.embarcadero.com/delphi-cbuilder-community-editions-now-available-in-version-10-4-2/#comment-1339 Uff! Not good 😞 Share this post Link to post
Noodles 2 Posted August 11, 2022 (edited) 21 minutes ago, PawelPepe said: Uff! Not good 😞 Yeah, it's a pain because of how bloated the system/sysinit.pas files have become and you cannot recompile them without the command line compiler. Some fun "unrelated" trivia though... Did you know the GetIt package manager used by Delphi/CBuilder can deploy compiler patches? Did you know that the GetIt package manager simply downloads patches from an open/public https server? Did you know that "CompilerLSPHotfixGeneral-20201104" fixed some compiler issues and in doing so needed to deploy a new version of the command line .exe's? Did you know that although CE doesn't need this patch it is still openly available for uses that do need it and is perfectly compatible with the current CE version? Just sayin' =D Edited August 11, 2022 by Noodles 1 1 Share this post Link to post
PawelPepe 1 Posted August 11, 2022 Everything is clear now. Thanks for help. Marco Cantu said: "...The command line compiler is not part of Delphi CE. It might have been there by mistake in the past, but it wasn't intended..." -Pawel Share this post Link to post
hsauro 40 Posted August 11, 2022 6 hours ago, dummzeuch said: No, it would be illegal to send you "the compiler exe". That's what he wrote, but apparently he meant to write "the compiled exe". That would be perfectly legal. Sorry for the misunderstanding. That makes sense. Share this post Link to post
Fr0sT.Brutal 900 Posted August 12, 2022 12 hours ago, Noodles said: This is correct. It was removed in 10.4. https://blogs.embarcadero.com/delphi-cbuilder-community-editions-now-available-in-version-10-4-2/#comment-1339 So I was right finally. Emba needs to change their feature matrix table Share this post Link to post
Remy Lebeau 1394 Posted August 12, 2022 20 hours ago, Noodles said: This is correct. It was removed in 10.4. https://blogs.embarcadero.com/delphi-cbuilder-community-editions-now-available-in-version-10-4-2/#comment-1339 Well, that sucks Share this post Link to post