Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [compile]

for questions relating to compiling GIS software and geospatial libraries.

0
votes
1answer
64 views

Build gdal with proj version 6

Description of the issue: Building gdal from sources after having build proj in its latest version is failing at the configure step because it's not finding proj 6. Details to reproduce: Work ...
0
votes
2answers
66 views

Seeking pre-compiled QGIS to run from USB stick? [duplicate]

Is there a place I can find pre-compiled QGIS? I want to run it from my USB stick, without installation.
3
votes
1answer
229 views

How to compile/install php-mapscript with PHP7

So, this PR opens up mapscript support for PHP7. Since there is no ducomentation I gave it a try based on How compile/install php-mapscript on Ubuntu 16.04 (although I'm doing it in Debian 9 if that's ...
0
votes
0answers
8 views

IDL Workbench - error in comment line

I am working with IDL workbench for a project and I am having some troubles with it. Just now I have an error that doesn't make any sense to me, as it's actually in an uncommented line of code. This ...
1
vote
1answer
50 views

Enabling C++ standards when compiling GEOS using cmake/ccmake?

I read from RFC # 7 of GEOS that the old autoconf based build system may be removed in the future, in favor of using cmake. I sometimes need to customize geos and add functions that uses the newest C+...
1
vote
1answer
451 views

Compiling QGIS 3.x (master) on Ubuntu 16.04 with Python3.6 and the latest Qt 5 and PyQt5 familiy modules (PyQt5, sip, qscintilla, pyqtchart)

The problem: Now that the compilation issue is over (Unable to compile QGIS 3.x (master) on Ubuntu 16.04: PyQt5.pyqtconfig module does not exist), QGIS 3 (master) refuses to load Python at startup. I ...
0
votes
0answers
73 views

QGIS 3.2 compile error on Slackware 64 current

I am trying to compile QGIS 3.2.1 on a Slackware 64 current. I have already compiled QGIS 3.0.2 successfully. Now I am getting this error near the beginning of the compilation process: qgis-3.2.1/src/...
3
votes
1answer
361 views

Unable to compile QGIS 3.x (master) on Ubuntu 16.04: PyQt5.pyqtconfig module does not exist

From: http://pyqt.sourceforge.net/Docs/PyQt5/pyqt4_differences.html there seems to be no more pyqtconfig module in PyQt5: pyqtconfig Module PyQt4’s pyqtconfig module is not supported. The ...
1
vote
2answers
213 views

Couldn't load PyQGIS…on Windows custom build

I have built QGIS 3.2.0 with the release code downloaded from GitHub, using CMake and Visual Studio 2017. Basically I followed the instructions in INSTALL file. When I run QGIS.exe, it shows: Couldn'...
1
vote
1answer
263 views

Missing pyrcc compiling QGIS item

I created a plugin using the QGIS Plugin Builder with QGIS 3.2 and tried to compile it afterwards with the OSGeo4W Shell. In the Shell I navigated to the directory my plugin is installed (C:\Users\...
2
votes
0answers
121 views

Problem using cmake QGIS 3.0 [closed]

I'm trying to compile QGIS 3.0 on Windows. I want to port it to Windows RT (Windows on Arm) I keep getting this error: Looking for gaiaStatisticsInvalidate in C:/OSGeo4W/lib/spatialite_i.lib Looking ...
2
votes
0answers
46 views

Building QGIS 3 undeclared identifiers and classes on macOS

Has anyone had any luck building QGIS 3 on macOS? I keep getting unkonwn type name errors when running it: /Users/user/Downloads/QGIS-master/src/core/qgspointlocator.cpp:62:39: error: unknown class ...
4
votes
3answers
9k views

How to install GDAL on CentOS 7.4?

I'm trying to install GDAL 2.x on my CentOS 7.4 server. I looked at what is available, and it is still at v 1.11 of GDAL Since I need GDAL v 2.x along with libKML support, looks like I'll have to ...
1
vote
0answers
359 views

Building QGIS >= 2.18.12 on Linux Mint 18.2 Sonya - with Oracle provider

I need to use QGIS desktop, on a Linux box, to work with Oracle spatial. The past 2-3 QGIS versions (at least) for Windows came out of the box with Oracle support - unfortunately, this is not the case ...
0
votes
0answers
253 views

Error while compiling gdal 1.9.2 in Ubuntu16.04

I am trying to compile and build gdal 1.9.2 in Ubuntu 16.04.3. I am doing the below steps sudo wget http://download.osgeo.org/gdal/gdal192.zip unzip gdal192.zip -d gdal cd gdal cd gdal-1.9.2/ sudo ./...
1
vote
1answer
1k views

How to install shp2pgsql and raster2pgsql from source?

I just installed PostGIS 2.4.0alpha from source by following osgeo instructions on Ubuntu 16.04. After installation, PostGIS seems to work. However, command line tools that are supposed to come with ...
1
vote
1answer
231 views

Building QGIS master on Windows 7

I'm trying to build a debug version of QGIS on windows env for this I'm using the bat file package-nightly, I followed all steps presents in INSTALL file but without success. When I executed the bat ...
2
votes
0answers
286 views

How to compile GDAL with external libraries? (Rasterlite2)

I want to compile GDAL with Rasterlite2 Support, but I can't find any info on how to do this. I already downloaded librasterlite2, libspatialite and libsqlite3. When configuring with --with-...
2
votes
0answers
129 views

Import error when compiling QGIS 2.18.3

I am getting the following error while compiling QGIS 2.18.3 in visual studio 2010. Apparently all is well when I compile QGIS 2.14. Is there something am missing? 277> Building Custom Rule D:/...
1
vote
1answer
130 views

Installing MCC-LIDAR on Mac

I'm trying to install mcc-lidar on Mac but get into problems when compiling. [ 3%] Building CXX object CMakeFiles/mcc-lidar.dir/LasDataFormat.cpp.o /Users/Oskar/Documents/mcclidar-code/src/...
3
votes
4answers
2k views

How compile/install php-mapscript on Ubuntu 16.04

I need to upgrade from Ubuntu 14.04 to 16.04 but php5 is not officially supported on Ubuntu 16. I install php5.5 by ondrej repo https://askubuntu.com/a/756186/483814 but when I try to install php5-...
1
vote
2answers
352 views

QGIS bat file for 64 bit build

I am trying to build QGIS on a 64 bit machine with Windows 7 SP1. My bat file is as follows: @echo off set VS90COMNTOOLS=%Program Files (x86)%\Microsoft Visual Studio 10.0\Common7\Tools\ call "%...
2
votes
1answer
579 views

Compile QGIS / Can't find Qt Cryptographic Architecture

I'm trying to compile QGIS-master 2.12 for the first time following the INSTALL guide (https://github.com/qgis/QGIS/blob/master/INSTALL). I'm stucked while compiling with the "CMake Error at cmake/...
2
votes
1answer
323 views

QGIS Plugin 'make' error on Windows

Creating QGIS plugin via PluginBuilder and compiling resources via simple 'make' works straightforward under Linux (SuSe 13.2). Under Windows 'make' (3.81) produces an error: C:\Users\Jochen\.qgis2\...
1
vote
0answers
783 views

undefined reference to `TIFFDefaultStripSize@LIBTIFF_4.0'

I am trying for the first time to use gdal in Ubuntu 15.10 with gcc. I call gdal.h in my program. At first I got the error "undefined reference to `GDALOpen'", so I check online and I found that I ...
1
vote
1answer
173 views

Building QGIS 2.8.6 on Win 7 32bit?

I'm trying to build QGIS 2.8.6 on Windows 7 32 bit using MSVC Express 10. The build process completes without errors, but with a bunch of warnings. When I run the qgis.exe after installation, it only ...
0
votes
2answers
569 views

How to compile or find PHP MapScript (MapServer) latest version for Windows?

I had major performance difficulties with MapServer version 6.0.3 (MS4W 3.0.6) and need latest version of MapScript but I can't find it for Windows. Anybody can help me to find latest compiled (...
2
votes
0answers
485 views

How to edit the GUI of a QGIS plugin not made with the plugin builder?

I edited a python plugin's code and had to change the UI a bit as well. However, unlike in the plugins I made from scratch with the plugin builder, the UI doesn't automatically update in QGIS when I ...
5
votes
1answer
3k views

How to control QGIS from within Anaconda's Spyder (Continuum Analytics Python distribution) in Windows

I would like to control QGIS from within Anaconda's Spyder, in particular use the QGIS core modules. My config: Windows 7 Anaconda 64x for Python 2.7 Spyder 2.3 Postgresql 9.4 PostGIS 2.1 QGIS 2.8 (...
2
votes
1answer
928 views

Compiling custom plugins for QGIS on Windows

I've made my first plugin using plugin builder and I want to compile it. I read that I need two commands to do it under windows: pyuic4 and pyrcc4. But when I use any of these commands I get this: D:\...
1
vote
0answers
151 views

Compiling QGIS for Slackware (Slak 14)?

I use a Slak 14 box and tried to install QGIS on it. the compile process goes on for 30 minutes or so (dual Xeon 3.2 ghz) and then I get the errors below. Says the compiler doesn't work. Have had no ...
1
vote
4answers
3k views

Can't compile python plugin in QGIS (Windows)

I'm just installed QGIS 2.2 and created a new plugin from Plugin Builder. When I try to compile the plugin using: C:\Program Files\QGIS Valmiera\bin>pyuic4 -o C:\Program Files\QGIS Valmiera\bin\ ...
1
vote
1answer
527 views

PostGIS 2.1.1 compilation issue

I tried to compile postgis-2.1.1 in RedHat 6.3 with: # ./configure --with-pgconfig=/usr/local/pgsql/bin/pg_config --with-gdalconfig=/usr/local/bin/gdal-config --with-geosconfig=/usr/local/bin/geos-...
2
votes
1answer
563 views

Trying to build GDAL with ECW SDK 5.0 on Windows

I'm using Visual Studio 2010 to open and build the GDAL 1.10 source (using the "makegdal10.sln"). This builds without an issue. Now I want to include the ECW support by including the ECW v5.0 SDK (...
2
votes
1answer
474 views

Installing QGIS 2.0 with the newest gdal and geos libraries

I want to install QGIS 2.0 on Ubuntu 12.04 LTS. I followed these steps until the final installation command. Before I compiled gdal 1.10, geos 3.4.2 and grass 6.4.3 on my own. In the synaptic ...
1
vote
0answers
463 views

Trying to build GDAL's ECW plugin in 64 bit Linux

I'm trying to build the GDAL's ECW plugin in Linux. I'm using the latest version of the SDK from Intergraph's site (5.0). It fails because it tries to compile against the 32 bit version of the ...
1
vote
1answer
241 views

fatal error LNK1104 qgis build

I try to build qgis1.8.0 using Microsoft Visual c++ 2010 in a Windows 7 64bit. all the dependency are installed and the solution qgis1.8.0.sln was generated succesfully. but my problem is the ...
1
vote
0answers
539 views

Does qgis_mapserv.fcgi segfault because ECW data is used?

I've compiled qgis from source, and when I call qgis_mapserv.fcgi in my browser with REQUEST=GetProjectSettings (and my map file set via map=) is returns the XML correctly. But if I then try to ...
3
votes
1answer
278 views

Compiling QGIS 2.0.1 on Centos (SIP problems)

Trying to compile QGIS 2.0.1 on CentOS 6.4 (64 bit): /usr/share/sip/PyQt4/QtGui/qsyntaxhighlighter.sip: In function ‘PyObject* meth_QgsExpressionHighlighter_setCurrentBlockUserData(PyObject*, ...
4
votes
1answer
4k views

Compiling PostGIS fails when it can't find GDALAllRegister

I'm trying to compile the latest PostGIS 2.1.0 beta and the configure process fails at: checking GDAL version... 1.10.0 checking for OGR enabled... yes checking gdal.h usability... yes checking gdal....
1
vote
1answer
2k views

Compiling and Using GeoExplorer in Windows

I have been using GeoServer on Apache Tomcat in Windows and I want to install GeoExplorer. It is an OpenGeo Suite tool, and its source code is found here. I have downloaded the source code and tried ...
11
votes
5answers
6k views

Compiling Python scripts (to .exe) that use ArcGIS Geoprocessing Tools?

I've been coding with Python for several months now and have developed some reasonably complex scripts for primarily geoprocessing tasks. That being said, I'm still learning a lot as I'm coming from a ...