Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
geodma_2:build_inst [2018/10/03 15:27]
raian [Ms Visual Studio (ref. 2013)]
geodma_2:build_inst [2018/10/03 16:04]
raian [Qt5.X (ref. 5.4.2)]
Line 22: Line 22:
   * SourceTree Git client for Windows or Mac (recomended)   * SourceTree Git client for Windows or Mac (recomended)
   * SmartGit Git client for Linux (recomended)   * SmartGit Git client for Linux (recomended)
-  * Ms Visual Studio for Windows (2013 recomended)+  * Ms Visual Studio for Windows (2017 recomended)
   * XCode for Mac OSX (recomended)   * XCode for Mac OSX (recomended)
  
Line 57: Line 57:
 ==== Qt5.X (ref. 5.4.2) ==== ==== Qt5.X (ref. 5.4.2) ====
  
-Download Qt setup file and install it. After the installation is finished, add the cmake folder ​from Qt to the PATH environment variable. If you had installed Qt 5.4.the default configurations,​ it will be located at: +Download Qt setup file and install it. After the installation is finished, add the following folders ​from Qt to the PATH environment variable. If you had installed Qt 5.10.the default configurations,​ it will be located at: 
-   C:\Qt\Qt5.4.2\5.4\msvc2013_64_opengl\lib\cmake+   C:/Qt/Qt5.10.1/5.10.1/​msvc2017_64/​lib/​cmake/​Qt5 
 +    
 +   ​C:/​Qt/​Qt5.10.1/​5.10.1/​msvc2017_64/​lib/cmake/​Qt5LinguistTools
  
 ==== TerraLib 5.X (ref. release-5.2) ==== ==== TerraLib 5.X (ref. release-5.2) ====
Line 194: Line 196:
    ​target_link_libraries( CGAL_Qt5 CGAL ${CGAL_3RD_PARTY_LIBRARIES} ${CGAL_Qt5_3RD_PARTY_LIBRARIES} ${Boost_LIBRARIES})    ​target_link_libraries( CGAL_Qt5 CGAL ${CGAL_3RD_PARTY_LIBRARIES} ${CGAL_Qt5_3RD_PARTY_LIBRARIES} ${Boost_LIBRARIES})
  
-Create the folder //​C:/​dev/​CGAL-4.10/​built//​. Then, open CMake Gui. In the field //Where is the source code//, put the folder //​C:/​dev/​CGAL-4.10//​. In the field //Where to build the binaries//, put the folder //​C:/​dev/​CGAL-4.10/​built//​ and click //​Configure//​. In the pop up window, select “Visual Studio ​12 2013 Win64” and click //Finish//. After the project has finished to //​Configure//,​ click Generate. A Visual studio solution called //​CGAL.sln//​ will be generated in the binaries folder. Now, just open it and build for Debug and Release configurations.+Create the folder //​C:/​dev/​CGAL-4.10/​built//​. Then, open CMake Gui. In the field //Where is the source code//, put the folder //​C:/​dev/​CGAL-4.10//​. In the field //Where to build the binaries//, put the folder //​C:/​dev/​CGAL-4.10/​built//​ and click //​Configure//​. In the pop up window, select “Visual Studio ​15 2017 Win64” and click //Finish//. After the project has finished to //​Configure//,​ click Generate. A Visual studio solution called //​CGAL.sln//​ will be generated in the binaries folder. Now, just open it and build for Debug and Release configurations.
  
 After the solution was built for Debug and Release, you will need to install CGAL in the system. To execute this step, Visual Studio will need administrator privileges. Close Visual Studio. After closed, right click on it and go to //Run as Administrator//​. After Visual Studio was opened with administrator privileges, open the solution //​CGAL.sln//​ and build the project //INSTALL// for Debug and Release, respectively. After the solution was built for Debug and Release, you will need to install CGAL in the system. To execute this step, Visual Studio will need administrator privileges. Close Visual Studio. After closed, right click on it and go to //Run as Administrator//​. After Visual Studio was opened with administrator privileges, open the solution //​CGAL.sln//​ and build the project //INSTALL// for Debug and Release, respectively.

Navigation