Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS version support #37

Open
Coool opened this issue Dec 23, 2022 · 1 comment
Open

macOS version support #37

Coool opened this issue Dec 23, 2022 · 1 comment
Assignees
Labels
bug Something isn't working build system

Comments

@Coool
Copy link

Coool commented Dec 23, 2022

Current (0.5.2) latest release crashes on macOS High Sierra 10.13.6 (17G14042).

Crash Report:

Termination Reason: DYLD, [0x4] Symbol missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
Symbol not found: _NSAppearanceNameDarkAqua
Referenced from: /Users/USER//OpenEXR-Viewer.app/Contents/MacOS/../Frameworks/QtCore.framework/Versions/A/QtCore (which was built for Mac OS X 10.14)
Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
in /Users/USER/
/OpenEXR-Viewer.app/Contents/MacOS/../Frameworks/QtCore.framework/Versions/A/QtCore

Was it compiled on macOS Mojave 10.14?

Could not compiled myself complaining about missing Imath library:

CMake Error at CMakeLists.txt:192 (target_link_libraries):
Target "openexr-viewer" links to:

Imath::Imath

but the target was not found. Possible reasons include:

  • There is a typo in the target name.
  • A find_package call is missing for an IMPORTED target.
  • An ALIAS target is missing.

CMakeCache.txt reports that Imath_DIR is set to correct directory. Any clue?

Thanks.

@afichet
Copy link
Owner

afichet commented Dec 29, 2022

Hi,

Thanks for reporting this crash.

I don't have access to a genuine Apple device, I am doing the builds on a VM, with an older macOS release. That may explain the problem with recent macOS revisions.

Regarding the build, from my recollection, there is an old version of the OpenEXR library shipped with the system. Since this needs a fairly recent revision of the library, you need to use brew or a similar tool to get an up-to-date version of the library. Otherwise, that may confuse CMake.

I am not sure if this is the issue, but it looks like it, regarding the error. If you manage to fix it this way, I'd be interested to get your feedback.

Thanks for the report. This encourages me to use CMake ExternalProject feature in future a release to avoid those issues.

@afichet afichet self-assigned this Dec 29, 2022
@afichet afichet added the bug Something isn't working label Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build system
Projects
None yet
Development

No branches or pull requests

2 participants