Title: cmake failure · Issue #71 · ndarray/Boost.NumPy · GitHub
Open Graph Title: cmake failure · Issue #71 · ndarray/Boost.NumPy
X Title: cmake failure · Issue #71 · ndarray/Boost.NumPy
Description: I normally us scons, now trying cmake. I'm not familiar with cmake. Usually use: python3 ~/scons/bootstrap.py --config=force --debug=stacktrace --with-boost-include=$(pwd)/../include --with-boost-lib=$(pwd)/../lib --with-eigen-include=/u...
Open Graph Description: I normally us scons, now trying cmake. I'm not familiar with cmake. Usually use: python3 ~/scons/bootstrap.py --config=force --debug=stacktrace --with-boost-include=$(pwd)/../include --with-boost-l...
X Description: I normally us scons, now trying cmake. I'm not familiar with cmake. Usually use: python3 ~/scons/bootstrap.py --config=force --debug=stacktrace --with-boost-include=$(pwd)/../include --with-boo...
Opengraph URL: https://github.com/ndarray/Boost.NumPy/issues/71
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"cmake failure","articleBody":"I normally us scons, now trying cmake. I'm not familiar with cmake.\r\n\r\nUsually use:\r\npython3 ~/scons/bootstrap.py --config=force --debug=stacktrace --with-boost-include=$(pwd)/../include --with-boost-lib=$(pwd)/../lib --with-eigen-include=/usr/include/eigen3 --prefix=$(pwd)/../.local install CCFLAGS='-g -O3 -march=native' --boost-python-lib=boost_python3\r\n\r\nNow to convert to cmake, I have\r\nAt least these 2 problems:\r\n1. wrong python include! (2.7, should be 3.5)\r\n2. wrong eigen include path\r\n\r\nI started with:\r\n cmake -DNDARRAY_SWIG=OFF -DPYTHON_EXECUTABLE=/usr/bin/python3 ..\r\n-- Boost version: 1.60.0\r\n-- Found the following Boost libraries:\r\n-- unit_test_framework\r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: /home/nbecker/ndarray.new.test/build\r\n\r\n[nbecker@nbecker2 build]$ make VERBOSE=1\r\n/usr/bin/cmake -H/home/nbecker/ndarray.new.test -B/home/nbecker/ndarray.new.test/build --check-build-system CMakeFiles/Makefile.cmake 0\r\n/usr/bin/cmake -E cmake_progress_start /home/nbecker/ndarray.new.test/build/CMakeFiles /home/nbecker/ndarray.new.test/build/CMakeFiles/progress.marks\r\nmake -f CMakeFiles/Makefile2 all\r\nmake[1]: Entering directory '/home/nbecker/ndarray.new.test/build'\r\nmake -f include/CMakeFiles/preprocess_includes.dir/build.make include/CMakeFiles/preprocess_includes.dir/depend\r\nmake[2]: Entering directory '/home/nbecker/ndarray.new.test/build'\r\ncd /home/nbecker/ndarray.new.test/build \u0026\u0026 /usr/bin/cmake -E cmake_depends \"Unix Makefiles\" /home/nbecker/ndarray.new.test /home/nbecker/ndarray.new.test/include /home/nbecker/ndarray.new.test/build /home/nbecker/ndarray.new.test/build/include /home/nbecker/ndarray.new.test/build/include/CMakeFiles/preprocess_includes.dir/DependInfo.cmake --color=\r\nmake[2]: Leaving directory '/home/nbecker/ndarray.new.test/build'\r\nmake -f include/CMakeFiles/preprocess_includes.dir/build.make include/CMakeFiles/preprocess_includes.dir/build\r\nmake[2]: Entering directory '/home/nbecker/ndarray.new.test/build'\r\nmake[2]: Nothing to be done for 'include/CMakeFiles/preprocess_includes.dir/build'.\r\nmake[2]: Leaving directory '/home/nbecker/ndarray.new.test/build'\r\n[ 38%] Built target preprocess_includes\r\nmake -f tests/CMakeFiles/ndarray-eigen.dir/build.make tests/CMakeFiles/ndarray-eigen.dir/depend\r\nmake[2]: Entering directory '/home/nbecker/ndarray.new.test/build'\r\ncd /home/nbecker/ndarray.new.test/build \u0026\u0026 /usr/bin/cmake -E cmake_depends \"Unix Makefiles\" /home/nbecker/ndarray.new.test /home/nbecker/ndarray.new.test/tests /home/nbecker/ndarray.new.test/build /home/nbecker/ndarray.new.test/build/tests /home/nbecker/ndarray.new.test/build/tests/CMakeFiles/ndarray-eigen.dir/DependInfo.cmake --color=\r\nmake[2]: Leaving directory '/home/nbecker/ndarray.new.test/build'\r\nmake -f tests/CMakeFiles/ndarray-eigen.dir/build.make tests/CMakeFiles/ndarray-eigen.dir/build\r\nmake[2]: Entering directory '/home/nbecker/ndarray.new.test/build'\r\n[ 46%] Building CXX object tests/CMakeFiles/ndarray-eigen.dir/ndarray-eigen.cc.o\r\ncd /home/nbecker/ndarray.new.test/build/tests \u0026\u0026 /usr/lib64/ccache/c++ -I/home/nbecker/ndarray.new.test/include -I/usr/include/python2.7 -I/home/nbecker/.local/lib/python3.5/site-packages/numpy/core/include -I/usr/include/eigen3/include -std=c++11 -o CMakeFiles/ndarray-eigen.dir/ndarray-eigen.cc.o -c /home/nbecker/ndarray.new.test/tests/ndarray-eigen.cc\r\nIn file included from /home/nbecker/ndarray.new.test/tests/ndarray-eigen.cc:11:0:\r\n/home/nbecker/ndarray.new.test/include/ndarray/eigen.h:26:22: fatal error: Eigen/Core: No such file or directory\r\n #include \"Eigen/Core\"\r\n ^\r\ncompilation terminated.\r\ntests/CMakeFiles/ndarray-eigen.dir/build.make:62: recipe for target 'tests/CMakeFiles/ndarray-eigen.dir/ndarray-eigen.cc.o' failed\r\nmake[2]: *** [tests/CMakeFiles/ndarray-eigen.dir/ndarray-eigen.cc.o] Error 1\r\nmake[2]: Leaving directory '/home/nbecker/ndarray.new.test/build'\r\nCMakeFiles/Makefile2:146: recipe for target 'tests/CMakeFiles/ndarray-eigen.dir/all' failed\r\nmake[1]: *** [tests/CMakeFiles/ndarray-eigen.dir/all] Error 2\r\nmake[1]: Leaving directory '/home/nbecker/ndarray.new.test/build'\r\nMakefile:138: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n[nbecker@nbecker2 build]$ ","author":{"url":"https://github.com/nbecker","@type":"Person","name":"nbecker"},"datePublished":"2016-12-01T19:18:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/71/Boost.NumPy/issues/71"}
| 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:39a93676-041e-4372-8a5d-90366de46c94 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E104:26EFB9:2175BB5:2CCDD9D:69705CD3 |
| html-safe-nonce | 954ec71874f437fb2e9542f12b735de8c37d8e7e15a6f167a0932e637cfad23d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTA0OjI2RUZCOToyMTc1QkI1OjJDQ0REOUQ6Njk3MDVDRDMiLCJ2aXNpdG9yX2lkIjoiMzEzMDg2MTQ4MjMxNTg0OTc5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4c26c9a1c8ae4cc6908179ea4fe0a62d7708d568a1457c3723a63e7d79f0df6f |
| hovercard-subject-tag | issue:192936902 |
| 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/ndarray/Boost.NumPy/71/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1c973c625664817cce3014921554c6fbfb83c6e4cbb6de605b0b1ae120e32b4b/ndarray/Boost.NumPy/issues/71 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1c973c625664817cce3014921554c6fbfb83c6e4cbb6de605b0b1ae120e32b4b/ndarray/Boost.NumPy/issues/71 |
| og:image:alt | I normally us scons, now trying cmake. I'm not familiar with cmake. Usually use: python3 ~/scons/bootstrap.py --config=force --debug=stacktrace --with-boost-include=$(pwd)/../include --with-boost-l... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nbecker |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| go-import | github.com/ndarray/Boost.NumPy git https://github.com/ndarray/Boost.NumPy.git |
| octolytics-dimension-user_id | 1451802 |
| octolytics-dimension-user_login | ndarray |
| octolytics-dimension-repository_id | 3588766 |
| octolytics-dimension-repository_nwo | ndarray/Boost.NumPy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3588766 |
| octolytics-dimension-repository_network_root_nwo | ndarray/Boost.NumPy |
| 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 | 7d6181066430cc06553c8396ca201e194ae33cb9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width