[Qgis-developer] problem when cross compile QGIS1.0.0

ming xing sundaytange at yahoo.com.cn
Mon Dec 7 23:32:03 EST 2009



--









I wan to cross compile QGIS for OMAP3530 to support map.
I use cmake .. -DCMAKE_SYSTEM_PROCESSOR=/opt/codesourcery/arm-none-linux-gnueabi/arm-2007q3/ -DCMAKE_C_COMPILER=/opt/codesourcery/arm-none-linux-gnueabi/arm-2007q3/bin/arm-none-linux-gnueabi-gcc -DCMAKE_CXX_COMPILER=/opt/codesourcery/arm-none-linux-gnueabi/arm-2007q3/bin/arm-none-linux-gnueabi-g++ -DGEOS_LIBRARY=/usr/local/lib/ -DGEOS_INCLUDE_DIR=/usr/local/include/ -DGDAL_INCLUDE_DIR=/usr/local/include/ -DGDAL_LIBRARY=/usr/local/lib/ -DPROJ_INCLUDE_DIR=/usr/local/include/ -DPROJ_LIBRARY=/usr/local/lib/ -DSQLITE3_INCLUDE_DIR=/usr/local/include/ -DSQLITE3_LIBRARY=/usr/local/lib/ 
 
then I get many warning such as 
 

WARNING: Target "qgis_gui" requests linking to directory "/usr/local/lib/".  Targets may link only to libraries.  CMake is dropping the item.
 
qgisapp.cpp:(.text+0x95f0): undefined reference to `CPLPushErrorHandler'
qgisapp.cpp:(.text+0x9740): undefined reference to `CPLPopErrorHandler'
qgisapp.cpp:(.text+0x9794): undefined reference to `CPLQuietErrorHandler'
CMakeFiles/qgis.dir/qgsbookmarkitem.o: In function `QgsBookmarkItem::store()':
qgsbookmarkitem.cpp:(.text+0x274): undefined reference to `sqlite3_open'
qgsbookmarkitem.cpp:(.text+0x4d8): undefined reference to `sqlite3_prepare'
qgsbookmarkitem.cpp:(.text+0x4f8): undefined reference to `sqlite3_step'
qgsbookmarkitem.cpp:(.text+0x504): undefined reference to `sqlite3_finalize'
qgsbookmarkitem.cpp:(.text+0x510): undefined reference to `sqlite3_close

can anyone help me ,it has troubled me a few months.
else can anyone help me about how to cross compile for OMAP3530.
Thanks a lot .





 


好玩贺卡等你发,邮箱贺卡全新上线!


      ___________________________________________________________ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20091208/1e16755e/attachment.html


More information about the Qgis-developer mailing list