René's URL Explorer Experiment


Title: How are the submodules set up after cloning? · mlcpp/Matrix · Discussion #69 · GitHub

Open Graph Title: How are the submodules set up after cloning? · mlcpp/Matrix · Discussion #69

X Title: How are the submodules set up after cloning? · mlcpp/Matrix · Discussion #69

Description: How are the submodules set up after cloning?

Open Graph Description: I'm currently working through the Development/Linux section of the readme trying to build everything and I get the following error when running make in my build directory: ~/dev/Matrix/build$ make ...

X Description: I'm currently working through the Development/Linux section of the readme trying to build everything and I get the following error when running make in my build directory: ~/dev/Matrix/build$ m...

Opengraph URL: https://github.com/mlcpp/Matrix/discussions/69

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"QAPage","mainEntity":{"@type":"Question","name":"How are the submodules set up after cloning?","text":"\u003cp dir=\"auto\"\u003eI'm currently working through the Development/Linux section of the readme trying to build everything and I get the following error when running \u003ccode class=\"notranslate\"\u003emake\u003c/code\u003e in my build directory:\u003c/p\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"~/dev/Matrix/build$ make\n[  2%] Built target unary_minus\n[  3%] Built target string_to_double\n[  5%] Built target sqrt\n[  7%] Built target reciprocal\n[  9%] Built target power\n[ 11%] Built target determinant\n[ 13%] Built target slice_select\n[ 14%] Built target inverse\n[ 16%] Built target transpose\n[ 18%] Built target indexing\n[ 20%] Built target argmin_argmax\n[ 21%] Built target min_max\n[ 23%] Built target abs\n[ 24%] Built target concatenate\n[ 26%] Built target addition\n[ 28%] Built target log\n[ 29%] Built target element_wise_multiplication\n[ 31%] Built target exp\n[ 33%] Built target matrix_calc\n[ 34%] Built target slice_matrix\n[ 36%] Built target genfromtxt\n[ 37%] Built target get_mat\n[ 39%] Built target initialize\n[ 41%] Built target view_matrix\n[ 43%] Built target delete_\n[ 45%] Built target matrix_multiplication\n[ 46%] Building CXX object benchmarks/CMakeFiles/BM_unary_minus.dir/BM_unary_minus.cpp.o\n/home/anthony/dev/Matrix/benchmarks/BM_unary_minus.cpp:2:10: fatal error: benchmark/benchmark.h: No such file or directory\n #include \u0026lt;benchmark/benchmark.h\u0026gt;\n          ^~~~~~~~~~~~~~~~~~~~~~~\ncompilation terminated.\nbenchmarks/CMakeFiles/BM_unary_minus.dir/build.make:81: recipe for target 'benchmarks/CMakeFiles/BM_unary_minus.dir/BM_unary_minus.cpp.o' failed\nmake[2]: *** [benchmarks/CMakeFiles/BM_unary_minus.dir/BM_unary_minus.cpp.o] Error 1\nCMakeFiles/Makefile2:1062: recipe for target 'benchmarks/CMakeFiles/BM_unary_minus.dir/all' failed\nmake[1]: *** [benchmarks/CMakeFiles/BM_unary_minus.dir/all] Error 2\nMakefile:102: recipe for target 'all' failed\nmake: *** [all] Error 2\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode class=\"notranslate\"\u003e~/dev/Matrix/build$ make\n[  2%] Built target unary_minus\n[  3%] Built target string_to_double\n[  5%] Built target sqrt\n[  7%] Built target reciprocal\n[  9%] Built target power\n[ 11%] Built target determinant\n[ 13%] Built target slice_select\n[ 14%] Built target inverse\n[ 16%] Built target transpose\n[ 18%] Built target indexing\n[ 20%] Built target argmin_argmax\n[ 21%] Built target min_max\n[ 23%] Built target abs\n[ 24%] Built target concatenate\n[ 26%] Built target addition\n[ 28%] Built target log\n[ 29%] Built target element_wise_multiplication\n[ 31%] Built target exp\n[ 33%] Built target matrix_calc\n[ 34%] Built target slice_matrix\n[ 36%] Built target genfromtxt\n[ 37%] Built target get_mat\n[ 39%] Built target initialize\n[ 41%] Built target view_matrix\n[ 43%] Built target delete_\n[ 45%] Built target matrix_multiplication\n[ 46%] Building CXX object benchmarks/CMakeFiles/BM_unary_minus.dir/BM_unary_minus.cpp.o\n/home/anthony/dev/Matrix/benchmarks/BM_unary_minus.cpp:2:10: fatal error: benchmark/benchmark.h: No such file or directory\n #include \u0026lt;benchmark/benchmark.h\u0026gt;\n          ^~~~~~~~~~~~~~~~~~~~~~~\ncompilation terminated.\nbenchmarks/CMakeFiles/BM_unary_minus.dir/build.make:81: recipe for target 'benchmarks/CMakeFiles/BM_unary_minus.dir/BM_unary_minus.cpp.o' failed\nmake[2]: *** [benchmarks/CMakeFiles/BM_unary_minus.dir/BM_unary_minus.cpp.o] Error 1\nCMakeFiles/Makefile2:1062: recipe for target 'benchmarks/CMakeFiles/BM_unary_minus.dir/all' failed\nmake[1]: *** [benchmarks/CMakeFiles/BM_unary_minus.dir/all] Error 2\nMakefile:102: recipe for target 'all' failed\nmake: *** [all] Error 2\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eI'm not super familiar with git but my understanding is that \u003ccode class=\"notranslate\"\u003elib/\u003c/code\u003e contains some submodules that need to be initialized before building. Currently \u003ccode class=\"notranslate\"\u003elib/benchmark/\u003c/code\u003e and \u003ccode class=\"notranslate\"\u003elib/googletest/\u003c/code\u003e are empty directories for me so I'm wondering how to set this up considering there's no \u003ccode class=\"notranslate\"\u003e.gitsubmodule\u003c/code\u003e file anywhere.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eThanks for the help! Let me know if there's a better place to post this.\u003c/p\u003e","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003eI'm not super familiar with git but my understanding is that lib/ contains some submodules that need to be initialized before building. Currently lib/benchmark/ and lib/googletest/ are empty directories for me so I'm wondering how to set this up considering there's no .gitsubmodule file anywhere.\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cp dir=\"auto\"\u003eIndeed, there's a missing \u003ccode class=\"notranslate\"\u003e.gitmodules\u003c/code\u003e file here, thanks for pointing it out!\u003cbr\u003e\nI will send in a PR to fix that.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eEdit 1: Fixed in \u003ca class=\"issue-link js-issue-link\" data-error-text=\"Failed to load title\" data-id=\"777603917\" data-permission-text=\"Title is private\" data-url=\"https://github.com/mlcpp/Matrix/issues/71\" data-hovercard-type=\"pull_request\" data-hovercard-url=\"/mlcpp/Matrix/pull/71/hovercard\" href=\"https://github.com/mlcpp/Matrix/pull/71\"\u003e#71\u003c/a\u003e.\u003c/p\u003e","upvoteCount":1,"url":"https://github.com/mlcpp/Matrix/discussions/69#discussioncomment-257965"}}}

route-pattern/_view_fragments/Voltron::DiscussionsFragmentsController/show/:user_id/:repository/:discussion_number/discussion_layout(.:format)
route-controllervoltron_discussions_fragments
route-actiondiscussion_layout
fetch-noncev2:f5183f75-d49e-3b17-593a-a2d179f8f230
current-catalog-service-hash9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be
request-id9056:2CE60F:44EE5B:60BA3C:6A4BC9C5
html-safe-nonce86d09ea009690bdc8a0eeda00aee5cd9fc86188b738975011774d39ec3888109
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDU2OjJDRTYwRjo0NEVFNUI6NjBCQTNDOjZBNEJDOUM1IiwidmlzaXRvcl9pZCI6Ijc5NjcwOTUxMzUzNTAyNzg1OTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac07962f60adf41b7369e5aeea788386e527c21c7ee3821a70115e1153e849d68b
hovercard-subject-tagdiscussion:1253541
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/discussions_fragments/discussion_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/Voltron::DiscussionsFragmentsController/show/mlcpp/Matrix/69/discussion_layout
twitter:imagehttps://opengraph.githubassets.com/4dc53762b77bdd2fab5ce019c120f6b58405136480f10dbba6015ea3a2b92977/mlcpp/Matrix/discussions/69
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4dc53762b77bdd2fab5ce019c120f6b58405136480f10dbba6015ea3a2b92977/mlcpp/Matrix/discussions/69
og:image:altI'm currently working through the Development/Linux section of the readme trying to build everything and I get the following error when running make in my build directory: ~/dev/Matrix/build$ make ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None14aa00ce5bdb34d0eefb5facbffd7de9e144c688d8a93ef8df902d5f94b51dd7
turbo-cache-controlno-preview
go-importgithub.com/mlcpp/Matrix git https://github.com/mlcpp/Matrix.git
octolytics-dimension-user_id75084825
octolytics-dimension-user_loginmlcpp
octolytics-dimension-repository_id297047565
octolytics-dimension-repository_nwomlcpp/Matrix
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id297047565
octolytics-dimension-repository_network_root_nwomlcpp/Matrix
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release58b8f89190447502561829f30862aa0a99d53367
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/mlcpp/Matrix/discussions/69#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmlcpp%2FMatrix%2Fdiscussions%2F69
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmlcpp%2FMatrix%2Fdiscussions%2F69
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fdiscussions_fragments%2Fdiscussion_layout&source=header-repo&source_repo=mlcpp%2FMatrix
Reloadhttps://github.com/mlcpp/Matrix/discussions/69
Reloadhttps://github.com/mlcpp/Matrix/discussions/69
Reloadhttps://github.com/mlcpp/Matrix/discussions/69
Please reload this pagehttps://github.com/mlcpp/Matrix/discussions/69
mlcpp https://github.com/mlcpp
Matrixhttps://github.com/mlcpp/Matrix
Please reload this pagehttps://github.com/mlcpp/Matrix/discussions/69
Notifications https://github.com/login?return_to=%2Fmlcpp%2FMatrix
Fork 14 https://github.com/login?return_to=%2Fmlcpp%2FMatrix
Star 38 https://github.com/login?return_to=%2Fmlcpp%2FMatrix
Code https://github.com/mlcpp/Matrix
Issues 2 https://github.com/mlcpp/Matrix/issues
Pull requests 0 https://github.com/mlcpp/Matrix/pulls
Discussions https://github.com/mlcpp/Matrix/discussions
Actions https://github.com/mlcpp/Matrix/actions
Projects https://github.com/mlcpp/Matrix/projects
Wiki https://github.com/mlcpp/Matrix/wiki
Security and quality 0 https://github.com/mlcpp/Matrix/security
Insights https://github.com/mlcpp/Matrix/pulse
Code https://github.com/mlcpp/Matrix
Issues https://github.com/mlcpp/Matrix/issues
Pull requests https://github.com/mlcpp/Matrix/pulls
Discussions https://github.com/mlcpp/Matrix/discussions
Actions https://github.com/mlcpp/Matrix/actions
Projects https://github.com/mlcpp/Matrix/projects
Wiki https://github.com/mlcpp/Matrix/wiki
Security and quality https://github.com/mlcpp/Matrix/security
Insights https://github.com/mlcpp/Matrix/pulse
Answered https://github.com/mlcpp/Matrix/discussions/69#discussioncomment-257965
ashok-arorahttps://github.com/ashok-arora
anthonybuo https://github.com/anthonybuo
Q&Ahttps://github.com/mlcpp/Matrix/discussions/categories/q-a
How are the submodules set up after cloning? https://github.com/mlcpp/Matrix/discussions/69#top
anthonybuo https://github.com/anthonybuo
Answered https://github.com/mlcpp/Matrix/discussions/69#discussioncomment-257965
ashok-arorahttps://github.com/ashok-arora
Return to tophttps://github.com/mlcpp/Matrix/discussions/69#top
Please reload this pagehttps://github.com/mlcpp/Matrix/discussions/69
https://github.com/mlcpp/Matrix/discussions/69
anthonybuo https://github.com/anthonybuo
Jan 2, 2021 https://github.com/mlcpp/Matrix/discussions/69#discussion-1253541
Give feedback.https://github.com/mlcpp/Matrix/discussions/69
ashok-arora https://github.com/ashok-arora
Jan 3, 2021 https://github.com/mlcpp/Matrix/discussions/69#discussioncomment-257965
#71https://github.com/mlcpp/Matrix/pull/71
View full answer https://github.com/mlcpp/Matrix/discussions/69#discussioncomment-257965
Oldest https://github.com/mlcpp/Matrix/discussions/69?sort=old
Newest https://github.com/mlcpp/Matrix/discussions/69?sort=new
Top https://github.com/mlcpp/Matrix/discussions/69?sort=top
Please reload this pagehttps://github.com/mlcpp/Matrix/discussions/69
https://github.com/mlcpp/Matrix/discussions/69
Please reload this pagehttps://github.com/mlcpp/Matrix/discussions/69
https://github.com/mlcpp/Matrix/discussions/69
ashok-arora https://github.com/ashok-arora
Jan 3, 2021 https://github.com/mlcpp/Matrix/discussions/69#discussioncomment-257965
#71https://github.com/mlcpp/Matrix/pull/71
Give feedback.https://github.com/mlcpp/Matrix/discussions/69
aniketsharma00411https://github.com/aniketsharma00411
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmlcpp%2FMatrix%2Fdiscussions%2F69
🙏 Q&A https://github.com/mlcpp/Matrix/discussions/categories/q-a
https://github.com/anthonybuo
https://github.com/ashok-arora
https://github.com/mlcpp/Matrix/discussions/69
https://github.com/settings/replies?return_to=1
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.