Skip to content

Commit

Permalink
Embedded NDI lib path on Mac OS to attempt to solve loading problem o…
Browse files Browse the repository at this point in the history
…n pre Catalina versions
  • Loading branch information
David Butler committed May 23, 2020
1 parent 652edd2 commit c7136c8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build/maxmspsdk.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ ARCHS = x86_64
//
// SDKROOT = macosx10.6

MACOSX_DEPLOYMENT_TARGET = 10.9
MACOSX_DEPLOYMENT_TARGET = 10.12


// Compiler Version -- leave them all commented out to get the default version provided by Xcode
Expand Down
4 changes: 2 additions & 2 deletions build/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

#define JIT_NDI_VERSION_MAJOR 0
#define JIT_NDI_VERSION_MINOR 1
#define JIT_NDI_VERSION_BUGFIX 0
#define JIT_NDI_VERSION_BUGFIX 1

#define JIT_NDI_COPYRIGHT "Copyright (C) 2020 David Butler / The Impersonal Stereo"

#endif
#endif
3 changes: 1 addition & 2 deletions jit.ndi.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@
developmentRegion = English;
hasScannedForEncodings = 1;
knownRegions = (
English,
en,
);
mainGroup = 089C166AFE841209C02AAC07 /* iterator */;
Expand Down Expand Up @@ -279,14 +280,12 @@
2FBBEAD008F335010078DB84 /* Development */ = {
isa = XCBuildConfiguration;
buildSettings = {
MACOSX_DEPLOYMENT_TARGET = 10.7;
};
name = Development;
};
2FBBEAD108F335010078DB84 /* Deployment */ = {
isa = XCBuildConfiguration;
buildSettings = {
MACOSX_DEPLOYMENT_TARGET = 10.7;
};
name = Deployment;
};
Expand Down
2 changes: 1 addition & 1 deletion src/ndi_runtime.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ bool load_ndi_runtime(NDIlib_v4** ndiLib)
}
else
{
strncpy(ndiRuntimePath, NDILIB_LIBRARY_NAME, MAX_PATH_CHARS);
snprintf(ndiRuntimePath, MAX_PATH_CHARS, "%s%s", "/usr/local/lib/", NDILIB_LIBRARY_NAME);
}

dlerror();
Expand Down

0 comments on commit c7136c8

Please sign in to comment.