Difference between revisions of "2013 Project Week:ITKv4Default"
From NAMIC Wiki
| Line 55: | Line 55: | ||
https://dl.dropbox.com/u/1686930/itkv4builds/build2after%20update.txt | https://dl.dropbox.com/u/1686930/itkv4builds/build2after%20update.txt | ||
| + | Patch for InterlockedIncrement build error: | ||
| + | <pre> | ||
| + | diff --git a/ofstd/include/dcmtk/ofstd/ofmem.h b/ofstd/include/dcmtk/ofstd/ofmem.h | ||
| + | index 473b9c8..94bb937 100644 | ||
| + | --- a/ofstd/include/dcmtk/ofstd/ofmem.h | ||
| + | +++ b/ofstd/include/dcmtk/ofstd/ofmem.h | ||
| + | @@ -226,7 +226,11 @@ private: | ||
| + | |||
| + | private: | ||
| + | /// The counter. | ||
| + | +#ifdef HAVE_INTERLOCKED_INCREMENT | ||
| + | + volatile LONG m_Count; | ||
| + | +#else | ||
| + | size_t m_Count; | ||
| + | +#endif | ||
| + | /// The pointer to the managed object. | ||
| + | T* const m_pT; | ||
| + | #ifdef OF_SHARED_PTR_NEED_MUTEX | ||
| + | </pre> | ||
== Results == | == Results == | ||
Revision as of 22:48, 7 January 2013
Home < 2013 Project Week:ITKv4DefaultKey Investigators
- Kitware: Matt McCormick
- Kitware: Luis Ibanez
Project Description
Objective
- Switch Slicer to use ITKv4 by default.
Approach, Plan
Progress
Work in Progress
Blockers
Windows
- IO Factory registration
- In CLIs
- In main Slicer
- Packaging
Git Branch to Use
- Using this branch: https://github.com/BRAINSia/Slicer43/tree/20130107-next-slicer43
- Migration Plan at Slicer Wiki: http://www.slicer.org/slicerWiki/index.php/ITKv4_Migration_plan
Windows 7, VS 2008, x64, Qt 8.2 Release build
git checkout origin/20130107-next-slicer43
https://dl.dropbox.com/u/1686930/itkv4builds/build1after%20update.txt
https://dl.dropbox.com/u/1686930/itkv4builds/build2after%20update.txt
Patch for InterlockedIncrement build error:
diff --git a/ofstd/include/dcmtk/ofstd/ofmem.h b/ofstd/include/dcmtk/ofstd/ofmem.h
index 473b9c8..94bb937 100644
--- a/ofstd/include/dcmtk/ofstd/ofmem.h
+++ b/ofstd/include/dcmtk/ofstd/ofmem.h
@@ -226,7 +226,11 @@ private:
private:
/// The counter.
+#ifdef HAVE_INTERLOCKED_INCREMENT
+ volatile LONG m_Count;
+#else
size_t m_Count;
+#endif
/// The pointer to the managed object.
T* const m_pT;
#ifdef OF_SHARED_PTR_NEED_MUTEX