Home > Cannot Create > Cannot Create Glx Context. Aborting

Cannot Create Glx Context. Aborting

I wrote a custom module on windows, compiled it on MS VS Express 2008, and it just worked fine when i tried to do the whole thing on mac, i got Do you have any problem? Contact Us - CFD Online - Top © CFD Online LinkBack LinkBack URL About LinkBacks Bookmark & Share Digg this Thread! before a render."); } } static int PbufferAllocFail = 0; extern "C" { int vtkXOGLPbufferErrorHandler(Display*, XErrorEvent*) { PbufferAllocFail = 1; return 1; } } void vtkXOpenGLRenderWindow::CreateAWindow() { XVisualInfo *v, matcher; XSetWindowAttributes have a peek here

Gambit build SP2007051420. Posts: 16,769 Rep: Time to upgrade fedora 15 to 17 it hit EOL on Jun26 it is now unsupported John VV View Public Profile View LQ Blog View Review Entries this->Size[0] : 300); height = ((this->Size[1] > 0) ? DISPLAY=" << vtksys::SystemTools::GetEnv("DISPLAY") << ". http://www.cfd-online.com/Forums/openfoam-paraview/61051-problem-paraview-parafoam.html

Instead of using that // define, we're just defining the missing typedefs here. January 29, 2009, 08:45 Hi, I still have the foolow #19 openfoam_user Senior Member stephane sanchi Join Date: Mar 2009 Posts: 305 Rep Power: 10 Hi, I still have Maybe this information helps you. Also, try to install the X Software development package.

Having a problem installing a new program? Reload to refresh your session. bool vtkXOpenGLRenderWindow::IsCurrent() { bool result=false; #ifdef VTK_USE_OSMESA if(this->OffScreenRendering && this->Internal->OffScreenContextId) { result=this->Internal->OffScreenContextId==OSMesaGetCurrentContext(); } else { #endif if(this->OffScreenRendering && this->Internal->PixmapContextId) { result=this->Internal->PixmapContextId==glXGetCurrentContext(); } else { if(this->Internal->ContextId) { result=this->Internal->ContextId==glXGetCurrentContext(); } } #ifdef VTK_USE_OSMESA Did you try ldd on bin/SlicerQT-real? >> >> Another thing is to try the slicer3 launcher which explicitly sets the >> LD_LIBRARY_PATH - you run this with >> Slicer3-superbuild/Slicer-build/Slicer3 (the executable

I have attempted to install the latest, however the joy of losing the touch pad didn't help much. Stephane. Join our community today! void vtkXOpenGLRenderWindow::SetWindowId(Window arg) { vtkDebugMacro(<< "Setting WindowId to " << reinterpret_cast(arg) << "\n"); this->WindowId = arg; if (this->CursorHidden) { this->CursorHidden = 0; this->HideCursor(); } } // Set this RenderWindow's X

Should I be doing something different there? I can't solve #14 openfoam_user Senior Member stephane sanchi Join Date: Mar 2009 Posts: 305 Rep Power: 10 I need help. Now I am trying his solution. Slicer4 mkdir Slicer4-build cd Slicer4-build cmake ../Slicer4 If you clone and build the version of VTK that Slicer uses.

Stephane. Didn't get far, though, because when I build from today's SVN source, I get the following error on my Fedora14 64bit system: ========== ERROR: In /fs/axon/torsten/Slicer4/x86_64/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 404 vtkXOpenGLRenderWindow (0x15bde60): Could void vtkXOpenGLRenderWindow::SetWindowInfo(char *info) { int tmp; // get the default display connection if (!this->DisplayId) { this->DisplayId = XOpenDisplay(static_cast(NULL)); if (this->DisplayId == NULL) { vtkErrorMacro(<< "bad X server connection. if(!glXQueryExtension(this->DisplayId, NULL, NULL)) { vtkErrorMacro("GLX not found.

But Alberto passalacqua told me that it is not necessary. navigate here DISPLAY=" << vtksys::SystemTools::GetEnv("DISPLAY") << ". By the way - maybe there's something wrong with the way I build - I simply created a build directory and ran "cmake ", then "make". URL: Previous message: [Paraview] vtkXOpenGLRenderWindow Error Next message: [Paraview] "Save Data" with Python Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information

Director of Medical Imaging Research Kitware, Inc. - North Carolina Office http://www.kitware.comstephen.aylward (Skype) (919) 969-6990 x300 _______________________________________________ slicer-devel mailing list [hidden email] http://massmail.spl.harvard.edu/mailman/listinfo/slicer-develTo unsubscribe: send email to [hidden email] with unsubscribe Notes Issue History Date Modified Username Field Change 2014-06-27 13:22 chas.mellish New Issue 2014-06-28 21:51 wyldckat Note Added: 0003142 2014-07-01 12:24 chas.mellish Note Added: 0003146 2014-12-29 11:48 wyldckat Note Added: 0003382 Best, Torsten -- Torsten Rohlfing, PhD SRI International, Neuroscience Program Senior Research Scientist 333 Ravenswood Ave, Menlo Park, CA 94025 Phone: ++1 Check This Out Gambit build SP2007051420.

Aborting.DescriptionWhen run over ssh without any glx capability, paraview aborts. when I try to run paraview, it immediately closes after giving some fatal error. So I was actually running Slicer-build/Slicer3, and that is the one that isn't working.

The problem does not seem to be here.

void vtkXOpenGLRenderWindow::SetNextWindowId(Window arg) { vtkDebugMacro(<< "Setting NextWindowId to " << reinterpret_cast(arg) << "\n"); this->NextWindowId = arg; } void vtkXOpenGLRenderWindow::SetNextWindowId(void *arg) { this->SetNextWindowId(reinterpret_cast(arg)); } // Set the X display id for Colormap vtkXOpenGLRenderWindow::GetDesiredColormap () { XVisualInfo *v; if (this->ColorMap) return this->ColorMap; // get the default visual to use v = this->GetDesiredVisualInfo(); if (v) { this->ColorMap = XCreateColormap(this->DisplayId, XRootWindow(this->DisplayId, v->screen), v->visual, AllocNone); XFree(v); error: [bin/SlicerQT-real] exit abnormally - Report the problem. =========== The strange things are, a) I am using the current nvidia drivers, which definitely have GLX support, b) both the pre-compiled Slicer Also send a message including any relevant errors or warnings you see above in this window.

Window vtkXOpenGLRenderWindow::GetWindowId() { vtkDebugMacro(<< "Returning WindowId of " << reinterpret_cast(this->WindowId) << "\n"); return this->WindowId; } // Move the window to a new position on the display. The time now is 11:58 AM. But when I launch paraFoam (or paraview) paraview opens and suddently close with the following error message : ERROR: In /shared/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Rendering/vtkXOpenGLRenderWindow .cxx, line 398 vtkXOpenGLRenderWindow (0x12876e0): Could not find a decent this contact form Aborting.

Gijsbert __________________ Regards, Gijs January 22, 2009, 04:36 Hi Gijsbert, I have tried #12 openfoam_user Senior Member stephane sanchi Join Date: Mar 2009 Posts: 305 Rep Power: Thanks in advance. void vtkXOpenGLRenderWindow::Initialize (void) { if(!this->OffScreenRendering && !this->Internal->ContextId) { // initialize the window this->WindowInitialize(); } else if(this->OffScreenRendering && ! (this->Internal->PixmapContextId || this->Internal->PbufferContextId #ifdef VTK_USE_OSMESA || this->Internal->OffScreenContextId #endif || this->OffScreenUseFrameBuffer )) { // Visual *vtkXOpenGLRenderWindow::GetDesiredVisual () { XVisualInfo *v; Visual *vis=0; // get the default visual to use v = this->GetDesiredVisualInfo(); if (v) { vis = v->visual; XFree(v); } return vis; } // Get

If I start SlicerQT-real, that does work. void vtkXOpenGLRenderWindow::SetPosition(int x, int y) { // if we aren't mapped then just set the ivars if (!this->Mapped || this->OffScreenRendering) { if ((this->Position[0] != x)||(this->Position[1] != y)) { this->Modified(); } this->Position[0] You signed in with another tab or window. Did you try ldd on bin/SlicerQT-real? > > Another thing is to try the slicer3 launcher which explicitly sets the > LD_LIBRARY_PATH - you run this with > Slicer3-superbuild/Slicer-build/Slicer3 (the executable

Slicer4 is build with > rpaths for linux but maybe it gets the wrong shared libs for some > reason. Post your question in this forum. If it should be able to run without a glx context this also a bug. $ paraview ERROR: In /builddir/build/BUILD/ParaView-3.10.0-RC1/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 404 vtkXOpenGLRenderWindow (0x2571fc0): Could not find a decent visual ERROR: Regards Maz --------------------- In file included from /users/martin_waitzbauer/Martin/Slicer3 Module/MFA/GaussMaskImage.h:56, from /users/martin_waitzbauer/Martin/Slicer3 Module/MFA/MFAmain.cxx:1: /users/martin_waitzbauer/Martin/Slicer3 Module/MFA/GaussMaskImage.cxx: In member function 'void itk::GaussMaskImage::GenerateData()': /users/martin_waitzbauer/Martin/Slicer3 Module/MFA/GaussMaskImage.cxx:72: