In file included from /Users/robertbuckley/anaconda3/envs/pandas-dev/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18: In file included from /Users/robertbuckley/anaconda3/envs/pandas-dev/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4: In file included from pandas/_libs/window.cpp:663: Gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/robertbuckley/anaconda3/envs/pandas-dev/include -arch x86_64 -I/Users/robertbuckley/anaconda3/envs/pandas-dev/include -arch x86_64 -Ipandas/_libs -I./pandas/_libs -Ipandas/_libs/src/klib -Ipandas/_libs/src -I/Users/robertbuckley/anaconda3/envs/pandas-dev/lib/python3.6/site-packages/numpy/core/include -I/Users/robertbuckley/anaconda3/envs/pandas-dev/include/python3.6m -c pandas/_libs/window.cpp -o build/temp.macosx-10.7-x86_64-3.6/pandas/_libs/window.o -Wno-unused-function -stdlib=libc++ If i added only the extra_compile_args part, the compile succeeds but the linker would throw an error: Pandas/_libs/window.cpp:655:10: fatal error: 'ios' file not foundĮrror: command 'gcc' failed with exit status 1 Warning: include path for stdlibc++ headers not found pass '-std=libc++' on the command line to use the libc++ standard library instead Gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/robertbuckley/anaconda3/envs/pandas-dev/include -arch x86_64 -I/Users/robertbuckley/anaconda3/envs/pandas-dev/include -arch x86_64 -Ipandas/_libs -I./pandas/_libs -Ipandas/_libs/src/klib -Ipandas/_libs/src -I/Users/robertbuckley/anaconda3/envs/pandas-dev/lib/python3.6/site-packages/numpy/core/include -I/Users/robertbuckley/anaconda3/envs/pandas-dev/include/python3.6m -c pandas/_libs/window.cpp -o build/temp.macosx-10.7-x86_64-3.6/pandas/_libs/window.o I dont have access to Xcode 9 anymore, so i can't try the workaround of copying the old libs from there Some workaround suggestions are at and the answer its linked to. Project dependencies such as static archives that were built against libstdc++ will also need to be rebuilt against libc++. Besides changing the C++ Standard Library build setting, developers should audit hard-coded linker flags and target dependencies to remove references to libstdc++ (including -lstdc++, -lstdc++.6.0.9, libstdc++.6.0.9.tbd, and libstdc++.6.0.9.dylib). C++ projects must now migrate to libc++ and are recommended to set a deployment target of macOS 10.9 or later, or iOS 7 or later. Xcode 10 release notes includes the following deprecation noticeīuilding with libstdc++ was deprecated with Xcode 8 and is not supported in Xcode 10 when targeting iOS. Upgraded to 10.14 (mojave) and Xcode 10, and now i get the above failure. I setup a dev environment on Mac OS 10.13 according to and all was well cpp: 655: 10: fatal error: 'ios' file not found #include "ios" ^ ~ ~ ~ ~ 1 warning and 1 error generated.Įrror: command 'gcc' failed with exit status 1 Problem description o - Wno - unused - function warning: include path for stdlibc + + headers not found pass '-std=libc++' on the command line to use the libc + + standard library instead 6 / site - packages / numpy / core / include - I / Users / robertbuckley / anaconda3 / envs / pandas - dev / include / python3. pandas / _libs - Ipandas / _libs / src / klib - Ipandas / _libs / src - I / Users / robertbuckley / anaconda3 / envs / pandas - dev / lib / python3. py build_ext - inplace - j 4 running build_ext building 'pandas._libs.window' extension gcc - Wno - unused - result - Wsign - compare - Wunreachable - code - DNDEBUG - g - fwrapv - O3 - Wall - Wstrict - prototypes - I / Users / robertbuckley / anaconda3 / envs / pandas - dev / include - arch x86_64 - I / Users / robertbuckley / anaconda3 / envs / pandas - dev / include - arch x86_64 - Ipandas / _libs - I. ( pandas - dev) bilbo: pandas - rb robertbuckley$ python setup.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |