math_Matrix implementation

Hello All !
I am trying to use some of the functionalities for matrix operations provided in math_Matrix.
I included "all" the files in the math folder in my Microsoft Visual Studio 7.1 project. I got the following error on building

e:\OpenCASCADE6.2.0\ros\src\Standard\Standard_values.h(22): fatal error C1189: #error : "Wrong compiler options has been detected. Add /DWNT option for proper compilation!!!!!"

please guide me to find out what this DWNT option is and to what value should it be set.
I need to use many other functions in the math library, starting with the matrix operations as of now. Any suggestions and help would help a lot.


P Dolbey's picture

Add WNT to your project compilation define options. WNT is used to to define specific compilation options for Win32 (LIN is used for Linux).


Akshay Adya's picture

Can you pls elaborate on this. I am using Microsoft VS 7.1. What compilation option is this WNT ? Wt do I do to add this to my project compilation define options ?


P Dolbey's picture

From the "Project" menu select " Properties".

Explode the C++ option, and select "Preprocessor Definitions".

Click on the ellipsis "..." and add "WNT" to the list of of options.

Repeat this for your release version.

Recompile your project.