| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0003967 | VTK | (No Category) | public | 2006-10-23 15:20 | 2013-04-05 19:59 | ||||
| Reporter | Steve Robbins | ||||||||
| Assigned To | David Partyka | ||||||||
| Priority | low | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | no change required | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0003967: Build failure: _XDisplay internals not visible | ||||||||
| Description | I'm building head of CVS as of this morning, on cygwin under Windows XP. I have xorg X11 packages installed: cygcheck -c xorg-x11-devel Cygwin Package Information Package Version Status xorg-x11-devel 6.8.99.901-1 OK I configured with Tcl wrapping ON, and the build fails as follows: [ 71%] Building CXX object Rendering/CMakeFiles/vtkRenderingTCL.dir/vtkTkRenderWidget.o /tmp/local-build/VTK-cvs/Rendering/vtkTkRenderWidget.cxx: In function `LRESULT vtkTkRenderWidgetProc(HWND__*, UINT, WPARAM, LPARAM)': /tmp/local-build/VTK-cvs/Rendering/vtkTkRenderWidget.cxx:836: error: invalid use of undefined type `struct _XDisplay' /usr/include/X11/Xlib.h:289: error: forward declaration of `struct _XDisplay' make[2]: *** [Rendering/CMakeFiles/vtkRenderingTCL.dir/vtkTkRenderWidget.o] Error 1 make[1]: *** [Rendering/CMakeFiles/vtkRenderingTCL.dir/all] Error 2 make: *** [all] Error 2 In the xorg header file X11/Xlib.h, we find: /* * Display datatype maintaining display specific data. * The contents of this structure are implementation dependent. * A Display should be treated as opaque by application code. */ #ifndef XLIB_ILLEGAL_ACCESS typedef struct _XDisplay Display; #endif [...] typedef struct #ifdef XLIB_ILLEGAL_ACCESS _XDisplay #endif { [...] So: you can only access internals of _XDisplay if XLIB_ILLEGAL_ACCESS is defined. I defined that symbol and the build is proceeding. Perhaps the better solution is to see about getting the information required without poking around into X11 internals. I didn't attempt to do that. | ||||||||
| Tags | No tags attached. | ||||||||
| Project | |||||||||
| Type | |||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0010390) Jeff Baumes (administrator) 2008-02-06 10:41 |
Does this still exist with latest cygwin/VTK? |
|
(0023628) David Partyka (developer) 2010-11-30 23:02 |
I don't believe this is any longer an issue. If it is please reopen. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2008-02-06 10:41 | Jeff Baumes | Note Added: 0010390 | |
| 2008-02-06 10:41 | Jeff Baumes | Assigned To | Will Schroeder => |
| 2008-02-06 10:41 | Jeff Baumes | Severity | major => minor |
| 2010-11-30 23:02 | David Partyka | Note Added: 0023628 | |
| 2010-11-30 23:02 | David Partyka | Status | tabled => @80@ |
| 2010-11-30 23:02 | David Partyka | Resolution | open => no change required |
| 2010-11-30 23:02 | David Partyka | Assigned To | => David Partyka |
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
| 2013-04-05 19:59 | Berk Geveci | Status | customer review => closed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |