Solution and other intermediate files created during a CMake tool workingĭ:/occt-install - the installation directory that isĪble to contain several OCCT configurationsįor unexperienced users we recommend to start with cmake-gui – a cross-platform GUI tool provided by CMake on Windows, Mac and Linux. It is however possible to choose one installation directory for several configurations of OCCT (differentiated by platform, bitness, compiler and build type), for example: d:/occt/ - the source directoryĭ:/tmp/occt-build-vc10-圆4 - the build directory with the generated Different configurations should be built in different build directories to avoid conflicts. The good practice is not to use the source directory as a build one. The installation directory is where binaries will be installed after building the INSTALL project that is created by CMake generation process, along with header files and resources required for OCCT use in applications.The mentioned process will be described below. The build or binary directory is where all files created during CMake configuration and generation process will be located.The source directory is where the sources of OCCT are located in your file system.However, CMake is cross-platform and can be used to build OCCT on Linux and macOS in essentially the same way.ĬMake deals with three directories: source, build or binary and installation. Here we describe the build procedure on the example of Windows platform with Visual Studio 2010. OCCT requires CMake version 3.1 or later.ĬMake is a tool that generates the actual project files for the selected target build system (e.g. This chapter describes the CMake-based build process, which is now suggested as a standard way to produce the binaries of Open CASCADE Technology from sources. On Linux and macOS we recommend to use libraries maintained by distributive developers, when possible. You can also build third-party libraries from their sources, see Build 3rd-parties for instructions. The easiest way to install third-party libraries is to download archive with pre-built binaries, corresponding to your target configuration, from Development Portal. See requirements on 3rdparty libraries for a full list. The typical minimum is FreeType (necessary for Visualization) and Tcl/Tk (for DRAW). The list of required libraries depends on what OCCT modules will be used, and your preferences. Before building OCCT, make sure to have all required third-party libraries installed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |