View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013198 | VTK | (No Category) | public | 2012-05-23 10:15 | 2012-09-28 08:54 | ||||
Reporter | ycollet | ||||||||
Assigned To | David Gobbi | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 5.8.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0013198: compilation problem for vtktkrenderwidget | ||||||||
Description | I compiled vtk-5.8.0 on mageia 2 64 bits with gcc-4.6.3. An error is printed during compilation: [ 67%] Building CXX object Rendering/CMakeFiles/vtkRenderingPythonTkWidgets.dir/vtkTkWidgetsInit.cxx.o [ 67%] Building CXX object Rendering/CMakeFiles/vtkRenderingPythonTkWidgets.dir/vtkTkRenderWidgetPython.cxx.o In file included from /home/collette/ARPACK/src/VTK/Rendering/vtkTkRenderWidgetPython.cxx:17:0: /home/collette/ARPACK/src/VTK/Rendering/vtkTkRenderWidget.cxx: In function ‘int vtkTkRenderWidget_MakeRenderWindow(vtkTkRenderWidget*)’: /home/collette/ARPACK/src/VTK/Rendering/vtkTkRenderWidget.cxx:1309:16: erreur: invalid conversion from ‘void*’ to ‘char*’ [-fpermissive] make[2]: *** [Rendering/CMakeFiles/vtkRenderingPythonTkWidgets.dir/vtkTkRenderWidgetPython.cxx.o] Erreur 1 make[1]: *** [Rendering/CMakeFiles/vtkRenderingPythonTkWidgets.dir/all] Erreur 2 I added an explicit cast to char * at line 1309 and the compilation went fine. | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Type | crash | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0029103) David Gobbi (developer) 2012-09-02 09:42 edited on: 2012-09-06 18:57 |
self->RW = ckalloc( needs to be self->RW = (char *)ckalloc( What versions of Tcl have "void *ckalloc()"? All the documentation that I've seen uses "char *ckalloc()". |
(0029289) David Gobbi (developer) 2012-09-28 08:54 |
Fixed by commit 376579aa, this fix will be included in VTK 5.10.1 and VTK 6.0. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-05-23 10:15 | ycollet | New Issue | |
2012-09-02 09:40 | David Gobbi | Assigned To | => David Gobbi |
2012-09-02 09:40 | David Gobbi | Status | backlog => tabled |
2012-09-02 09:42 | David Gobbi | Note Added: 0029103 | |
2012-09-06 18:57 | David Gobbi | Note Edited: 0029103 | |
2012-09-12 08:34 | David Gobbi | Relationship added | has duplicate 0013449 |
2012-09-28 08:54 | David Gobbi | Note Added: 0029289 | |
2012-09-28 08:54 | David Gobbi | Status | tabled => closed |
2012-09-28 08:54 | David Gobbi | Resolution | open => fixed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |