LMMS / LMMS/lmms

Component called with incorrect number of arguments

Open
#6,727 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
10.4k
Forks
1.3k
Avg merge
2d 13h
Merged PRs (30d)
7

Description

https://github.com/LMMS/lmms/blob/bceee6c4271016d35fda0b634ed712059114eea5/plugins/VstBase/RemoteVstPlugin32.cmake#L27

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.