Catastrophic error: cannot open source file

A while back I was trying to compile the AztecOO library outside of Trilinous. See this early post for more details. In doing so, I received the following error: catastrophic error: cannot open source file “az_aztec.h” Solution This was a simple oversight on my part. To fix this, I added –I./src to the compile statement to make sure it looked […]

Python TypeError: expected a character buffer object

Error I received the following python error: TypeError: expected a character buffer object The below screenshot shows my code. Solution I was using the replace method, while the better method for my situation would be to use the re.sub(patter, replace, string) method, the new line became: my_text = re.sub(comp, ‘#undef SEEK_SET\n#undef SEEK_END\n #undef SEEK_CUR\n#include ‘, f) The replace method expects […]

IIS 7.5 WCF Error: Could not find a base address that matches…

Error I received the following error while trying to run a WCF application built in Visual Studio 2013 running on a Windows 8 IIS 7.5 server. Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding. Registered base address schemes are [https]. Solution In this instance, my mex statement was wrong, I needed to make it mexHttpsBinding instead of […]

IIS 7.5 WCF Error: The … does not have a Binding with the None MessageVersion.

Error I received the following error while trying to run a WCF application built in Visual Studio 2013 running on a Windows 8 IIS 7.5 server. The … does not have a Binding with the None MessageVersion. ‘System.ServiceModel.Description.WebHttpBehavior’ is only intended for use with WebHttpBinding or similar bindings. Solution With help from http://msdn.microsoft.com/en-us/library/hh556232(v=vs.110).aspx and http://stackoverflow.com/questions/7585363/why-does-my-wcf-service-give-the-message-does-not-have-a-binding-with-the-none, I edited my web.config file and added/changed it to include the bolded text. Basically, […]

IIS 7.5 Detailed Error: HTTP Error 404.3 – Not Found

Error I received the following error while trying to run a WCF application built in Visual Studio 2013 running on a Windows 8 IIS 7.5 server. HTTP Error 404.3 – Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME […]

Compiling ParaView v4.1.0 CMake Error: The following variables are used in this project…

Error I received the following error while configuring ParaView 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)      linked by target “icetTests_mpi” in directory …ParaView-v4.1.0/ThirdParty/IceT/vtkicet/tests GLUT_Xmu_LIBRARY (ADVANCED)      linked by […]

Compiling Mesa 7.9.1 Error: brw_program.c:39:20: error: talloc.h: No such file or directory

Error I received the following error while configuring mesa version 7.9.1 from its source code (running ./configure). Error: “brw_program.c:39:20: error: talloc.h: No such file or directory” Solution To solve this issue, I added a statement to the ./configure line that added talloc’s include directory into the CPPFLAGS. CPPFLAGS=”-I<PATH TO TALLOC INCLUDE DIRECTORY>” ./configure Make sure to keep the “-I” before […]

Compiling ParaView v4.1.0 Error: libXi.so undefined reference to `_XGetRequest’

Error While compiling ParaView from the source files, I ran into the following error while running the ‘make’ command. …libXi.so undefined reference to `_XGetRequest’ make[2]: *** [bin/icetTests_mpi] Error 1 [ThirdParty/IceT/vtkicet/tests/CMakeFiles/ icetTests_mpi.dir/all] Error2 Solution In my case, the X11 libraries were installed separately and were located in custom directory locations that differed from the default. I fixed this error by checking […]

Compiling ParaView v4.1.0 Error: couldn’t connect to server

Error I received the following error while trying to compile ParaView from source. http://www.vtk.org/files/ExternalData/MD5/ 7dc839fb2825efa8c55e4275fee02a75 (“couldn’t connect to server”) For some reason, the requested files could not be pulled from the server. You may have proxy issues or restricted internet access. Solution Manually download all MD5 files from http://www.vtk.org/files/ExternalData/MD5/ and place into your ExternalData/Objects/ within the build directory.

Compiling ParaView v4.1.0 Error: error: X11/SM/SMlib: error: X11/StringDefs.h: No such file or directory

Error After using ccmake to configure ParaView options, I received the following errors while running ‘make.’ In file included from …X11/Shell.h:51:26: error: X11/SM/SMlib.h: No such file or directory and …VTK/Rendering/OpenGL/vtkXRenderWindowInteractor.h:39:73: error: X11/Intrinsic.h: No such file or directory and In file included from …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 […]