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

learn more… | top users | synonyms

1
vote
0answers
32 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?
0
votes
0answers
16 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
114 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 ...
0
votes
1answer
52 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 ...
1
vote
1answer
70 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
29 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
0answers
17 views

Why I have a SegFault on a newSymbol->setColor?

I am working in C++ and QT, I have to write an application based on the qgis c++ api 2.8.2. So, I try to do the same thing that the sample code in python on the webSite http://snorf.net/blog/2014/03/...
0
votes
1answer
64 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
38 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 ...
0
votes
0answers
89 views

Syntax Error in qgsapplication file

I am trying to test an QGIS application code example. However, when I try to compile it, it is reporting errors in qgsapplication.h which is coming with the source code of QGIS. I am using QTCreator ...
1
vote
0answers
152 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
54 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
207 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 ...
0
votes
1answer
669 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
305 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 ...
2
votes
1answer
4k 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
129 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 ...
6
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/...