-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
vs2010 编译 error C3861: '_InterLockedCompareExchang‘ #123
Comments
请问解决了吗,VS2013,ncnn2018012版本遇到同样问题 |
用vs2015编译
… 在 2017年9月1日,下午5:05,XueDx ***@***.***> 写道:
我用cmake构建vs2010工程,编译时遇到error C3861: '_InterLockedCompareExchange问题。
另外git上以下 vs2013 vs2015 工程,编译通过,修改为vs2010也会遇到同样的C3861问题。
请问 NCNN 能用vs2010编译运行吗?
vs2015 https://github.com/guozhongluo/ncnn-vs2015-examples-demo <https://github.com/guozhongluo/ncnn-vs2015-examples-demo>
vs2013 https://github.com/liyemei/ncnn-windows-vs2013 <https://github.com/liyemei/ncnn-windows-vs2013>
编译器输出:
Output
1> mat_pixle.cpp
1>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\memory(1047): error C3861: '_InterLockedCompareExchange': identifier not found
1>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\memory(1054): error C3861: '_InterLockedIncrement': identifier not found
1>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\memory(1059): error C3861: '_InterLockedIncrement': identifier not found
1>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\memory(1064): error C3861: '_InterLockedDecrement': identifier not found
1>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\memory(1073): error C3861: '_InterLockedDecrement': identifier not found
_InterLockedIncrement 指向 Microsoft Visual Studio 10.0\VC\include\intrin.h line 181,编译器却无法识别。
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#123>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ATVzzvYdlm5cyUbBYzWqw93U2FDLScToks5sd8jogaJpZM4PJ5Cl>.
|
用vs2015编译,遇到同样的错误 |
用vs2015编译,遇到同样的错误 +1 |
fixed in 3977d32 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我用cmake构建vs2010工程,编译时遇到error C3861: '_InterLockedCompareExchange问题。
另外git上以下 vs2013 vs2015 工程,编译通过,修改为vs2010也会遇到同样的C3861问题。
请问 NCNN 能用vs2010编译运行吗?
vs2015 https://github.com/guozhongluo/ncnn-vs2015-examples-demo
vs2013 https://github.com/liyemei/ncnn-windows-vs2013
编译器输出:
_InterLockedIncrement 指向 Microsoft Visual Studio 10.0\VC\include\intrin.h line 181,编译器却无法识别。
The text was updated successfully, but these errors were encountered: