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

Undefined symbols for architecture x86_64: error while building on macOS #3

Open
jinqia0 opened this issue May 11, 2023 · 0 comments
Open

Comments

@jinqia0
Copy link

jinqia0 commented May 11, 2023

Hi there,

I encountered the following error while building the project on macOS:

Undefined symbols for architecture x86_64:
"TBinEncoder<BinProbModel_Std>::encodeBin(unsigned int, unsigned int)", referenced from:
C_A_T_C_H_T_E_S_T_2() in test_cabac.cpp.o
"TBinEncoder<BinProbModel_Std>::TBinEncoder()", referenced from:
C_A_T_C_H_T_E_S_T_0() in test_cabac.cpp.o
"TBinEncoder<BinProbModel_Std>::TBinEncoder()", referenced from:
cabacEncoder::cabacEncoder() in test_cabac.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I am using macOS 12.6 and Xcode command line tools. It seems like there is an issue with linking the TBinEncoder class. Can you please provide some guidance on how to resolve this issue?

Thank you for your time and help.

Best regards,
jinqiao

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant