Closed Westerby closed 6 years ago
You can replace extra_compile_args=['-Wno-cpp', '-Wno-unused-function', '-std=c99'] with extra_compile_args={'gcc': ['/Qstd=c99']} in ./libs/datasets/pycocotools/setup.py. maybe help
Super, it worked. Thanks!
mark
How did you determine @ScNico which flags were the issue though?
I'm having similar issues on a totally different project, trying to build in QT-Creator a wallet for a cryptocurrency, but only ever works cross-compiled on linux for windows, or on linux.
how can i replace extra_compile_args ?? @ScNico
Specs: Windows 10 Python 3.6,1
When running python setup.py build_ext --inplace I get error:
cl : Command line error D8021 : invalid numeric argument '/Wno-cpp' error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2
I would appreciate any help.