Building from Source
Building from Source
Linux
These instructions are for Linux.
-
Download the source for the plugins for the appropriate version of OpendTect from Github
-
Use the OpendTect installation manager to install the OpendTect developer packages and install any other packages required for compiling and building code for your operating environment as per the OpendTect Programmer’s Manual
-
Start OpendTect
-
Select the Utilities-Tools-Create Plugin Devel. Env. menu item to create a development work folder (eg /home/user/ODWork).
-
Unzip the attribute source zip archive downloaded in step 1 in the development work folder. This will overwrite the CMakeLists.txt in the development work folder and add the plugin source folders to the plugin folder.
-
Optionally edit CMakeCache.txt in the development work folder and change Debug to Release.
-
Open a terminal, cd to the development work folder and type:
cmake .
make
- This should create the binary files for each plugin, lib*.so and libui*.so, in the bin folder (eg in ODWork/bin/lux64/Release/) and four *.alo files for each plugin in the root of the development work folder.
Windows
These instructions are for Windows.
-
Download the source for the plugins for the appropriate version of OpendTect from Github
-
Use the OpendTect installation manager to install the OpendTect developer packages and install any other packages required for compiling and building code for your operating environment as per the OpendTect Programmer’s Manual
-
Start OpendTect
-
Select the Utilities-Tools-Create Plugin Devel. Env. menu item to create a development work folder (eg c:\Users\user\ODWork).
-
Unzip the attribute source zip archive downloaded in step 1 in the development work folder. This will overwrite the CMakeLists.txt in the development work folder and add the plugin source folders to the plugin folder.
-
Follow the instructions in the OpendTect Programmer’s Manual to configure and build the plugins.
-
This should create the binary files for each plugin in the bin folder (eg in ODWork\bin\win64\Release).
On Windows you must use “Release” build plugins with the “Release” version of OpendTect.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.