Compiling and installing Opendtect 6

Source: Internet
Author: User

Windows CMake compilation Opendtect 6

I compiled it with Cmake3.5.2, QT5.4.2, and VS2013 (VS and Qt One by one, to download the QT version that supports OpenGL).

1. Install VS and QT, set environment variables and paths.

Error1:缺少lib。    直接考一份xxx.lib到缺少的目录下一份。Error2:stdint.h文件出错。    注释掉该文件第一行,保存。Error3:无法启动此程序,因为计算机中丢失xxx.dll。    从3rdParty_x86_x64\x64\bin文件夹中把xxx.dll复制到windows/systerm32下就行。剩余两个Error,关于X86、X64的和一个很长的问题不用管,不影响运行。编译完之后运行example测试一下。

2, compile Osggeo with OSG (the last two errors do not need to solve)

3. Compiling Opendtect

Add the compiled OSG and Osggeo files to the Opendtect\external

CMake Compile Error:
Error1: The Qidir path is not found, that is, Qtdir not set.

Error2: If the cmake error unsuitable qt version "" From NOTFOUND appears, this code requires QT 4.x
By modifying the Opendtect\cmakemodules\odqtutils.cmake to resolve

Error3: If Zlib.dll is missing, the download zlib is compiled with CMake and VS2013, and the compiled Zlib.dll is selected as the path.

VS2013 Compile Opendtect Error:
Error1: An unresolved internal symbol appears at compile time 、、、
The following changes are made in the properties->c/c++-> language of the basic project:

Error2: Od_helpids.h File not found
Download the od_helpids.h and place the file in the Opendtect\external\doc_csh directory (DOC_CSH is new).
Od_helpids.h Download Link: od_helpids.h

That's it, ^_^.

Compiling and installing Opendtect 6

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.