I am testing the 660 release of OCC with visual C++ 2010.
I am compiling in 32 bits.
I am working with the wok environment (great changes in order to install it ! Congratulations !)

I am trying to move to this release from the 651 release.
My compiler displays this error message :

error C2065: 'Standard_PI' : identificateur non déclaré

I had the -DWIN32 option in the CSF_WNT.edl file : this option was missing.

Who has an idea about this problem ?


Denis Teissandier

Denis Teissandier's picture

I have finally find the solution :

the Standard_PI class has been deleted from the release 0CC660 !!!


Forum supervisor's picture

Dear Denis,
Use, please M_PI instead of Standard_PI.