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

windows 10 compile error. #7

Open
mc-mong opened this issue Apr 6, 2023 · 1 comment
Open

windows 10 compile error. #7

mc-mong opened this issue Apr 6, 2023 · 1 comment

Comments

@mc-mong
Copy link

mc-mong commented Apr 6, 2023

g++ -std=c++14 -ffast-math -I . -Wall -Wextra -lpthread .cc utils/.cc accuracy/.cc game/.cc mcts/.cc neural/.cc neural/blas/.cc neural/cuda/.cc pattern/.cc selfplay/.cc -o Sayuri -O3 -DNDEBUG -DWIN32 -I ../third_party/Eigen -DUSE_BLAS -DUSE_EIGEN
neural/blas/winograd_convolution3.cc: In lambda function:
neural/blas/winograd_convolution3.cc:53:29: error: 'SQ2' is not captured
auto i3m1_2 = i3 * (SQ2) + i1 * (-SQ2 / 2.0f);
^~~
neural/blas/winograd_convolution3.cc:42:31: note: the lambda has no capture-default
const auto multiply_bt = [](float& o0, float& o1, float& o2,
^
neural/blas/winograd_convolution3.cc:18:20: note: 'constexpr const double SQ2' declared here
constexpr auto SQ2 = kSqrt2;
^~~
neural/blas/winograd_convolution3.cc: In lambda function:
neural/blas/winograd_convolution3.cc:189:34: error: 'SQ2' is not captured
auto t3m4 = (i3 - i4) * (SQ2);
^~~
neural/blas/winograd_convolution3.cc:182:31: note: the lambda has no capture-default
const auto multiply_at = [](float& o0, float& o1, float& o2, float& o3,
^
neural/blas/winograd_convolution3.cc:174:20: note: 'constexpr const double SQ2' declared here
constexpr auto SQ2 = kSqrt2;
^~~
What kind of error is it?

mingw64 : gcc version 8.1.0 (x86_64)

@CGLemon
Copy link
Owner

CGLemon commented Apr 7, 2023

Thanks for reporting this bug. I push the new one into GitHub to fix this bug. Please try it.

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

2 participants