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
8 votes
1 answer
1k views

Debugging QGIS from Visual Studio

I try setup a QGIS debug environment under Windows10 64bit. I followed the instrictions given at https://github.com/qgis/QGIS/blob/master/INSTALL#L423 I also had a look at https://www.shaeffer.co/...
Thomas B's user avatar
  • 8,807
0 votes
1 answer
88 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 ...
swiss_knight's user avatar
  • 10.3k
3 votes
1 answer
844 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 ...
audlift-bit's user avatar
1 vote
0 answers
62 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?
Matt D.'s user avatar
  • 413
-1 votes
1 answer
293 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/...
swiss_knight's user avatar
  • 10.3k
5 votes
1 answer
301 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 ...
Filip Hazubski's user avatar
2 votes
1 answer
665 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 ...
Muad's user avatar
  • 23
2 votes
1 answer
570 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 ...
Filip Hazubski's user avatar
1 vote
0 answers
120 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 , ...
ainardi's user avatar
  • 843
0 votes
1 answer
101 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 ...
Pavol's user avatar
  • 153
1 vote
1 answer
65 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 ...
Spamod's user avatar
  • 11
1 vote
0 answers
199 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/...
minisaurus's user avatar
2 votes
1 answer
63 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,...
user28542's user avatar
  • 320
1 vote
1 answer
442 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 ...
patrick's user avatar
  • 2,730
1 vote
1 answer
1k 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 ...
THX1138's user avatar
  • 1,621
2 votes
1 answer
388 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 ...
grssnbchr's user avatar
  • 457
1 vote
1 answer
401 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 ...
Theuns Heydenrych's user avatar
2 votes
1 answer
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 ...
grssnbchr's user avatar
  • 457
3 votes
2 answers
220 views

Make with pgRouting fails on Ma

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 ...
Herve's user avatar
  • 33
6 votes
2 answers
3k views

Compiling 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/...
Srikanth's user avatar
  • 127