Browse Source

Fix non-macos build

Signed-off-by: falkTX <falktx@falktx.com>
pull/1898/head
falkTX 6 months ago
parent
commit
2a8746be24
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
3 changed files with 2 additions and 5 deletions
  1. +0
    -3
      .clang-format
  2. +1
    -1
      source/backend/plugin/CarlaPluginVST3.cpp
  3. +1
    -1
      source/discovery/carla-discovery.cpp

+ 0
- 3
.clang-format View File

@@ -1,3 +0,0 @@
DisableFormat: true
SortIncludes: Never


+ 1
- 1
source/backend/plugin/CarlaPluginVST3.cpp View File

@@ -3458,7 +3458,7 @@ public:
binaryfilename += ".so"; binaryfilename += ".so";
#endif #endif


if (! water::File(binaryfilename).existsAsFile())
if (! water::File(binaryfilename.toRawUTF8()).existsAsFile())
{ {
pData->engine->setLastError("Failed to find a suitable VST3 bundle binary"); pData->engine->setLastError("Failed to find a suitable VST3 bundle binary");
return false; return false;


+ 1
- 1
source/discovery/carla-discovery.cpp View File

@@ -1583,7 +1583,7 @@ static bool do_vst3_check(lib_t& libHandle, const char* const filename, const bo
binaryfilename += ".so"; binaryfilename += ".so";
#endif #endif


if (! water::File(binaryfilename).existsAsFile())
if (! water::File(binaryfilename.toRawUTF8()).existsAsFile())
{ {
DISCOVERY_OUT("error", "Failed to find a suitable VST3 bundle binary"); DISCOVERY_OUT("error", "Failed to find a suitable VST3 bundle binary");
return false; return false;


Loading…
Cancel
Save