Skip to content
New issue

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

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

Already on GitHub? # to your account

似乎不支持arm64版本的MacOS? #9

Open
Mjzs12138 opened this issue Aug 14, 2024 · 1 comment
Open

似乎不支持arm64版本的MacOS? #9

Mjzs12138 opened this issue Aug 14, 2024 · 1 comment

Comments

@Mjzs12138
Copy link

在MacOS上make编译后报错,似乎不支持arm64架构

30 warnings generated.
ld: warning: ignoring duplicate libraries: '-lc++'
ld: warning: ignoring file '/Users/masonchen/Repos/ViTrader/build/MacOSX/thosttraderapi_se.dylib': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/Users/masonchen/Repos/ViTrader/build/MacOSX/thostmduserapi_se.dylib': found architecture 'x86_64', required architecture 'arm64'
Undefined symbols for architecture arm64:
"CThostFtdcMdApi::CreateFtdcMdApi(char const*, bool, bool)", referenced from:
_main in TextTrader-748a05.o
"CThostFtdcTraderApi::CreateFtdcTraderApi(char const*)", referenced from:
_main in TextTrader-748a05.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [TextTrader] Error 1

@krenx1983
Copy link
Collaborator

有arm芯片的库,在openctp仓库里下载

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

No branches or pull requests

2 participants