[osg-users] [build] Error including cfunix.h on win32 build

Mattias Helsing helsing72 at gmail.com
Tue Mar 3 02:17:11 PST 2009

Hi Tim,

from your mail I can *guess* that it's the dicom plugin that failes to build?
and the file the tries to include cfunix.h is one in the dicom plugin dir?

Given my previous guesses and the information you provided my best
guess would be that you have dowloaded the dcmtk source but not
configured it correctly.

Hope this helps. If not you need to provide some more info about the
where's and what's of your problem.


On 3/2/09, tim paige <osgforum at tevs.eu> wrote:
> I have been busily trying to satisfy CMAKE with everything it would like to
> know about, and perhaps mistakingly installing everything under the sun to
> its whim. After satisfying most that I could, I notice a build error related
> to finding "cfunix.h" which apparently is for a unix platform which I do not
> have... I am win32. However, inclueing cfunix.h is dependent on an ifdef
> HAVE_CONFIG_H, which is set if DCMTK is found. Then (in osconfig.h) having
> HAVE_CONFIG_H defined by default that way it tries to include cunix.h and an
> elif precludes the knowledge of win32 and hence the inclusion of cfwin32.h
> and then more problems.
> Comments on the best way to get around?
> Thank you...
> Tim
> vs2008, osg 2.8 et al...
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=7787#7787
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

More information about the osg-users mailing list