System: Windows XP Home
Compiler/IDE: Delphi 2009
API: Win32
I'd like to publish my TURBU project as an open-source project, but recently a serious glitch has crept into the project's structure and I can't figure it out.
There are no syntax errors in my code. When I do a full build (SHIFT-F9) it will compile just fine.
When I hit F9 or CTRL-F9 to compile without a full build:
[DCC Fatal Error] turbu_database.pas(1155): F2051 Unit turbu_skills was compiled with a different version of turbu_database.GDatabase
First off, 1155 is an invalid line. The file ends at 1152. Second, as I understand it, this error is only supposed to occur when you're trying to compile something and you're missing the source files and only have DCUs. This is not the case for the two files it mentions, or any file in my project, for that matter. I have the source to everything except midas, which is used by TClientDataset, but that shouldn't have anything to do with the units in question.
The project will build just fine, so whatever the problem is is caused by the compiler overlooking something in normal-compile mode. Just to make things worse, for some reason this morning it started wanting to recompile every time I hit Run, even if I hit it immediately after a full build, without making any changes. (That had been my workaround for a while now.) It's now impossible to run my project in the IDE. I don't know why it started doing that. I didn't make any significant changes to my project.
This is putting a serious kink in my development. Does anyone know what's going on and how to fix it?
The source can be found at http://www.turbu-rpg.com/downloads/T...urce_setup.exe if anyone wants to test it. It requires Delphi 2009 with the JVCL already installed; the installer package will take care of the rest. Maybe having the source code available will help someone track this down. I certainly hope so, because wherever the issue is, it's beyond me. The problem can be found in testing.exe and also in turbu.exe in turbu.groupproj.
Bookmarks