I have a D7 project that has a host exe with one commmon bpl package and a dozen or so .dll packages. All of the .dll pacakages are similar in that they use one common .bpl package and are hosted via the one .exe progect. I can complile all of these in the Delphi IDE, but when I compile them in Finalbuilder they all compile except one. I have to uncheck the Build-all option in order for that one to compile with Finalbuilder. Any ideas on why the command line compiler would fail with a build-all while the build-all compile would work fine in the Delphi-IDE. I am sure it has something to do with the one common packsage but I cannot figure out what the problem would be since all of the other .dlls compile just fine.
Hi David
Can you post the log output from the compiler when it fails? I would hazzard a guess that it has something to do with library/search paths, or duplicate dcp files.
Hi Vincent,Where do I find that output? The build window in FB just shows that it is starting to compile and displays the command line and then after a bit of a delay stops with the MS Debug dialog.
Hi David
If you are seeing the MS Debug dialog, which exe does it report the access violation in? If it’s dcc32 then it’s a delphi bug, if it’s FinalBuilder.exe then there should be a bugreport.txt in the finalbuilder installation folder. If there is, please send it to support with as much information as you can (including your FB project). Also, on the delphi action, there is an option to keep the .cfg file that it produces (normally it gets deleted after compilation), that file will have a .used extension. You can rename this file to .cfg and then try running dcc32 from the command line using the commandline that shows in the finalbuilder log. This will help us identify if it’s a dcc32 bug, or an interaction with finalbuilder thats causing it etc.
HTH
Hi Vincent,I did as you suggested and it fails when using the dccl32.exe compiler directly. So it is definitely not a FinalBuilder problem. I can’t figure it out. The compiler reports that a 3rd party required package is not found (which is in the Delphi\Projects\BPL folder) and is referenced in the single big BPL package that I use to refrence all 3rd party packages in each of the other projects in this project group. For some reason I just can’t do a build all on this one project outside the Delphi IDE. Maybe the project file is corrupt. Anyway, thanks for you help.
Hi David
The only other thing I can suggest is to re-order a few of the library path settings, try editing the .cfg file, you will see the library paths in there. The other thing is to make absolutely certain you do not have duplicate dcp or dcu files on the path somewhere. Also, in your dpr file, try changing the order of the files referenced in the dpr. I have had this sort of av in the compiler before and re-ordering did help resolve it, but I couldn’t make any sense of it, certainly not enough to report the bug to borland.