On Thu, Feb 16, 2012 at 5:13 PM, Dan Dittmann <[email protected]> wrote:

> I have been attempting to build theversion 1.9 of QGIS for Mac OS 10.7.3
> and have been unable to complete the compile.
>
> I suspect the problem likely is an architecture setting which I am
> overlooking. Based on the errors pasted below, is it an architecture
> setting or something else? The output from cmake appears to imply
> everything is ok dependency wise. The log from cmake is at the bottom.
>
>
> I am attempting the build with a mix of William Kyngesburye's libraries
> and MacPorts Libraries. Below I have included what I am using for cmake and
> the build.
>

..snip..


> Linking CXX shared module ../../../PlugIns/qgis/libogrprovider.so
> Undefined symbols for architecture x86_64:
>  "_OGR_L_SetIgnoredFields", referenced from:
>      QgsOgrProvider::setRelevantFields(bool, QList<int> const&)in
> qgsogrprovider.cpp.o
>  "_OGR_L_DeleteField", referenced from:
>      QgsOgrProvider::deleteAttributes(QSet<int> const&)in
> qgsogrprovider.cpp.o
> ld: symbol(s) not found for architecture x86_64
> collect2: ld returned 1 exit status
> make[2]: *** [PlugIns/qgis/libogrprovider.so] Error 1
> make[1]: *** [src/providers/ogr/CMakeFiles/ogrprovider.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
>

..snip..

The _OGR_L_* symbols are part of libgdal. Looks like you have a 32-bit
version of GDAL running around that is getting in the way of the build.

-Charlie
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to