mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-21 10:13:43 +03:00
- Building OpenCL ICD Loader documented; Acknowledgments section of Overview updated to mention also OpenGL and OpenCL - Reference to OpenCL updated in Overview: use general statement instead of direct link to AMD SDK. - GeForce 610, 6600, and Radeon HD 7870 added to list of tested graphic cards - Minor syntax corrections in DRAW UG to avoid interferences - Update 3rdparty products up to current state - Redesign of pages - Building OpenCL ICD Loader was documented for Linux platform - Lists reformatted, documentation manual updated to better describe use of lists. - Updating picture of structure of installed OCCT - Updating description of Automake procedure - Updating description of CMake building procedure
32 lines
1.3 KiB
Markdown
32 lines
1.3 KiB
Markdown
Building with MS Visual C++ {#dev_guides__building__msvc}
|
|
===========================
|
|
|
|
This file describes steps to build OCCT libraries from complete source
|
|
archive on Windows with MS Visual C++.
|
|
|
|
If you are building OCCT from bare sources (as in Git repository), or do some
|
|
changes affecting CDL files, you need to use WOK to re-generate header files
|
|
and build scripts / projects. See \ref dev_guides__building__wok for instructions.
|
|
|
|
Before building OCCT, you need to install required third-party libraries; see
|
|
paragraph 1 of \ref dev_guides__building for instructions.
|
|
|
|
1. Edit file custom.bat to define environment:
|
|
|
|
- VCVER - version of Visual Studio (vc8, vc9, vc10, vc11 or vc12),
|
|
and relevant VCVARS path
|
|
- ARCH - architecture (32 or 64), affects only PATH variable for execution
|
|
- HAVE_* - flags to enable or disable use of optional third-party products
|
|
- CSF_OPT_* - paths to search for includes and binaries of all used
|
|
third-party products
|
|
|
|
2. Launch msvc.bat to start Visual Studio with all necessary environment
|
|
variables defined.
|
|
|
|
Note: the MSVC project files are located in folders adm\\msvc\\vc[9-12].
|
|
Binaries are produced in win32 or win64 folders.
|
|
|
|
3. Build with Visual Studio
|
|
|
|
To start DRAW, launch draw.bat.
|