| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0002932 | VTK | (No Category) | public | 2006-03-02 14:51 | 2013-04-05 19:56 | ||||
| Reporter | Demian Nave | ||||||||
| Assigned To | Will Schroeder | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0002932: vtkMultiThreader.cxx fails to compile on Mac OS/X 10.4.4, XCode 2.2 | ||||||||
| Description | vtkMultiThreader.cxx will not compile in 64-bit mode on OS/X 10.4.4, as it includes Carbon.h. The Carbon frameworks are not available in 64-bit mode, causing a required macro (TARGET_CPU_PPC) to not be defined. This results in a number of other critical macros from being defined (CALLBACK_API_C in particular), thus resulting in a compile error in vtkMultiThreader.cxx. A simple change to gate the include of Carbon.h, and to gate the call of the Carbon function, MPProcessors(), seems to work fine, since 10.4.4 has pthreads and sysconf() available. Instead of #ifdef __APPLE_ I was able to build with #if defined(__APPLE__) && !defined(VTK_USE_PTHREADS) assuming CMAKE_USE_PTHREADS is defined. A more robust solution is needed, though, since VTK_USE_PTHREADS need not be defined in general. Thanks, Demian | ||||||||
| Tags | No tags attached. | ||||||||
| Project | |||||||||
| Type | |||||||||
| Attached Files | |||||||||
| Relationships | ||||||
|
||||||
| Relationships |
| Notes | |
|
(0003827) Demian Nave (reporter) 2006-03-02 14:52 |
Sorry, I should have made it clear that this applies to the CVS version of VTK, as of today (Mar 2, '06). |
|
(0006509) Sean McBride (developer) 2007-02-21 11:49 |
This is the same as 3331, which I fixed a few weeks ago. |
|
(0008405) David Cole (developer) 2007-08-10 08:57 |
Fixed by Sean McBride when he fixed 3331... |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2007-08-10 08:56 | David Cole | Relationship added | duplicate of 0003331 |
| 2007-08-10 08:57 | David Cole | Duplicate ID | 0 => 3331 |
| 2007-08-10 08:57 | David Cole | Status | tabled => @80@ |
| 2007-08-10 08:57 | David Cole | Resolution | open => fixed |
| 2007-08-10 08:57 | David Cole | Note Added: 0008405 | |
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
| 2013-04-05 19:56 | Berk Geveci | Status | customer review => closed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |