Re: [QGIS-Developer] 来自Kurt Stine的邮件

2018-03-11 Thread Kurt Stine
I can't seem to figure out how to build for ARM. I have all the required libs 
installed, it's added to my path but it says it can't find zlib.h or uinstd.h. 
It seems that those aren't put on the disk? Anyone have ideas?


Thanks,
Kurt



At 2018-03-11 17:05:04, "Mark Johnson"  wrote:

That is very likely the cause.


At the moment I am working on getting Spatialite/RasterLite2 working on android 
with arm(32), arm64 X86_64.




https://github.com/geopaparazzi/libjsqlite-spatialite-android/wiki/Android_4.5.0.mk


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] 来自Kurt Stine的邮件

2018-03-11 Thread Mark Johnson
That is very likely the cause.

At the moment I am working on getting Spatialite/RasterLite2 working on
android with arm(32), arm64 X86_64.


https://github.com/geopaparazzi/libjsqlite-spatialite-android/wiki/Android_4.5.0.mk
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] 来自Kurt Stine的邮件

2018-03-11 Thread qiangong2
  ‎It may be because I am trying to port QGIS to ARM. I may have to recompile spatialite. I was really hoping I wouldn't have to, but I'll try that tomorrow.Sent from my BlackBerry 10 smartphone.From: Mark JohnsonSent: Sunday, March 11, 2018 12:12 AMTo: qgis-developer@lists.osgeo.orgSubject: Re: [QGIS-Developer]	来自Kurt Stine的邮件>> Determining if the function gaiaStatisticsInvalidate exists in the C:/OSGeo4W/lib/spatialite_i.lib failed yes, the first one says it cannot find gaiaStatisticsInvalidate.But if the file size is the same it should be found in spatialite_i.lib, then it looks as if the cmake routine 'CheckFunctionExists.c' is faulty.Sorry, I don't have practical experience in windows, so I can't  what the cause is.



___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] 来自Kurt Stine的邮件

2018-03-11 Thread Mark Johnson
>> Determining if the function gaiaStatisticsInvalidate exists in the
C:/OSGeo4W/lib/spatialite_i.lib failed
yes, the first one says it cannot find gaiaStatisticsInvalidate.

But if the file size is the same it should be found in spatialite_i.lib,
then it looks as if the cmake routine 'CheckFunctionExists.c' is faulty.

Sorry, I don't have practical experience in windows, so I can't  what the
cause is.
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] 来自Kurt Stine的邮件

2018-03-10 Thread Kurt Stine
They are the same size.

I wonder if the issue is mainly due to the cmake error that is being thrown. I 
put the link in a previous mail, but here it is: 
https://hastebin.com/woherijadi.tex


It says that there are unresolved externals.
Here is the cmakeoutput.txt file: https://hastebin.com/zopepezabo.tex


Kurt



>> C:\OSGeo4W/lib\spatialite.lib
>> C;\OSGeo4W\lib\spatialite_i.lib


This naming convention seems to be normal for OSGeo4W.


I found a site that contains the 32 bit Spatialite 4.3 version:


http://www.norbit.de/~jef/osgeo4w/x86/release/spatialite/
http://www.norbit.de/~jef/osgeo4w/x86/release/spatialite/spatialite-4.3.0-4.tar.bz2
05-Nov-2017 20:455.6M
  149310 Nov  5 20:44 spatialite_i.lib
 13892352  Nov  5 20:44 spatialite.lib


# 'nm' is a linux command to list the symbols in an object file
# -> first with an original linux spatialite 4.3:
nm libspatialite.so.7.1.0 |  grep gaiaStatisticsInvalidate
0016bd89 T gaiaStatisticsInvalidate
- which finds 'gaiaStatisticsInvalidate'


# The same on the windows 'spatialite_i.lib' from www.norbit.de
nm spatialite_i.lib |  grep gaiaStatisticsInvalidate
 T _gaiaStatisticsInvalidate
 I __imp__gaiaStatisticsInvalidate
- also bring a result, nice to know it also works with windows binaries


So I would compare the date and size of the 2 files with yours and if not the 
same download the archive from www.norbit.de and try that.


Mark

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] 来自Kurt Stine的邮件

2018-03-10 Thread Mark Johnson
>> C:\OSGeo4W/lib\spatialite.lib
>> C;\OSGeo4W\lib\spatialite_i.lib

This naming convention seems to be normal for OSGeo4W.

I found a site that contains the 32 bit Spatialite 4.3 version:

http://www.norbit.de/~jef/osgeo4w/x86/release/spatialite/
http://www.norbit.de/~jef/osgeo4w/x86/release/spatialite/spatialite-4.3.0-4.tar.bz2
05-Nov-2017 20:45 5.6M
  149310 Nov  5 20:44 spatialite_i.lib
 13892352  Nov  5 20:44 spatialite.lib

# 'nm' is a linux command to list the symbols in an object file
# -> first with an original linux spatialite 4.3:
nm libspatialite.so.7.1.0 |  grep gaiaStatisticsInvalidate
0016bd89 T gaiaStatisticsInvalidate
- which finds 'gaiaStatisticsInvalidate'

# The same on the windows 'spatialite_i.lib' from www.norbit.de
nm spatialite_i.lib |  grep gaiaStatisticsInvalidate
 T _gaiaStatisticsInvalidate
 I __imp__gaiaStatisticsInvalidate
- also bring a result, nice to know it also works with windows binaries

So I would compare the date and size of the 2 files with yours and if not
the same download the archive from www.norbit.de and try that.

Mark
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] 来自Kurt Stine的邮件

2018-03-10 Thread Kurt Stine
I have:


C:\OSGeo4W/lib\spatialite.lib
C;\OSGeo4W\lib\spatialite_i.lib



Kurt


At 2018-03-10 16:36:08, "Mark Johnson"  wrote:

>> Determining if the function gaiaStatisticsInvalidate exists in the 
>> C:/OSGeo4W/lib/spatialite_i.lib failed with the following output:


gaiaStatisticsInvalidate has existed since Spatialite 4.2, so a version before 
that must of been found.



Could you show a list of files in C:/OSGeo4W/lib/ that contain 'spatialite'?


Mark___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] 来自Kurt Stine的邮件

2018-03-10 Thread Mark Johnson
>> Determining if the function gaiaStatisticsInvalidate exists in the
C:/OSGeo4W/lib/spatialite_i.lib failed with the following output:

gaiaStatisticsInvalidate has existed since Spatialite 4.2, so a version
before that must of been found.

Could you show a list of files in C:/OSGeo4W/lib/ that contain 'spatialite'?

Mark
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] 来自Kurt Stine的邮件

2018-03-09 Thread Paolo Cavallini
Hi Kurt,

Il 10/03/2018 03:08, Kurt Stine ha scritto:
> I am trying to port QGIS to Windows RT Desktop (Windows on ARM). I have
> everything set up and running, until I get to cmake. Cmake fails to
> build when it reaches spatialite. 
> 
> This is what the cmake error file
> shows: https://hastebin.com/woherijadi.tex
> 
> I have tried manually replacing the spatialite lib with the 4.3 version,
> but the same issue occurs. Any help is welcome and appreciated!

interesting news - would you mind sharing your work? Probably others
would be inerested in installing QGIS in the same environment.
Thanks.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer