MantisBT - ParaView |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0005856 | ParaView | (No Category) | public | 2007-10-10 11:29 | 2010-11-22 22:22 |
|
| Reporter | Clinton Stimpson | |
| Assigned To | David Partyka | |
| Priority | low | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | | OS Version | |
| Product Version | | |
| Target Version | 3.8 | Fixed in Version | 3.10 | |
| Project | |
| Topic Name | |
| Type | |
|
| Summary | 0005856: fix osmesa build on Mac OS X |
| Description | Attached are changes that allow a build on Mac OS X using mesa, osmesa (turn Carbon off).
These changes should be cleaned up or corrected before committing.
|
| Steps To Reproduce | |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | |
| Attached Files | changes.patch (2,233) 2007-10-10 11:29 https://www.vtk.org/Bug/file/6176/changes.patch |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2007-10-10 11:29 | Clinton Stimpson | New Issue | |
| 2007-10-10 11:29 | Clinton Stimpson | File Added: changes.patch | |
| 2007-10-11 18:30 | Clinton Stimpson | Note Added: 0009419 | |
| 2008-04-15 10:30 | Berk Geveci | Assigned To | => Clinton Stimpson |
| 2008-04-15 10:30 | Berk Geveci | Priority | normal => low |
| 2008-04-15 10:30 | Berk Geveci | Status | backlog => tabled |
| 2008-04-15 10:30 | Berk Geveci | Category | 3.4 => 3.6 |
| 2009-02-16 17:06 | Ken Moreland | Assigned To | Clinton Stimpson => Berk Geveci |
| 2009-03-21 15:16 | Berk Geveci | Note Added: 0015746 | |
| 2009-03-25 10:14 | Berk Geveci | Note Added: 0015798 | |
| 2009-03-25 10:15 | Berk Geveci | Category | 3.6 => 3.8 |
| 2009-05-13 13:39 | Utkarsh Ayachit | Target Version | => 3.8 |
| 2010-11-05 14:27 | Utkarsh Ayachit | Assigned To | Berk Geveci => David Partyka |
| 2010-11-05 14:28 | Utkarsh Ayachit | Note Added: 0022923 | |
| 2010-11-16 14:31 | David Partyka | Note Added: 0023301 | |
| 2010-11-16 14:31 | David Partyka | Status | tabled => @80@ |
| 2010-11-16 14:31 | David Partyka | Fixed in Version | => 3.10 |
| 2010-11-16 14:31 | David Partyka | Resolution | open => no change required |
| 2010-11-16 14:45 | David Partyka | Note Added: 0023303 | |
| 2010-11-16 14:45 | David Partyka | Status | @80@ => @20@ |
| 2010-11-16 14:45 | David Partyka | Resolution | no change required => reopened |
| 2010-11-17 08:25 | David Partyka | Note Added: 0023328 | |
| 2010-11-17 08:25 | David Partyka | Status | @20@ => @80@ |
| 2010-11-17 08:25 | David Partyka | Resolution | reopened => fixed |
| 2010-11-22 22:22 | Alan Scott | Note Added: 0023514 | |
| 2010-11-22 22:22 | Alan Scott | Status | @80@ => closed |
| 2011-06-16 13:10 | Zack Galbreath | Category | => (No Category) |
|
Notes |
|
|
(0009419)
|
|
Clinton Stimpson
|
|
2007-10-11 18:30
|
|
Another fix necessary:
> In ParaView3/VTK/VolumeRendering/vtkVolumeRenderingFactory.cxx line 63,
> replace
>
> #if defined(VTK_USE_OGLR) || defined(_WIN32) || defined(VTK_USE_COCOA) ||
> defined(VTK_USE_CARBON)
>
> with
>
> #if defined(VTK_USE_OGLR) || defined(VTK_USE_OSMESA) || defined(_WIN32) ||
> defined(VTK_USE_COCOA) || defined(VTK_USE_CARBON) |
|
|
|
(0015746)
|
|
Berk Geveci
|
|
2009-03-21 15:16
|
|
Clint,
I don't get the following part of the patch. Doesn't this break X11 with OpenGL?
diff --git a/VTK/vtkToolkits.h.in b/VTK/vtkToolkits.h.in
index 09722fc..e9723fa 100644
--- a/VTK/vtkToolkits.h.in
+++ b/VTK/vtkToolkits.h.in
@@ -145,7 +145,7 @@
(defined(VTK_USE_X) && defined(_WIN32)) || \
(defined(VTK_USE_MANGLED_MESA) && !defined(_WIN32))) && \
!(defined (VTK_USE_CARBON) || defined(VTK_USE_COCOA))
-# define VTK_USE_OGLR
+/*# define VTK_USE_OGLR*/
#endif
#if (defined(VTK_OPENGL_HAS_OSMESA) && !defined(VTK_USE_OGLR) && \ |
|
|
|
(0015798)
|
|
Berk Geveci
|
|
2009-03-25 10:14
|
|
|
Since this patch is not complete and it is not urgent, I am postponing this. |
|
|
|
(0022923)
|
|
Utkarsh Ayachit
|
|
2010-11-05 14:28
|
|
|
Verify if this still is applicable., |
|
|
|
(0023301)
|
|
David Partyka
|
|
2010-11-16 14:31
|
|
|
I am not experiencing any issue building against osmesa on my Mac presently. Please reopen if needed. |
|
|
|
(0023303)
|
|
David Partyka
|
|
2010-11-16 14:45
|
|
|
Argh, just noticed I had VTK_USE_COCOA still ON. Will proceed from here. |
|
|
|
(0023328)
|
|
David Partyka
|
|
2010-11-17 08:25
|
|
|
This is fixed now at least when building paraview against osmesa 7.9. A lot of logic was missing to link the osmesa libraries when it was enabled, which I added. Also I now force any of VKT_USE_X, VTK_USE_COCOA, or VTK_USE_CARBON to OFF when VTK_OPENGL_HAS_OSMESA is ON. If anyone disagrees with these changes please reopen this issue and let me know. |
|
|
|
(0023514)
|
|
Alan Scott
|
|
2010-11-22 22:22
|
|
|
Trusting Dave's logic and testing. Looks correct to me. Untested by me. |
|