qgis+vs2010 Windows compilation

Source: Internet
Author: User

It took two days to finally compile the pass and summarize some experience

1, follow the tutorial step by step, the following is my reference to feel good tutorial

Official compilation tutorials

Http://www.ithao123.cn/content-836870.html
Http://www.osgeo.cn/post/3808.html (key recommendation)
Http://www.osgeo.cn/post/3805.html
Http://blog.sina.com.cn/s/blog_6baa5ffd0100z26x.html

2, the main tools CMake and everything, in the CMake set up generally in the osgeo4w can be found, configure after the adoption of the VS compiler error constantly adjusted; everthing very useful

3, compile to have patience, may need to constantly adjust CMake, general compilation errors are due to the library file path error or file version inconsistency, everything search can be compared to determine the file; But some libraries may need to be re-downloaded, such as SQLite

4, can be installed before the official release version, in some files, especially DLL files can not be found when the everything search attempt to replace

5, because CMake set is absolute path, so do not arbitrarily change the path, preferably in advance to establish a Qgis folder , the relevant files are placed inside

6. Path name need not have Chinese or space

7, CMake Cmakeinstallprefix best not set the path in the C drive, install may require administrator privileges; txt2tags_executable setting is txt2tags.py not exe

8, in the final compilation, run Qgis may have DLL can not find the problem, everything search can use the official installation version of the DLL replacement I encountered a gdal111.dll error while installing, and later everything search Gdal10.dll renamed Gdal111.dll and overwritten. It may be that the files in the osgeo4w have been modified during the compilation process, so you need to be careful when modifying osgeo4w.

Finally say, compile really have patience, in fact, the whole process is not complicated, the related installation files in the http://www.osgeo.cn/post/3808.html are downloaded, the problem will not be too difficult, step by step to solve is

(1) Tool-type files to be used in the compilation process HTTP://PAN.BAIDU.COM/S/1PJWOHGN

(2) Qgis source code http://pan.baidu.com/s/1dDlJjUh

(3) osgeo4w Local installation files Http://pan.baidu.com/s/1hqpaV7Q

(4) Qgis compiled files Http://pan.baidu.com/s/1c06eaMO

qgis+vs2010 Windows compilation

Related Article

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.