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 build build_cpu_nms.sh need to change setting. #27

Open
Animadversio opened this issue Jun 10, 2021 · 0 comments
Open

windows build build_cpu_nms.sh need to change setting. #27

Animadversio opened this issue Jun 10, 2021 · 0 comments

Comments

@Animadversio
Copy link

This is a fantastic package!

I noted that trying to build_cpu_nms on Windows system will throw an compilation error about '/Wno-cpp'

cl : Command line error D8021 : invalid numeric argument '/Wno-cpp'

This is related to this issue mentioned in cocodataset
cocodataset/cocoapi#51

The quick fix to it is to change L47 in FaceBoxes\utils\build.py
from extra_compile_args=["-Wno-cpp", "-Wno-unused-function"],#
to extra_compile_args={'gcc': ['/Qstd=c99']},#["-Wno-cpp", "-Wno-unused-function"],

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