Component called with incorrect number of arguments
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 1.3k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 7
Description
Case:
compiler: msvc2019_64, and when NOT supplying QT_32_PREFIX in the cmake parameter.
Error message:
CMake Error at plugins/VstBase/RemoteVstPlugin32.cmake:27 (GET_FILENAME_COMPONENT):
GET_FILENAME_COMPONENT called with incorrect number of arguments
QT_QMAKE_EXECUTABLE has no value at this point.
Reference: from manual
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
Start with plugins/VstBase/RemoteVstPlugin32.cmake at line 27 and reproduce the MSVC2019_64 configuration without QT_32_PREFIX. Check how the unset QT_QMAKE_EXECUTABLE reaches GET_FILENAME_COMPONENT. Done means this configuration no longer reports an incorrect-argument-count error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100