For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

standard_values.h

Hui-Haisang Chang's picture
Forums: 

To whom may know: I don't know what is standard_value.h. When I try to include into my program on Visual C++. I always get an error message that is .../inc/standard_values.h(34) : fatal error C1083: Cannot open include file: 'values.h': No such file or directory. Should I delcare or know something before I use it? thank you.

Simon Bulman's picture

If you are running on Windows then you must define the preprocessor definition WNT in the vc++ project settings i.e. (taken from Standard_Values.h

# if defined(WNT) || defined(LIN)

# include "limits.h"

# define BITSPERBYTE CHAR_BIT # define BITS(type) (BITSPERBYTE * sizeof(type))

# else

# include "limits.h" # ifdef HPUX # undef MAXINT # endif # include "values.h"

# endif #endif