{"id":8466,"date":"2024-05-27T10:34:48","date_gmt":"2024-05-27T10:34:48","guid":{"rendered":"https:\/\/3dcoat.com\/documentation\/?post_type=manual_documentation&#038;p=8466"},"modified":"2024-05-27T10:34:49","modified_gmt":"2024-05-27T10:34:49","slug":"how-to-compile-spacenavd-on-non-ubuntu-distro","status":"publish","type":"manual_documentation","link":"https:\/\/3dcoat.com\/documentation\/manual\/navigation\/navigation-using-3dconnexion-devices\/how-to-compile-spacenavd-on-non-ubuntu-distro\/","title":{"rendered":"How to compile Spacenavd on non Ubuntu distro"},"content":{"rendered":"\n<p>by <strong><a href=\"https:\/\/3dcoat.com\/forum\/index.php?\/profile\/45464-sakru\/&amp;wr=eyJhcHAiOiJmb3J1bXMiLCJtb2R1bGUiOiJmb3J1bXMtY29tbWVudCIsImlkXzEiOjMwNDU0LCJpZF8yIjoxOTUwMzh9\">Sakru<\/a><\/strong><\/p>\n\n\n\n<p>So, i decieded to spend some time and get Spacenav working on non ubuntu based distro. Tried to adapt what i did on CL. This guide should work on other distros like Arch, Opensuse and Fedora.<br>Before you start, ensure that you have the following dependencies installed: Development tools (GCC, Make), CMake, X11 development libraries, libspnav.<\/p>\n\n\n\n<p>For most distributions, you can install these dependencies using your package manager:<\/p>\n\n\n\n<p>Fedora: sudo dnf install gcc make cmake libX11-devel libspnav-devel<\/p>\n\n\n\n<p>Arch Linux: sudo pacman -S base-devel cmake libx11 libspnav<\/p>\n\n\n\n<p>OpenSuse: sudo zypper install gcc make cmake libX11-devel libspnav-devel<\/p>\n\n\n\n<p>1. Clone the Spacenavd Repository<\/p>\n\n\n\n<p>git clone&nbsp;<a href=\"https:\/\/github.com\/FreeSpacenav\/spacenavd.git\" rel=\"noreferrer noopener\" target=\"_blank\">https:\/\/github.com\/FreeSpacenav\/spacenavd.git<\/a><br>cd spacenavd<\/p>\n\n\n\n<p>2. Run CMake to configure the build<\/p>\n\n\n\n<p>cmake.<\/p>\n\n\n\n<p>3. Compile the source code<\/p>\n\n\n\n<p>make<\/p>\n\n\n\n<p>4. Install spacenavd<\/p>\n\n\n\n<p>sudo make install<\/p>\n\n\n\n<p>5. Set up and enable the spacenavd service<\/p>\n\n\n\n<p>sudo nano \/etc\/systemd\/system\/spacenavd.service<\/p>\n\n\n\n<p>Add the following content to the file:<\/p>\n\n\n\n<p>[Unit]<br>Description=Spacenavd Service<br>After=network.target<\/p>\n\n\n\n<p>[Service]<br>ExecStart=\/usr\/local\/bin\/spacenavd -d<br>Restart=always<\/p>\n\n\n\n<p>[Install]<br>WantedBy=multi-user.target<\/p>\n\n\n\n<p>6. Reload Systemd Deamn and start the service<\/p>\n\n\n\n<p>sudo systemctl daemon-reload<br>sudo systemctl enable spacenavd<br>sudo systemctl start spacenavd<\/p>\n\n\n\n<p>Ensure that spacenavd is running without errors:<\/p>\n\n\n\n<p>systemctl status spacenavd<\/p>\n\n\n\n<p><br>If you have any questions, <a href=\"https:\/\/3dcoat.com\/forum\/index.php?\/topic\/30454-how-to-compile-spacenavd-on-non-ubuntu-distro\/#comment-195038\">feel free to ask<\/a>.<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":5921,"menu_order":1,"template":"","manualdocumentationcategory":[9],"manual_doc_tag":[],"class_list":["post-8466","manual_documentation","type-manual_documentation","status-publish","hentry","manualdocumentationcategory-manual"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to compile Spacenavd on non Ubuntu distro - Documentaci\u00f3n 3DCoat<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/3dcoat.com\/documentation\/manual\/navigation\/navigation-using-3dconnexion-devices\/how-to-compile-spacenavd-on-non-ubuntu-distro\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to compile Spacenavd on non Ubuntu distro - Documentaci\u00f3n 3DCoat\" \/>\n<meta property=\"og:description\" content=\"by Sakru So, i decieded to spend some time and get Spacenav working on non ubuntu based distro. Tried to adapt what i did on CL. This guide should work on other distros like Arch, Opensuse and Fedora.Before you start, ensure that you have the following dependencies installed: Development tools (GCC, Make), CMake, X11 development [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/3dcoat.com\/documentation\/manual\/navigation\/navigation-using-3dconnexion-devices\/how-to-compile-spacenavd-on-non-ubuntu-distro\/\" \/>\n<meta property=\"og:site_name\" content=\"Documentaci\u00f3n 3DCoat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/3DCoat\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-27T10:34:49+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@3DCoatOfficial\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/3dcoat.com\/documentation\/manual\/navigation\/navigation-using-3dconnexion-devices\/how-to-compile-spacenavd-on-non-ubuntu-distro\/\",\"url\":\"https:\/\/3dcoat.com\/documentation\/manual\/navigation\/navigation-using-3dconnexion-devices\/how-to-compile-spacenavd-on-non-ubuntu-distro\/\",\"name\":\"How to compile Spacenavd on non Ubuntu distro - Documentaci\u00f3n 3DCoat\",\"isPartOf\":{\"@id\":\"https:\/\/3dcoat.com\/documentation\/#website\"},\"datePublished\":\"2024-05-27T10:34:48+00:00\",\"dateModified\":\"2024-05-27T10:34:49+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/3dcoat.com\/documentation\/manual\/navigation\/navigation-using-3dconnexion-devices\/how-to-compile-spacenavd-on-non-ubuntu-distro\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/3dcoat.com\/documentation\/manual\/navigation\/navigation-using-3dconnexion-devices\/how-to-compile-spacenavd-on-non-ubuntu-distro\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/3dcoat.com\/documentation\/manual\/navigation\/navigation-using-3dconnexion-devices\/how-to-compile-spacenavd-on-non-ubuntu-distro\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/3dcoat.com\/documentation\/nl_NL\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Navigation\",\"item\":\"https:\/\/3dcoat.com\/documentation\/hu_HU\/manual\/navigation\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Navigation using 3DConnexion devices\",\"item\":\"https:\/\/3dcoat.com\/documentation\/manual\/navigation\/navigation-using-3dconnexion-devices\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"How to compile Spacenavd on non Ubuntu distro\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/3dcoat.com\/documentation\/#website\",\"url\":\"https:\/\/3dcoat.com\/documentation\/\",\"name\":\"Documentaci\u00f3n 3DCoat\",\"description\":\"Information about starting to use and learning how to use all the features of the 3DCoat.\",\"publisher\":{\"@id\":\"https:\/\/3dcoat.com\/documentation\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/3dcoat.com\/documentation\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/3dcoat.com\/documentation\/#organization\",\"name\":\"Pilgway\",\"url\":\"https:\/\/3dcoat.com\/documentation\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/3dcoat.com\/documentation\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/3dcoat.com\/documentation\/wp-content\/uploads\/2022\/09\/logo3DCoatWhite-1.png\",\"contentUrl\":\"https:\/\/3dcoat.com\/documentation\/wp-content\/uploads\/2022\/09\/logo3DCoatWhite-1.png\",\"width\":876,\"height\":190,\"caption\":\"Pilgway\"},\"image\":{\"@id\":\"https:\/\/3dcoat.com\/documentation\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/3DCoat\",\"https:\/\/x.com\/3DCoatOfficial\",\"https:\/\/www.youtube.com\/c\/PILGWAY3DCoat\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to compile Spacenavd on non Ubuntu distro - Documentaci\u00f3n 3DCoat","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/3dcoat.com\/documentation\/manual\/navigation\/navigation-using-3dconnexion-devices\/how-to-compile-spacenavd-on-non-ubuntu-distro\/","og_locale":"es_ES","og_type":"article","og_title":"How to compile Spacenavd on non Ubuntu distro - Documentaci\u00f3n 3DCoat","og_description":"by Sakru So, i decieded to spend some time and get Spacenav working on non ubuntu based distro. Tried to adapt what i did on CL. This guide should work on other distros like Arch, Opensuse and Fedora.Before you start, ensure that you have the following dependencies installed: Development tools (GCC, Make), CMake, X11 development [&hellip;]","og_url":"https:\/\/3dcoat.com\/documentation\/manual\/navigation\/navigation-using-3dconnexion-devices\/how-to-compile-spacenavd-on-non-ubuntu-distro\/","og_site_name":"Documentaci\u00f3n 3DCoat","article_publisher":"https:\/\/www.facebook.com\/3DCoat","article_modified_time":"2024-05-27T10:34:49+00:00","twitter_card":"summary_large_image","twitter_site":"@3DCoatOfficial","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/3dcoat.com\/documentation\/manual\/navigation\/navigation-using-3dconnexion-devices\/how-to-compile-spacenavd-on-non-ubuntu-distro\/","url":"https:\/\/3dcoat.com\/documentation\/manual\/navigation\/navigation-using-3dconnexion-devices\/how-to-compile-spacenavd-on-non-ubuntu-distro\/","name":"How to compile Spacenavd on non Ubuntu distro - Documentaci\u00f3n 3DCoat","isPartOf":{"@id":"https:\/\/3dcoat.com\/documentation\/#website"},"datePublished":"2024-05-27T10:34:48+00:00","dateModified":"2024-05-27T10:34:49+00:00","breadcrumb":{"@id":"https:\/\/3dcoat.com\/documentation\/manual\/navigation\/navigation-using-3dconnexion-devices\/how-to-compile-spacenavd-on-non-ubuntu-distro\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/3dcoat.com\/documentation\/manual\/navigation\/navigation-using-3dconnexion-devices\/how-to-compile-spacenavd-on-non-ubuntu-distro\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/3dcoat.com\/documentation\/manual\/navigation\/navigation-using-3dconnexion-devices\/how-to-compile-spacenavd-on-non-ubuntu-distro\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/3dcoat.com\/documentation\/nl_NL\/"},{"@type":"ListItem","position":2,"name":"Navigation","item":"https:\/\/3dcoat.com\/documentation\/hu_HU\/manual\/navigation\/"},{"@type":"ListItem","position":3,"name":"Navigation using 3DConnexion devices","item":"https:\/\/3dcoat.com\/documentation\/manual\/navigation\/navigation-using-3dconnexion-devices\/"},{"@type":"ListItem","position":4,"name":"How to compile Spacenavd on non Ubuntu distro"}]},{"@type":"WebSite","@id":"https:\/\/3dcoat.com\/documentation\/#website","url":"https:\/\/3dcoat.com\/documentation\/","name":"Documentaci\u00f3n 3DCoat","description":"Information about starting to use and learning how to use all the features of the 3DCoat.","publisher":{"@id":"https:\/\/3dcoat.com\/documentation\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/3dcoat.com\/documentation\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/3dcoat.com\/documentation\/#organization","name":"Pilgway","url":"https:\/\/3dcoat.com\/documentation\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/3dcoat.com\/documentation\/#\/schema\/logo\/image\/","url":"https:\/\/3dcoat.com\/documentation\/wp-content\/uploads\/2022\/09\/logo3DCoatWhite-1.png","contentUrl":"https:\/\/3dcoat.com\/documentation\/wp-content\/uploads\/2022\/09\/logo3DCoatWhite-1.png","width":876,"height":190,"caption":"Pilgway"},"image":{"@id":"https:\/\/3dcoat.com\/documentation\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/3DCoat","https:\/\/x.com\/3DCoatOfficial","https:\/\/www.youtube.com\/c\/PILGWAY3DCoat"]}]}},"_links":{"self":[{"href":"https:\/\/3dcoat.com\/documentation\/wp-json\/wp\/v2\/manual_documentation\/8466","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/3dcoat.com\/documentation\/wp-json\/wp\/v2\/manual_documentation"}],"about":[{"href":"https:\/\/3dcoat.com\/documentation\/wp-json\/wp\/v2\/types\/manual_documentation"}],"author":[{"embeddable":true,"href":"https:\/\/3dcoat.com\/documentation\/wp-json\/wp\/v2\/users\/3"}],"version-history":[{"count":1,"href":"https:\/\/3dcoat.com\/documentation\/wp-json\/wp\/v2\/manual_documentation\/8466\/revisions"}],"predecessor-version":[{"id":8467,"href":"https:\/\/3dcoat.com\/documentation\/wp-json\/wp\/v2\/manual_documentation\/8466\/revisions\/8467"}],"up":[{"embeddable":true,"href":"https:\/\/3dcoat.com\/documentation\/wp-json\/wp\/v2\/manual_documentation\/5921"}],"wp:attachment":[{"href":"https:\/\/3dcoat.com\/documentation\/wp-json\/wp\/v2\/media?parent=8466"}],"wp:term":[{"taxonomy":"manualdocumentationcategory","embeddable":true,"href":"https:\/\/3dcoat.com\/documentation\/wp-json\/wp\/v2\/manualdocumentationcategory?post=8466"},{"taxonomy":"manual_doc_tag","embeddable":true,"href":"https:\/\/3dcoat.com\/documentation\/wp-json\/wp\/v2\/manual_doc_tag?post=8466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}