{"id":846,"date":"2014-08-19T19:46:03","date_gmt":"2014-08-20T02:46:03","guid":{"rendered":"http:\/\/somethingk.com\/main\/?p=846"},"modified":"2014-08-22T07:40:01","modified_gmt":"2014-08-22T14:40:01","slug":"compiling-paraview-error-error-x11smsmlib-error-x11stringdefs-h-no-such-file-or-directory","status":"publish","type":"post","link":"https:\/\/somethingk.com\/main\/compiling-paraview-error-error-x11smsmlib-error-x11stringdefs-h-no-such-file-or-directory\/","title":{"rendered":"Compiling ParaView v4.1.0 Error: error: X11\/SM\/SMlib:  error: X11\/StringDefs.h: No such file or directory"},"content":{"rendered":"<h3>Error<\/h3>\n<p>After using ccmake to configure <a title=\"ParaView\" href=\"http:\/\/www.paraview.org\/\" target=\"_blank\">ParaView <\/a>options, I received the following errors while running \u2018make.\u2019<\/p>\n<pre>In file included from ...X11\/Shell.h:51:26: error: X11\/SM\/SMlib.h: \r\nNo such file or directory\r\n\r\n<a href=\"http:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/08\/image001.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-852 size-large\" src=\"http:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/08\/image001-1024x106.png\" alt=\"\" width=\"1024\" height=\"106\" srcset=\"https:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/08\/image001-1024x106.png 1024w, https:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/08\/image001-300x31.png 300w, https:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/08\/image001.png 1040w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/pre>\n<p>and<\/p>\n<pre>...VTK\/Rendering\/OpenGL\/vtkXRenderWindowInteractor.h:39:73: \r\nerror: X11\/Intrinsic.h: No such file or directory<\/pre>\n<p>and<\/p>\n<pre>In file included from ...Wrapping\/ClientServer\/\r\nvtkXRenderWindowInteractorClientServer.cxx:6:\r\nVTK\/Rendering\/OpenGL\/vtkXRenderWindowInteractor.h:38:74: \r\nerror: X11\/StringDefs.h: No such file or directory\r\nVTK\/Rendering\/OpenGL\/vtkXRenderWindowInteractor.h:39:73: \r\nerror: X11\/Intrinsic.h: No such file or directory\r\nIn file included from ...Wrapping\/ClientServer\/\r\nvtkXRenderWindowInteractorClientServer.cxx:6:\r\n\r\n<a href=\"http:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/08\/image002.png\"><img decoding=\"async\" class=\"aligncenter size-large wp-image-853\" src=\"http:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/08\/image002-1024x131.png\" alt=\"ParaView Error: Missing header\" width=\"1024\" height=\"131\" srcset=\"https:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/08\/image002-1024x131.png 1024w, https:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/08\/image002-300x38.png 300w, https:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/08\/image002.png 1444w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/pre>\n<h2><\/h2>\n<h3>Solution<\/h3>\n<p>These issues were due to my libraries being installed in custom locations. Double check all paths supplied in the ccmake configuration and try copying the libxt (X11\/all file contents), ICE (X11\/ICE), SM (X11\/SM) library directories into VTK\/Rendering\/OpenGL\/X11 within your build directory. The error occurred because the compiler could not find the requested libraries.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Error After using ccmake to configure ParaView options, I received the following errors while running \u2018make.\u2019 In file included from &#8230;X11\/Shell.h:51:26: error: X11\/SM\/SMlib.h: No such file or directory and &#8230;VTK\/Rendering\/OpenGL\/vtkXRenderWindowInteractor.h:39:73: error: X11\/Intrinsic.h: No such file or directory and In file included from &#8230;Wrapping\/ClientServer\/ vtkXRenderWindowInteractorClientServer.cxx:6: VTK\/Rendering\/OpenGL\/vtkXRenderWindowInteractor.h:38:74: error: X11\/StringDefs.h: No such file or directory VTK\/Rendering\/OpenGL\/vtkXRenderWindowInteractor.h:39:73: error: X11\/Intrinsic.h: No such file or directory [&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":[257,258,261,265,260,256,264,259,249,263,272,262],"class_list":["post-846","post","type-post","status-publish","format-standard","hentry","category-development","category-linux","tag-compile","tag-error","tag-header","tag-ice","tag-missing","tag-paraview","tag-sm","tag-solution","tag-source-code","tag-stringdefs","tag-v4-1-0","tag-x11"],"_links":{"self":[{"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts\/846","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=846"}],"version-history":[{"count":9,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts\/846\/revisions"}],"predecessor-version":[{"id":871,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts\/846\/revisions\/871"}],"wp:attachment":[{"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/media?parent=846"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/categories?post=846"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/tags?post=846"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}