SlicerRt / SlicerRT

Open-source toolkit for radiation therapy research, an extension of 3D Slicer. Features include DICOM-RT import/export, dose volume histogram, dose accumulation, external beam planning (TPS), structure comparison and morphology, isodose line/surface generation, etc.
https://slicerrt.org
128 stars 60 forks source link

Remove need for #include <omp.h> #14

Open cpinter opened 7 years ago

cpinter commented 7 years ago

It should not be necessary to include in the ContourComparison module. This ticket will track the effort to remove this.

Migrated from https://app.assembla.com/spaces/slicerrt/tickets/227-remove-need-for--include--lt-omp-h-gt-/details

cpinter commented 7 years ago

2013-02-19 20:50 Greg Sharp I did some testing on this, using MSVC 2010 compiler.

(1) SlicerRT builds plastimatch as shared lib

(2) plmutil.lib correctly includes dependency on VCOMP.LIB, as evidenced by: dumpbin /all plmutil.lib Which shows /DEFAULTLIB:"VCOMP"

(3) A test executable which does not include and does not use "/openmp" option was created and linked against plmutil.h. cl /MD main.cxx plmutil.lib plmbase.lib plmsys.lib This executable was found to correctly depend on VCOMP100.DLL