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

Package : How to compile under V. Studio ?

Omar Msaaf's picture
Forums: 

Hello, I tried to find corresponding to a package but found nothing similar under visual studio. So i tried to create a new workspace, but what do i choose ? win32app,..... ? Then where do i set the options as told in the sourceREADME, corresponding to -I%CASROOT%/src/AIS , -I%CASROOT%/drv/AIS , -I%CASROOT%/inc

Thank you for answering our questions. Omar Msaaf

Regis Le Boite's picture

Hello.

> Hello, I tried to find corresponding to a
> package but found nothing similar under
> visual studio.

The best way is to create a new workspace and to add projects in this workspace

> So i tried to create a new
> workspace, but what do i choose ?
> win32app,..... ?

If you prefer to create DLLs, you must declare Win32 dynamic link library. If you need to create an EXE, choose Win32 application, and if you prefer to create a static library, choose Win32 static library.

> Then where do i set the
> options as told in the sourceREADME,
> corresponding to -I%CASROOT%/src/AIS ,
> -I%CASROOT%/drv/AIS , -I%CASROOT%/inc

Start from the FAQ:

http://www.opencascade.org/needhelp/faqusevc.html

To find the best parameters.

Stay Tuned !

Regis Le Boite

> Thank you for answering our questions. Omar
> Msaaf