DiscussionsIssue archiveOCCT:Configuration

Archived issue #0026286

Rebuilding FreeImage with disabled OpenMP

Open CASCADEOCCT:Configurationclosed1 public note

Search issues

Description

Executing MFC samples - Import/Export gave a system error.

The program can't start becuase VCOMP100.DLL is missing from your computer. Try reinstalling the program to fix this problem. [OK]

The dependency from vcomp100.dll is coming from FreeImage library - LibRAW component is built with OpenMP support by default on fresh compilers.
However for our applications this component and its parallelization have no value - so I would suggest rebuilding FreeImage with disabled OpenMP to get rid from redundant dependency (though vcomp100.dll is just about 50 KiB).

To do so it is sufficient to comment on the lines defining LIBRAW_USE_OPENMP in Source/LibRawLite/libraw/libraw_types.h :
> # if defined (_MSC_VER) && (_MSC_VER >= 1600 || (_MSC_VER == 1500 && _MSC_FULL_VER >= 150030729) )
> /* VS2010+ : OpenMP works OK, VS2008: have tested by cgilles */
> ///# define LIBRAW_USE_OPENMP

Steps to reproduce

N/A

Public activity

1 archived note

Participants are labeled by their role within this record.

01Author
Solution will be implemented in framework of 26297 issue

Related records