MantisBT - VTK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0010661 | VTK | (No Category) | public | 2010-05-03 13:45 | 2013-04-05 19:57 |
| Reporter | Sebastien Jourdain | ||||
| Assigned To | François Bertel | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Project | |||||
| Type | |||||
| Summary | 0010661: Error while compiling with OSMesa (Without X) | ||||
| Description | Even if we ask in CMake to DO NOT USE X (VTK_USE_X : OFF), at compile time we get the following error : [ 29%] Building CXX object VTK/Rendering/CMakeFiles/vtkRendering.dir/vtkOpenGLExtensionManager.cxx.o /home/kitware/Dashboard/MyTests/ParaView/VTK/Rendering/vtkOpenGLExtensionManager.cxx: In member function ‘virtual void (* vtkOpenGLExtensionManager::GetProcAddress(const char*))()’: /home/kitware/Dashboard/MyTests/ParaView/VTK/Rendering/vtkOpenGLExtensionManager.cxx:270: error: ‘glXGetProcAddressARB’ was not declared in this scope When we look at the cache we see that VTK_USE_GLX_GET_PROC_ADDRESS_ARB:INTERNAL=1 Therefore, I had to change it to 0 by hand to make it compile... Pat Marion think this may be a bug in VTK/Rendering/CMakeLists.txt. It does a check if a function exists and caches the result, then it uses the cache result even if you have gone and disabled X. | ||||
| Steps To Reproduce | |||||
| Additional Information | VTK_USE_X : OFF VTK_OPENGL_HAS_OSMESA : ON VTK_USE_MANGLED_MESA : OFF VTK_USE_OFFSCREEN : ON OPENGL_INCLUDE_DIR : OPENGL_gl_LIBRARY : OPENGL_glu_LIBRARY : /home/kitware/Dashboard/Support/Mesa-7.0.4/lib/libGLU.so OPENGL_xmesa_INCLUDE_DIR: OSMESA_INCLUDE_DIR : /home/kitware/Dashboard/Support/Mesa-7.0.4/include OSMESA_LIBRARY : /home/kitware/Dashboard/Support/Mesa-7.0.4/lib/libOSMesa.so | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2010-05-03 13:45 | Sebastien Jourdain | New Issue | |||
| 2010-05-03 23:47 | François Bertel | Status | backlog => tabled | ||
| 2010-05-03 23:47 | François Bertel | Assigned To | => François Bertel | ||
| 2010-05-07 09:49 | François Bertel | Note Added: 0020641 | |||
| 2010-05-07 09:49 | François Bertel | Status | tabled => @80@ | ||
| 2010-05-07 09:49 | François Bertel | Resolution | open => fixed | ||
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) | ||
| 2013-04-05 19:57 | Berk Geveci | Status | customer review => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||