Opencascade Development Environment Construction (vs2013+win7 64bit + opencascade 6.8.0)

Source: Internet
Author: User

My installation Environment:

Windows7 flagship version SP1 x64;

Visual Studio 2013;

OpenCasCade-6.8.0 source package;


opencascade Download and installhttp://www.opencascade.org/getocc/download/loadocc/


After decompression, such as:


Next, download the third-party library for your own compiler version :


After downloading as shown:


using Visual Studio to establish Occt1.editing a script file Custom.bat to define your environment:

@echo off set Vcver=vc12set arch=32set "vcvars=%vs120comntools%. \.. \vc\vcvarsall.bat "Set" Products_path=%~dp0: "rem Optional 3rd-parties switchesset have_freeimage=trueset HAVE_GL2PS= TrueSet have_tbb=trueset have_opencl=trueset check_qt4=trueset check_jdk=true rem Additional headers Search Pathsset " Csf_opt_inc=d:\program Files\opencascade6.8.0\opencl-icd-1.2.11.0-32\include;d:\program Files\OpenCASCADE6.8.0\ Tcltk-86-32\include;d:\program Files\opencascade6.8.0\freetype-2.4.11-vc12-32\include;d:\program Files\ Opencascade6.8.0\freetype-2.4.11-vc12-32\include\freetype;d:\program files\opencascade6.8.0\ Freeimage-3.16.0-vc12-32\include;d:\program Files\opencascade6.8.0\gl2ps-1.3.8-vc12-32\include;d:\program Files\ Opencascade6.8.0\tbb43_20150424oss\include;d:\program files\opencascade6.8.0\vtk-6.1.0-vc12-32\include\vtk-6.1 ;D: \program Files\opencascade6.8.0\opencascade-6.8.0\inc "Rem Additional libraries (32-bit) search Pathsset" Csf_opt_ Lib32=d:\program files\opencascade6.8.0\opencl-icd-1.2.11.0-32\lib;d:\program Files\opencascade6.8.0\tcltk-86-32\lib;d:\program Files\opencascade6.8.0\ Freetype-2.4.11-vc12-32\lib;d:\program Files\opencascade6.8.0\freeimage-3.16.0-vc12-32\lib;d:\program Files\ Opencascade6.8.0\gl2ps-1.3.8-vc12-32\lib;d:\program files\opencascade6.8.0\tbb43_20150424oss\lib\ia32\%vcver%;D : \program Files\opencascade6.8.0\vtk-6.1.0-vc12-32\lib "Rem Additional libraries (64-bit) search Pathsset" Csf_opt_ Lib64=d:\program Files\opencascade6.8.0\opencl-icd-1.2.11.0-32\lib;d:\program Files\OpenCASCADE6.8.0\tcltk-86-32 \lib;d:\program Files\opencascade6.8.0\freetype-2.4.11-vc12-32\lib;d:\program Files\OpenCASCADE6.8.0\ Freeimage-3.16.0-vc12-32\lib;d:\program Files\opencascade6.8.0\gl2ps-1.3.8-vc12-32\lib;d:\program Files\ opencascade6.8.0\tbb43_20150424oss\lib\intel64\%vcver%;D: \program Files\opencascade6.8.0\vtk-6.1.0-vc12-32\lib " REM Additional (32-bit) Search Pathsset "Csf_opt_bin32=d:\program files\opencascade6.8.0\opencl-icd-1.2.11.0-32\bin ;D: \program Files\opencAscade6.8.0\tcltk-86-32\bin;d:\program Files\opencascade6.8.0\freetype-2.4.11-vc12-32\bin;d:\program Files\ Opencascade6.8.0\freeimage-3.16.0-vc12-32\bin;d:\program files\opencascade6.8.0\gl2ps-1.3.8-vc12-32\bin;d:\ Program files\opencascade6.8.0\tbb43_20150424oss\bin\ia32\%vcver%;D: \program Files\opencascade6.8.0\ Vtk-6.1.0-vc12-32\bin "Rem Additional (64-bit) Search Pathsset" Csf_opt_bin64=d:\program files\opencascade6.8.0\ Opencl-icd-1.2.11.0-32\bin;d:\program Files\opencascade6.8.0\tcltk-86-32\bin;d:\program Files\OpenCASCADE6.8.0\ Freetype-2.4.11-vc12-32\bin;d:\program Files\opencascade6.8.0\freeimage-3.16.0-vc12-32\bin;d:\program Files\ Opencascade6.8.0\gl2ps-1.3.8-vc12-32\bin;d:\program Files\opencascade6.8.0\tbb43_20150424oss\bin\intel64\%vcver %;D: \program Files\opencascade6.8.0\vtk-6.1.0-vc12-32\bin "

2.then run Msvc.bat The script file starts running Visual Studio.

3. After the compilation chain is switched on, run the draw.bat script file, you can see the sample window!




Opencascade Development Environment Construction (vs2013+win7 64bit + opencascade 6.8.0)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.