CMake Configuration Error: INTERFACE_INCLUDE_DIRECTORIES path is incorrectly prefixed with source directory
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 184
- Avg merge
- 13h 4m
- Merged PRs (30d)
- 1
Description
I encountered an error while trying to build SimAI using ./scripts/build.sh -c analytical .The CMake configuration step fails with the following error:
-- Configuring done
CMake Error in src/applications/CMakeLists.txt:
Target "libapplications" INTERFACE_INCLUDE_DIRECTORIES property contains
path:
"/home/zhr/Desktop/SimAI/astra-sim-alibabacloud/extern/network_backend/ns3-interface/simulation/src/applications"
which is prefixed in the source directory.
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the configuration failure with ./scripts/build.sh -c analytical, then inspect src/applications/CMakeLists.txt and the libapplications target's INTERFACE_INCLUDE_DIRECTORIES setting. Done means the CMake configuration and generation steps complete without the source-directory path error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100