{"id":872,"date":"2014-08-26T18:15:33","date_gmt":"2014-08-27T01:15:33","guid":{"rendered":"http:\/\/somethingk.com\/main\/?p=872"},"modified":"2014-08-26T18:15:33","modified_gmt":"2014-08-27T01:15:33","slug":"compiling-paraview-v4-1-0-cmake-error-the-following-variables-are-used-in-this-project","status":"publish","type":"post","link":"https:\/\/somethingk.com\/main\/compiling-paraview-v4-1-0-cmake-error-the-following-variables-are-used-in-this-project\/","title":{"rendered":"Compiling ParaView v4.1.0 CMake Error: The following variables are used in this project&#8230;"},"content":{"rendered":"<h3>Error<\/h3>\n<p>I received the following error while configuring\u00a0<a title=\"ParaView\" href=\"http:\/\/www.paraview.org\" target=\"_blank\">ParaView<\/a> v4.1.0 with <a title=\"CMake - Cross Platform Make\" href=\"http:\/\/www.cmake.org\" target=\"_blank\">ccmake<\/a> from source.<\/p>\n<pre>CMake Error: The following variables are used in this project, \r\nbut they are set to NOTFOUND.<\/pre>\n<pre>Please set them or make sure they are set and tested correctly \r\nin the CMake files:<\/pre>\n<pre>GLUT_Xi_LIBRARY (ADVANCED)<\/pre>\n<pre>\u00a0\u00a0\u00a0\u00a0 linked by target \"icetTests_mpi\" in directory \r\n     ...ParaView-v4.1.0\/ThirdParty\/IceT\/vtkicet\/tests<\/pre>\n<pre>GLUT_Xmu_LIBRARY (ADVANCED)<\/pre>\n<pre>\u00a0\u00a0\u00a0\u00a0 linked by target \"icetTests_mpi\" in directory \r\n     ...ParaView-v4.1.0\/ThirdParty\/IceT\/vtkicet\/tests<\/pre>\n<h3><a href=\"http:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/08\/image002-2.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-large wp-image-875\" src=\"http:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/08\/image002-2-1024x130.png\" alt=\"ParaView Compile Error\" width=\"1024\" height=\"130\" srcset=\"https:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/08\/image002-2-1024x130.png 1024w, https:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/08\/image002-2-300x38.png 300w, https:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/08\/image002-2.png 1083w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/h3>\n<h3>Solution<\/h3>\n<p>To fix this, I set the\u00a0GLIT_Xi_Library and GLUT_Xmu_LIBRARY\u00a0variables to the correct libXi and libXmu shared libraries.<\/p>\n<p><a href=\"http:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/08\/image003-2.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-876\" src=\"http:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/08\/image003-2.png\" alt=\"ParaView Compile Error\" width=\"703\" height=\"37\" srcset=\"https:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/08\/image003-2.png 703w, https:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/08\/image003-2-300x15.png 300w\" sizes=\"(max-width: 703px) 100vw, 703px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Error I received the following error while configuring\u00a0ParaView v4.1.0 with ccmake from source. CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: GLUT_Xi_LIBRARY (ADVANCED) \u00a0\u00a0\u00a0\u00a0 linked by target &#8220;icetTests_mpi&#8221; in directory &#8230;ParaView-v4.1.0\/ThirdParty\/IceT\/vtkicet\/tests GLUT_Xmu_LIBRARY (ADVANCED) \u00a0\u00a0\u00a0\u00a0 linked by [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[177,6],"tags":[277,280,254,257,258,282,256,249,281],"class_list":["post-872","post","type-post","status-publish","format-standard","hentry","category-development","category-linux","tag-4-1-0","tag-ccmake","tag-cmake","tag-compile","tag-error","tag-notfound","tag-paraview","tag-source-code","tag-variables"],"_links":{"self":[{"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts\/872","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/comments?post=872"}],"version-history":[{"count":5,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts\/872\/revisions"}],"predecessor-version":[{"id":879,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts\/872\/revisions\/879"}],"wp:attachment":[{"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/media?parent=872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/categories?post=872"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/tags?post=872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}