lmms icon indicating copy to clipboard operation
lmms copied to clipboard

Component called with incorrect number of arguments

Open anytizer opened this issue 2 years ago • 3 comments

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

anytizer avatar Jun 05 '23 23:06 anytizer

To where and how have you installed Qt?

PhysSong avatar Jun 25 '23 02:06 PhysSong

I had dual installations - via vcpkg and standalone.

Since I was compiling 64 bit only, I did not supply the QT_32_PREFIX parameter. Line 20 appears to handle this. https://github.com/LMMS/lmms/blob/bceee6c4271016d35fda0b634ed712059114eea5/plugins/VstBase/RemoteVstPlugin32.cmake#L20

anytizer avatar Jun 25 '23 16:06 anytizer

Ticket needs cmake label

luzpaz avatar Jul 03 '23 00:07 luzpaz