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

[Bug] Undefined symbol building on Big Sur #1650

Open
1 task done
gtackett opened this issue May 1, 2024 · 0 comments
Open
1 task done

[Bug] Undefined symbol building on Big Sur #1650

gtackett opened this issue May 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@gtackett
Copy link

gtackett commented May 1, 2024

Operating System

MacOS

What's the issue you encountered?

Building with ninja install I'm getting an error that, apparently, open(char const*, unsigned int) is undefined for a reference from lib/external/libromfs/generator/source/main.cpp

$ ninja install
[45/516] Linking CXX executable plugins/fonts/libromfs/generator/generator-fonts
FAILED: plugins/fonts/libromfs/generator/generator-fonts
: && /usr/local/opt/llvm/bin/clang++ -Wall -Wextra -Wpedantic -Werror -Wno-unknown-warning-option -Wno-array-bounds -Wno-deprecated-declarations -Wno-unknown-pragmas  -fexceptions -frtti -O3 -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -mmacosx-version-min=11.7 -Wl,-search_paths_first -Wl,-headerpad_max_install_names  plugins/fonts/libromfs/generator/CMakeFiles/generator-fonts.dir/source/main.cpp.o -o plugins/fonts/libromfs/generator/generator-fonts   && :
Undefined symbols for architecture x86_64:
  "std::__1::basic_filebuf<char, std::__1::char_traits<char> >::open(char const*, unsigned int)", referenced from:
      std::__1::basic_ofstream<char, std::__1::char_traits<char> >::basic_ofstream(char const*, unsigned int) in main.cpp.o
.
.
.

The "vertical ellipsis" indicates that I truncated the error messages at that point. I can post more if needed.

How can the issue be reproduced?

By following the standard procedure for building ImHex on MacOS, described in ImHex/dist/compiling/macos.md

ImHex Version

1.33.2

ImHex Build Type

  • Nightly or built from sources

Installation type

Built from latest release sources (not nightly)

Additional context?

No response

@gtackett gtackett added the bug Something isn't working label May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant