c++apicygwinhoudini

C++ cannot open source file "hboost/predef/os/cygwin.h


I'm working with Houdini HDK (API), when I include #include<OP/OP_OperatorTable.h> or some other preprocessor i get the error message

the visual studio gives me this error, C++ cannot open source file "hboost/predef/os/cygwin.h

the full error message is: Severity Code Description Project File Line Suppression State Error (active) E1696 cannot open source file "hboost/predef/os/cygwin.h" NodeCreation C:\Program Files\Side Effects Software\Houdini 17.5.467\toolkit\include\hboost\predef\os.h

After I see this message for the first time I thought I should install Cygwin for windows, and I install the Cygwin but I get the error again

there's no cygwin.h file in this path, visual studio is searching for this file in this path enter image description here what's the problem and what should I do?


Solution

  • If you dont have cygwin.h that means you miss something when you install the Houdini API. I try a FULL installation by checking ALL the buttons below:

    enter image description here

    enter image description here

    At the end, you will have this in your installation folder :

    enter image description here

    I am unable to tell you which one is responsible for installing "cygwin.h" but that should solve your problem.