Title: Build under macOS 10.13.1 fails · Issue #304 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Build under macOS 10.13.1 fails · Issue #304 · IfcOpenShell/IfcOpenShell
X Title: Build under macOS 10.13.1 fails · Issue #304 · IfcOpenShell/IfcOpenShell
Description: Unfortunately, the build doesn't work under macOS (10.13.1) since one of the last changes in IfcOpenShell. Xcode 9.0 (9A235) is installed. Kurt ./build-all.py This script fetches and builds IfcOpenShell and its dependencies Script config...
Open Graph Description: Unfortunately, the build doesn't work under macOS (10.13.1) since one of the last changes in IfcOpenShell. Xcode 9.0 (9A235) is installed. Kurt ./build-all.py This script fetches and builds IfcOpen...
X Description: Unfortunately, the build doesn't work under macOS (10.13.1) since one of the last changes in IfcOpenShell. Xcode 9.0 (9A235) is installed. Kurt ./build-all.py This script fetches and builds Ifc...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/304
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Build under macOS 10.13.1 fails","articleBody":"Unfortunately, the build doesn't work under macOS (10.13.1) since one of the last changes in IfcOpenShell.\r\n\r\nXcode 9.0 (9A235) is installed.\r\n\r\nKurt\r\n\r\n```\r\n./build-all.py \r\nThis script fetches and builds IfcOpenShell and its dependencies\r\n\r\nScript configuration:\r\n\r\n\r\n* Target Architecture = x86_64\r\n - Whether 32-bit (i686) or 64-bit (x86_64) will be built.\r\n* USE_OCCT = True\r\n - Compiling against official Open Cascade\r\n* Dependency Directory = /Users/kuba/dev/projects-bim/IfcOpenShell/build/Darwin/x86_64/10.9\r\n - The directory where IfcOpenShell dependencies are installed.\r\n* Build Config Type = RelWithDebInfo\r\n - The used build configuration type for the dependencies.\r\n Defaults to RelWithDebInfo if not specified.\r\n* IFCOS_NUM_BUILD_PROCS = 5\r\n - How many compiler processes may be run in parallel.\r\n\r\nusing command log file '/Users/kuba/dev/projects-bim/IfcOpenShell/build/Darwin/x86_64/10.9/logs/20171124.log'\r\nCollecting dependencies:\r\nFound existing cmake-3.4.1, skipping\r\nFound existing pcre-8.39, skipping\r\nFound existing swig, skipping\r\nFound existing occt-7.1.0, skipping\r\nFound existing libxml2-2.9.3, skipping\r\nFound existing OpenCOLLADA, skipping\r\nFound existing python-3.6.2, skipping\r\nFound existing boost-1.59.0, skipping\r\nFound existing icu-56.1, skipping\r\nBuilding IfcOpenShell:\r\nConfiguring executables...\r\n----------------------------------------------------------------------\r\nCMake Error at /Users/kuba/dev/projects-bim/IfcOpenShell/build/Darwin/x86_64/10.9/install/cmake-3.4.1/share/cmake-3.4/Modules/CMakeTestCCompiler.cmake:61 (message):\r\n The C compiler\r\n \"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc\"\r\n is not able to compile a simple test program.\r\n\r\n It fails with the following output:\r\n\r\n Change Dir: /Users/kuba/dev/projects-bim/IfcOpenShell/build/Darwin/x86_64/10.9/build/ifcopenshell/executables/CMakeFiles/CMakeTmp\r\n\r\n \r\n\r\n Run Build Command:\"/usr/bin/make\" \"cmTC_7109c/fast\"\r\n\r\n /Applications/Xcode.app/Contents/Developer/usr/bin/make -f\r\n CMakeFiles/cmTC_7109c.dir/build.make CMakeFiles/cmTC_7109c.dir/build\r\n\r\n Building C object CMakeFiles/cmTC_7109c.dir/testCCompiler.c.o\r\n\r\n \r\n /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc\r\n -fPIC -fdata-sections -ffunction-sections -fvisibility=hidden\r\n -mmacosx-version-min=10.9 -o CMakeFiles/cmTC_7109c.dir/testCCompiler.c.o -c\r\n /Users/kuba/dev/projects-bim/IfcOpenShell/build/Darwin/x86_64/10.9/build/ifcopenshell/executables/CMakeFiles/CMakeTmp/testCCompiler.c\r\n\r\n\r\n Linking C executable cmTC_7109c\r\n\r\n \r\n /Users/kuba/dev/projects-bim/IfcOpenShell/build/Darwin/x86_64/10.9/install/cmake-3.4.1/bin/cmake\r\n -E cmake_link_script CMakeFiles/cmTC_7109c.dir/link.txt --verbose=1\r\n\r\n \r\n /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc\r\n -fPIC -fdata-sections -ffunction-sections -fvisibility=hidden\r\n -mmacosx-version-min=10.9 -Wl,-search_paths_first\r\n -Wl,-headerpad_max_install_names -Wl,--gc-sections\r\n -mmacosx-version-min=10.9 CMakeFiles/cmTC_7109c.dir/testCCompiler.c.o -o\r\n cmTC_7109c\r\n\r\n ld: unknown option: --gc-sections\r\n\r\n clang: error: linker command failed with exit code 1 (use -v to see\r\n invocation)\r\n\r\n make[1]: *** [cmTC_7109c] Error 1\r\n\r\n make: *** [cmTC_7109c/fast] Error 2\r\n\r\n \r\n\r\n \r\n\r\n CMake will not be able to correctly generate this project.\r\nCall Stack (most recent call first):\r\n CMakeLists.txt:22 (project)\r\n\r\n\r\n\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \"./build-all.py\", line 548, in \u003cmodule>\r\n \"-DCMAKE_INSTALL_PREFIX=\" \"%s/install/ifcopenshell\" % (DEPS_DIR,)], cmake_dir=CMAKE_DIR, cwd=executables_dir)\r\n File \"./build-all.py\", line 265, in run_cmake\r\n __check_call__([cmake_path, P]+cmake_args+[\"-DCMAKE_BUILD_TYPE=%s\" % (BUILD_CFG,)], cwd=cwd)\r\n File \"./build-all.py\", line 227, in __check_call__\r\n raise Exception(\"Command `%s` returned exit code %d\" % (\" \".join(cmds), proc.returncode))\r\nException: Command `/Users/kuba/dev/projects-bim/IfcOpenShell/build/Darwin/x86_64/10.9/install/cmake-3.4.1/bin/cmake /Users/kuba/dev/projects-bim/IfcOpenShell/cmake -DBOOST_ROOT=/Users/kuba/dev/projects-bim/IfcOpenShell/build/Darwin/x86_64/10.9/install/boost-1.59.0 -DOCC_INCLUDE_DIR=/Users/kuba/dev/projects-bim/IfcOpenShell/build/Darwin/x86_64/10.9/install/occt-7.1.0/include/opencascade -DOCC_LIBRARY_DIR=/Users/kuba/dev/projects-bim/IfcOpenShell/build/Darwin/x86_64/10.9/install/occt-7.1.0/lib -DOPENCOLLADA_INCLUDE_DIR=/Users/kuba/dev/projects-bim/IfcOpenShell/build/Darwin/x86_64/10.9/install/OpenCOLLADA/include/opencollada -DOPENCOLLADA_LIBRARY_DIR=/Users/kuba/dev/projects-bim/IfcOpenShell/build/Darwin/x86_64/10.9/install/OpenCOLLADA/lib/opencollada -DICU_INCLUDE_DIR=/Users/kuba/dev/projects-bim/IfcOpenShell/build/Darwin/x86_64/10.9/install/icu-56.1/include -DICU_LIBRARY_DIR=/Users/kuba/dev/projects-bim/IfcOpenShell/build/Darwin/x86_64/10.9/install/icu-56.1/lib -DPCRE_LIBRARY_DIR=/Users/kuba/dev/projects-bim/IfcOpenShell/build/Darwin/x86_64/10.9/install/pcre-8.39/lib -DBUILD_IFCPYTHON=OFF -DUSE_MMAP=OFF -DCMAKE_INSTALL_PREFIX=/Users/kuba/dev/projects-bim/IfcOpenShell/build/Darwin/x86_64/10.9/install/ifcopenshell -DCMAKE_BUILD_TYPE=RelWithDebInfo` returned exit code 1\r\n```","author":{"url":"https://github.com/kurb70","@type":"Person","name":"kurb70"},"datePublished":"2017-11-24T19:14:24Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/304"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:00d6cb8b-0645-b713-b769-f2941f70f46c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9136:167446:4F7A7:6C6E3:6B04A358 |
| html-safe-nonce | 561187fa2e5a328144c74f6d33a76154b306c8553f10376c1c0821ce5e080291 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTM2OjE2NzQ0Njo0RjdBNzo2QzZFMzo2QjA0QTM1OCIsInZpc2l0b3JfaWQiOiIxODAyNTE3MTQ2NTA1NjE4MjY0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1914021841f36b47651414e2d0c7a2bd1be8de7988c7993d9adf8f5138d4c8a1 |
| hovercard-subject-tag | issue:276685996 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IfcOpenShell/IfcOpenShell/304/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6d05df347c2be4ad69fc3e9b0811e65665844d3a1d6a28d7427c65eb50691df1/IfcOpenShell/IfcOpenShell/issues/304 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6d05df347c2be4ad69fc3e9b0811e65665844d3a1d6a28d7427c65eb50691df1/IfcOpenShell/IfcOpenShell/issues/304 |
| og:image:alt | Unfortunately, the build doesn't work under macOS (10.13.1) since one of the last changes in IfcOpenShell. Xcode 9.0 (9A235) is installed. Kurt ./build-all.py This script fetches and builds IfcOpen... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kurb70 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 188497a0f45a7aa8f7c866faa1950d1a7f8d82b59416adf549b222ad1d1dd19b |
| turbo-cache-control | no-preview |
| go-import | github.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git |
| octolytics-dimension-user_id | 13692563 |
| octolytics-dimension-user_login | IfcOpenShell |
| octolytics-dimension-repository_id | 40473201 |
| octolytics-dimension-repository_nwo | IfcOpenShell/IfcOpenShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 40473201 |
| octolytics-dimension-repository_network_root_nwo | IfcOpenShell/IfcOpenShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 557cfbac6cdb532730c95c90f2cefdc0c4128029 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width