[Qgis-developer] Xcode build problems
Gary Sherman
gsherman at mrcc.com
Sat Jan 16 18:35:12 EST 2010
On Sat, Jan 16, 2010 at 2:07 PM, William Kyngesburye
<woklist at kyngchaos.com> wrote:
> Just checking - are you following the Qgis INSTALL instructions? They were recently updated with Qwt build intructions and today the install guide on the wiki was updated to what's in svn. And of course it has the SIP/PyQt instructions, with some custom options for using the system Python in Leopard and Snow.
Yes, although the build instructions for PyQWT didn't work for me but
I have gotten past that. Now I'm getting a link error in QGIS:
/Developer/usr/bin/g++-4.2 -arch i386 -isysroot
/Developer/SDKs/MacOSX10.6.sdk
-L/Users/gsherman/development/qgis_trunk_git/mac/xcode/build/snow/Release
-L/Users/gsherman/development/qgis_trunk_git/mac/xcode/build/snow/Release/Qgis.app/Contents/MacOS/lib
-F/Users/gsherman/development/qgis_trunk_git/mac/xcode/build/snow/Release
-filelist /Users/gsherman/development/qgis_trunk_git/mac/xcode/build/snow/Qgis.build/Release/Qgis.build/Objects-normal/i386/Qgis.LinkFileList
-mmacosx-version-min=10.6 -no_dead_strip_inits_and_terms
-headerpad_max_install_names -framework GDAL -framework PROJ
-framework GEOS -framework SQLite3 -L/usr/local/pgsql/lib -lpq
-framework QtCore -framework QtGui -framework QtNetwork -framework
QtXml -framework QtSvg -framework QtSql -lQtUiTools
-L/usr/local/qwt-5.2.1-svn/lib -lqwt -lqgis_core -lqgis_gui -framework
ApplicationServices -framework CoreFoundation -framework CoreServices
-o /Users/gsherman/development/qgis_trunk_git/mac/xcode/build/snow/Release/Qgis.app/Contents/MacOS/Qgis
ld: library not found for -lQtUiTools
collect2: ld returned 1 exit status
-gary
>
> On Jan 16, 2010, at 4:46 PM, Gary Sherman wrote:
>
>> On Sat, Jan 16, 2010 at 12:11 PM, William Kyngesburye
>> <woklist at kyngchaos.com> wrote:
>>> ... should be fixed in r12786. Odd that I didn't get that error, though I don't normally do debug builds.
>>
>> Thanks for the quick turnaround. The only (I think) problem I have now
>> is with pyqwt. I'm unable to build it due to an error in a sip
>> generated file. I'm running sip 4.9.3:
>>
>> In file included from ../sip/qwt5qt4/qwt_plot_rescaler.sip:36:
>> ./qwt_plot_rescaler.h:120: error: incomplete type ‘QwtPlot’ used in
>> nested name specifier
>> ./qwt_plot_rescaler.h:73: error: incomplete type ‘QwtPlot’ used in
>> nested name specifier
>>
>>>
>>> On Jan 16, 2010, at 2:36 PM, Gary Sherman wrote:
>>>
>>>> In file included from
>>>> /Users/gsherman/development/qgis_trunk_git/mac/xcode/build/snow/Qgis.build/Debug/python
>>>> analysis.build/DerivedSources/sipanalysispart0.cpp:7:
>>>> /Users/gsherman/development/qgis_trunk_git/mac/xcode/build/snow/Qgis.build/Debug/python
>>>> analysis.build/DerivedSources/sipAPIanalysis.h:11:17: error: sip.h: No
>>>> such file or directory
>>>> In file included from
>>>> /Users/gsherman/development/qgis_trunk_git/mac/xcode/build/snow/Qgis.build/Debug/python
>>>> analysis.build/DerivedSources/sipanalysispart0.cpp:7:
>>>> /Users/gsherman/development/qgis_trunk_git/mac/xcode/build/snow/Qgis.build/Debug/python
>>>> analysis.build/DerivedSources/sipAPIanalysis.h:189: error:
>>>> 'pyqt4ClassTypeDef' does not name a type
>>>>
>>>> -gary
>>>>
>>> -----
>>> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
>>> http://www.kyngchaos.com/
>>>
>>> "I ache, therefore I am. Or in my case - I am, therefore I ache."
>>>
>>> - Marvin
>>>
>>>
>>>
>>
>>
>>
>> --
>> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
>> Gary Sherman
>> Chair, QGIS Project Steering Committee
>> -Desktop GIS Book:
>> *http://desktopgisbook.com
>> -Spatial Hosting:
>> *http://mrcc.com/hosting
>> "We work virtually everywhere"
>> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> All generalizations are dangerous, even this one.
>
>
>
--
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Gary Sherman
Chair, QGIS Project Steering Committee
-Desktop GIS Book:
*http://desktopgisbook.com
-Spatial Hosting:
*http://mrcc.com/hosting
"We work virtually everywhere"
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
More information about the Qgis-developer
mailing list