Title: Build failures on OS X · Issue #379 · stepcode/stepcode · GitHub
Open Graph Title: Build failures on OS X · Issue #379 · stepcode/stepcode
X Title: Build failures on OS X · Issue #379 · stepcode/stepcode
Description: Hello, I'm trying to compile the example but it is failing. I decided to build the library itself to see what's happening there, and that passed except make install (which is optional) fails. My toolchain: CMake version 3.9.4 OS X 10.9.5...
Open Graph Description: Hello, I'm trying to compile the example but it is failing. I decided to build the library itself to see what's happening there, and that passed except make install (which is optional) fails. My to...
X Description: Hello, I'm trying to compile the example but it is failing. I decided to build the library itself to see what's happening there, and that passed except make install (which is optional) fail...
Opengraph URL: https://github.com/stepcode/stepcode/issues/379
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Build failures on OS X","articleBody":"Hello, I'm trying to compile the example but it is failing. I decided to build the library itself to see what's happening there, and that passed except `make install` (which is optional) fails.\r\n\r\nMy toolchain:\r\n\r\n - CMake version 3.9.4\r\n - OS X 10.9.5\r\n - clang / Apple LLVM version 6.0 (clang-600.0.57)\r\n\r\nHere is what actually happens during the builds:\r\n\r\n $ pwd\r\n (...)/stepcode\r\n $ mkdir build; cd build\r\n $ cmake .. -DSC_BUILD_SCHEMAS=ALL\r\n (... successful-looking messages except for some warnings:)\r\n CMake Deprecation Warning at CMakeLists.txt:58 (CMAKE_POLICY):\r\n The OLD behavior for policy CMP0026 will be removed from a future version\r\n of CMake.\r\n \r\n The cmake-policies(7) manual explains that the OLD behaviors of all\r\n policies are deprecated and that a policy should be set to OLD only under\r\n specific short-term circumstances. Projects should be ported to the NEW\r\n behavior and not rely on setting a policy to OLD.\r\n (...)\r\n -- Configuring done\r\n CMake Warning (dev):\r\n Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run \"cmake\r\n --help-policy CMP0042\" for policy details. Use the cmake_policy command to\r\n set the policy and suppress this warning.\r\n \r\n MACOSX_RPATH is not specified for the following targets:\r\n \r\n base\r\n express\r\n libexppp\r\n sdai_IFC4\r\n sdai_ISO15926\r\n sdai_ap203\r\n sdai_ap203e2\r\n sdai_ap209\r\n sdai_ap210e2\r\n sdai_ap210e3\r\n sdai_ap214e3\r\n sdai_ap219\r\n sdai_ap227\r\n sdai_ap235\r\n sdai_ap238\r\n sdai_ap239\r\n sdai_ap240\r\n sdai_ap242\r\n sdai_ifc2x3\r\n sdai_pdm\r\n stepcore\r\n stepdai\r\n stepeditor\r\n steplazyfile\r\n steputils\r\n \r\n This warning is for project developers. Use -Wno-dev to suppress it.\r\n \r\n -- Generating done\r\n -- Build files have been written to: (...)/stepcode/build\r\n $ make\r\n (... just some benign warnings about style)\r\n $ make install\r\n (... \"up-to-date\" or \"installing\")\r\n -- Installing: (...)/stepcode/../sc-install/bin/schema_scanner\r\n CMake Error at schemas/sdai_ISO15926/cmake_install.cmake:31 (file):\r\n file INSTALL cannot find\r\n \"(...)/stepcode/build/schemas/sdai_ISO15926/entity/SdaiComposition_of_individual.h\".\r\n Call Stack (most recent call first):\r\n data/cmake_install.cmake:36 (include)\r\n cmake_install.cmake:43 (include)\r\n \r\n \r\n make: *** [install] Error 1\r\n\r\nAnd when trying to build the example:\r\n\r\n $ pwd\r\n (...)/stepcode/example/ap203min\r\n $ mkdir build; cd build\r\n $ cmake .. -DSTEPCODE_ROOT_DIR=../../..\r\n (... successful except for the same two CMake warnings)\r\n -- Generating done\r\n -- Build files have been written to: (...)/stepcode/example/ap203min/build\r\n $ make\r\n (... more style warnings but successful-looking compilation until:)\r\n Scanning dependencies of target express\r\n [ 5%] Building C object sc/src/express/CMakeFiles/express.dir/symbol.c.o\r\n [ 6%] Building C object sc/src/express/CMakeFiles/express.dir/type.c.o\r\n [ 6%] Building C object sc/src/express/CMakeFiles/express.dir/variable.c.o\r\n [ 7%] Building C object sc/src/express/CMakeFiles/express.dir/expr.c.o\r\n [ 7%] Building C object sc/src/express/CMakeFiles/express.dir/entity.c.o\r\n [ 7%] Building C object sc/src/express/CMakeFiles/express.dir/caseitem.c.o\r\n [ 8%] Building C object sc/src/express/CMakeFiles/express.dir/stmt.c.o\r\n [ 8%] Building C object sc/src/express/CMakeFiles/express.dir/alg.c.o\r\n [ 10%] Building C object sc/src/express/CMakeFiles/express.dir/scope.c.o\r\n [ 10%] Building C object sc/src/express/CMakeFiles/express.dir/schema.c.o\r\n [ 11%] Building C object sc/src/express/CMakeFiles/express.dir/resolve.c.o\r\n [ 11%] Building C object sc/src/express/CMakeFiles/express.dir/lexact.c.o\r\n [ 12%] Building C object sc/src/express/CMakeFiles/express.dir/linklist.c.o\r\n [ 12%] Building C object sc/src/express/CMakeFiles/express.dir/error.c.o\r\n [ 13%] Building C object sc/src/express/CMakeFiles/express.dir/dict.c.o\r\n [ 13%] Building C object sc/src/express/CMakeFiles/express.dir/hash.c.o\r\n [ 13%] Building C object sc/src/express/CMakeFiles/express.dir/memory.c.o\r\n [ 15%] Building C object sc/src/express/CMakeFiles/express.dir/object.c.o\r\n [ 15%] Building C object sc/src/express/CMakeFiles/express.dir/express.c.o\r\n [ 16%] Building CXX object sc/src/express/CMakeFiles/express.dir/ordered_attrs.cc.o\r\n [ 16%] Building C object sc/src/express/CMakeFiles/express.dir/info.c.o\r\n /Stuff/Schewl/UNI2/UROP/printer-sim/2018-08-30-ir/stepcode/src/express/info.c:8:12: fatal error: 'sc_version_string.h' file not found\r\n # include \"sc_version_string.h\"\r\n ^\r\n 1 error generated.\r\n make[2]: *** [sc/src/express/CMakeFiles/express.dir/info.c.o] Error 1\r\n make[1]: *** [sc/src/express/CMakeFiles/express.dir/all] Error 2\r\n make: *** [all] Error 2\r\n\r\nIs there a problem with the path? I can see the `sc_version_string.h` file in the `build` directory of the library itself. Is the library supposed to be installed fully before the example can build?","author":{"url":"https://github.com/AureaNoire","@type":"Person","name":"AureaNoire"},"datePublished":"2018-09-05T10:33:27Z","url":"https://github.com/stepcode/stepcode/issues/379"}
| 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:a008a80d-1fce-a1b9-076f-bdcdd2de2860 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DAE2:24C069:1FE79C:2C03A4:6B0467D4 |
| html-safe-nonce | 994f22f7664ac7816fa14c0eb61bd6a78d1c1ede55f61a94d26ead46805d1c76 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUUyOjI0QzA2OToxRkU3OUM6MkMwM0E0OjZCMDQ2N0Q0IiwidmlzaXRvcl9pZCI6IjY3MzM5NTk4NTA4NzI4MjU4MTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 13db2885a1f17e370cf5ee86445ef8e1f0d9f49b438cfd322c75580610e6a88f |
| hovercard-subject-tag | issue:357166678 |
| 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/stepcode/stepcode/379/issue_layout |
| twitter:image | https://opengraph.githubassets.com/eecb766bce578ed413c6a239b2cd8fee8357af7641ca7521d2b78e35ac4f69d0/stepcode/stepcode/issues/379 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/eecb766bce578ed413c6a239b2cd8fee8357af7641ca7521d2b78e35ac4f69d0/stepcode/stepcode/issues/379 |
| og:image:alt | Hello, I'm trying to compile the example but it is failing. I decided to build the library itself to see what's happening there, and that passed except make install (which is optional) fails. My to... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AureaNoire |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f |
| turbo-cache-control | no-preview |
| go-import | github.com/stepcode/stepcode git https://github.com/stepcode/stepcode.git |
| octolytics-dimension-user_id | 1761770 |
| octolytics-dimension-user_login | stepcode |
| octolytics-dimension-repository_id | 1975387 |
| octolytics-dimension-repository_nwo | stepcode/stepcode |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1975387 |
| octolytics-dimension-repository_network_root_nwo | stepcode/stepcode |
| 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 | ca4d07a7cef4e4b75f821dc25e7300d80c1450a9 |
| ui-target | full |
| 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