Questions tagged [compilation]

The translation of code from a high-level programming language (like C) to an executable program.

Filter by
Sorted by
Tagged with
0
votes
1answer
57 views

Compiling PDAL with both Python2 and Python3 bindings support

I would like to build PDAL with both together support for Python2 and Python3 bindings (on Ubuntu 16.04). Fig. 1: Screenshot of the Python stuff within cmake-gui. How could I achieve this? If a ...
2
votes
1answer
552 views

PostGIS compilation error on Windows - missing libpq

I have built PostgreSQL source using MSVC2015 compiler for 64bit support and installed on Windows. Now, I want to build PostGIS also from source (I am referencing from this documentation). I am using ...
1
vote
0answers
48 views

What is the easiest way to write C extensions to Python for use in QGIS?

I would like to write some functions in C to call from the Python console in QGIS. What is the easiest way to do this? Does there exist anything comparable to Matlab's MEX?
-1
votes
1answer
219 views

SAGA-GIS (2.3.1) fatal error during compilation (Ubuntu 16.04) hdf5.h not found in /usr/include/vigra/ subdir

OS : Ubuntu 16.04 Compilation using : ./configure && make I encountered a fatal error while compiling SAGA-GIS 2.3.1 : Making all in imagery_vigra make[5]: Entering directory '/home/...
5
votes
1answer
262 views

Following tests fails while trying to build QGIS from source

I have been trying to compile QGIS for a long time now. What I did is: Download Visual Studio 2010, Windows 7 SDK, cygwin, osgeow4 (I followed the instruction lines 380 - 447) Additionally I have ...
2
votes
1answer
385 views

SFCGAL compilation: How to specify CGAL path?

I'm a Linux newbie but nevertheless I want to install SFCGAL on OSGeoLive Virtual Machine (this is Ubuntu 14.04.4. LTS trusty). So first of all I had to get the dependencies, e.g. CGAL. Unfortunately ...
2
votes
1answer
538 views

Fail to compile QGIS source on Windows

CMake fails to configure. I get following error: Could NOT find PythonInterp: Found unsuitable version "1.4", but required is at least "2.7" (found c:/cygwin/bin/python2.7.exe) which seems ...
1
vote
0answers
90 views

How can I inject categorizedSymbolRenderer into My QgsFeatureRenderer?

I try to get the categorizedSymbolRenderer value in order to render them In all sample of code I found ( in python but not in c++ ) it said : renderer = QgsCategorizedSymbolRendererV2(expression , ...
0
votes
1answer
85 views

How to compile QGIS master snapshot from a certain point in history?

I would like to find out which commit in QGIS code caused a certain change in behaviour. Since the archives at http://download2.osgeo.org/osgeo4w/release/qgis/qgis-dev/ are not complete, I think that ...
1
vote
1answer
61 views

Adding GeoEye1 sensor to grass i.atcorr

Following the instructions, I've updated the iwave.h and iwave.cpp files using the official spectral responses from DigitalGlobe (In the iwave.h file I don't know if it's necessary to use more ...
1
vote
0answers
195 views

How to compile QGIS 2.4.0 on Ubuntu Precise 12.04

Been trying to compile this for a couple of hours, using this download: http://qgis.org/downloads/qgis-latest.tar.bz2 and these instructions: http://htmlpreview.github.io/?https://raw.github.com/...
2
votes
1answer
59 views

can grass modules work separately

Grass is very useful tool for pre processing of imagery. I want to use the i.atcorr module separately. Will it be possible? I have compiled using .cpp files (AerosolConcentration.cpp, AerosolModel.cpp,...
1
vote
1answer
307 views

Trying to compile QGIS but it complains it can't find QGIS library

I'm trying to compile QGIS in Windows7 with a MSYS, with the objective of making a QGIS Windows App using the API. I am using this document. I'm using CMake-GUI and it gives the error Warning ...
1
vote
1answer
922 views

Solving flagrant shared object errors when compiling postgis 2.1SVN from source on Ubuntu 12.04

I have spent the past few days of my life trying to figure out how to get postgis to function properly with a non-standard directory installation of postgres 9.3, but have been unable to resolve the ...
2
votes
1answer
371 views

How to compile QGIS from source with custom pyspatialite 4.0.0?

I have turned WITH_PYSPATIALITE ON, but I have a custom build of SpatiaLite (4.0.0), not the packaged version, so I set WITH_INTERNAL_SPATIALITE to OFF. How do I tell QGIS to configure PYSPATIALITE ...
1
vote
1answer
355 views

QGIS compiles with Qt Creator error

I followed the steps in this article http://linfiniti.com/2011/06/using-qtcreator-with-qgis/ to compile QGIS on Ubuntu 12.04 64bit with Qt Creator. I got the latest source for master with git. I get ...
2
votes
1answer
5k views

What packages are needed on CentOS to compile MapServer from source

I'm trying to configure MapServer 6.2.0 for compilation on CentOS 6.3, but always run into the same problem, no matter what configure options I supply (also the same with no options at all, just plain ...
3
votes
2answers
176 views

pgRouting - Make fails on Mac

I am having trouble getting started with pgRouting. 1) from binary The Kyngchaos binary just won't install and says it requires PostgreSQL 9.1. I do have it, but probably not where the binary ...
7
votes
2answers
2k views

How to compile QGIS with GRASS on Ubuntu?

I am on Ubuntu building qgis with grass plugin. I have build grass code separately and used --prefix to provide the path GRASS_PREFIX is /usr/local/grass-6.4.2 and GRASS_INCLUDE_DIR is /usr/local/...