Describe the Bug
The project cannot be compiled because several essential source files and the entire SharedTools directory appear to be missing from the repository. Additionally, there is a minor configuration issue with a hardcoded local path in the project file.
Environment
Windows Version: Windows11 ARM
DelphiMCP Version: main branch (latest)
- Delphi Version: Delphi 13 Version 37.0.57242.3601
- Windows Version: Windows 11 Pro ARM 24H2
- DelphiMCP Version: main branch (ca0dbcd)
- Delphi-MCP-Server Version: main branch (3107e74cc56b17d520b096eb03cb57dfdd0938a9)
Steps to Reproduce
- Clone the repository.
- Open Source\MCPserver\DelphiMCPserver.dproj.
- Attempt to build the project.
- The compiler throws a fatal error regarding a missing unit.
Expected Behavior
The repository should contain all necessary source files (including the SharedTools folder) to allow a clean build after cloning.
Actual Behavior
The compilation fails immediately because the file MCP.Tool.Generic.pas is missing. Upon inspection, the entire Source\SharedTools directory is not present in the repository, although it is referenced in the project file.
Current structure in Source\MCPbridge:
├─Source
│ └─Core <-- Only this exists
│ └─(SharedTools is missing)
Error Messages
[dcc32 Fatal Error] DelphiMCPserver.dpr(45): F1026 File not found: '..\..\..\DelphiMCPbridge\Source\SharedTools\MCP.Tool.Generic.pas'
Secondary Project Loading Error:
When opening the project, the following error also appears due to a local environment
Option set "W:\Delphi Current Version.optset" cannot be loaded. It has been removed from project...
Debug Output
Screenshots
Named Pipe Information
Configuration Files
Project Search Paths (if compilation issue):
I haven't configured specific Search Paths within the project options (.dproj). Instead, I have added the relevant source directories to the global IDE Library Path (Tools > Options > Language > Delphi > Library).
Additional Context
- Consistency: The issue happens consistently every time I clone and attempt to build the project.
- Is it a regression?: This is my first time cloning the latest
main branch. I checked an older commit (7168c5b) and confirmed it works fine. The missing files and path errors seem to be present only in the latest version of the main branch.
- Environment: I have verified that the
SharedTools directory is physically missing from the local folder immediately after running git clone.
- Observation: Since the
SharedTools folder is missing from the repository structure on GitHub as well, this appears to be a repository-level issue (missing files in the commit) rather than a local configuration error.
Possible Solution
- Please commit and push the missing files in the Source\SharedTools directory.
- Resolve Environment Reference: Remove or fix the hardcoded reference to Delphi Current Version.optset in the project.
If you have ideas on how to fix the issue, please share them here.
Describe the Bug
The project cannot be compiled because several essential source files and the entire SharedTools directory appear to be missing from the repository. Additionally, there is a minor configuration issue with a hardcoded local path in the project file.
Environment
Windows Version: Windows11 ARM
DelphiMCP Version: main branch (latest)
Steps to Reproduce
Expected Behavior
The repository should contain all necessary source files (including the SharedTools folder) to allow a clean build after cloning.
Actual Behavior
The compilation fails immediately because the file MCP.Tool.Generic.pas is missing. Upon inspection, the entire Source\SharedTools directory is not present in the repository, although it is referenced in the project file.
Current structure in Source\MCPbridge:
Error Messages
Secondary Project Loading Error:
When opening the project, the following error also appears due to a local environment
Debug Output
Screenshots
Named Pipe Information
Configuration Files
Project Search Paths (if compilation issue):
I haven't configured specific Search Paths within the project options (.dproj). Instead, I have added the relevant source directories to the global IDE Library Path (Tools > Options > Language > Delphi > Library).
Additional Context
mainbranch. I checked an older commit (7168c5b) and confirmed it works fine. The missing files and path errors seem to be present only in the latest version of the main branch.SharedToolsdirectory is physically missing from the local folder immediately after runninggit clone.SharedToolsfolder is missing from the repository structure on GitHub as well, this appears to be a repository-level issue (missing files in the commit) rather than a local configuration error.Possible Solution
If you have ideas on how to fix the issue, please share them here.