[Qgis-developer] Re: [Qgis-user] Building qgis2google on Mac
Jack R
lynx21.12.12 at gmail.com
Thu Nov 5 04:59:48 EST 2009
Hi all,
This is howto for building any plugin from sources:
1. Check out plugin's source in QGis plugins directory qgis/src/plugins:
cd qgis/src/plugins
svn co http://svn.repo-of-plugin/some_plugin
2. Add name of new plugin's directory in CMakeLists.txt of plugins dir:
cd qgis/src/plugins
nano CMakeLists.txt
SUBDIRS (some_plugin)
3. Build QGis as usually:
cd qgis/build
ccmake ..
make && make install
2009/11/5 Jim Hammack <hammack at gotslack.org>
> I have the same problem compiling on Slackware Linux. (cmake version
> 2.6-patch 2)
>
> hwy61:~/gis/qgis/> cmake ../qgis2google2
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> -- Check for working C compiler: /usr/local/bin/gcc
> -- Check for working C compiler: /usr/local/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> CMake Error at CMakeLists.txt:28 (QT4_WRAP_UI):
> Unknown CMake command "QT4_WRAP_UI".
>
>
> Don MacQueen wrote:
>
> I downloaded the source code using
> svn checkout http://svn.gis-lab.info/qgis2google2 qgis2google2
>
> Then, on Macintosh (OS version 10.5.8) I get
>
> build[91]% cmake ../qgis2google2
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> CMake Error at CMakeLists.txt:28 (QT4_WRAP_UI):
> Unknown CMake command "QT4_WRAP_UI".
>
> The CMake error looks as if it is a problem in the CMakeLists.txt file,
> rather than a problem with missing dependencies in my system, but it's hard
> for me to know, since I'm unfamiliar with CMake.
>
> I have installed QT 4.5.3 from a binary download at
> http://qt.nokia.com/downloads
>
> I installed cmake from a binary download for Mac at
> http://www.cmake.org/
>
> build[100]% cmake --version
> cmake version 2.6-patch 4
>
> Suggestions would be welcome!
>
> Thanks
> -Don
>
> p.s.
> I have no idea what "the usual way it's done for other plugins" is.
> Although I have generally been successful following instructions to
> "configure, make, make install" for a variety of open source projects, I am
> not a QGis plugin developer.
>
> At 11:33 AM +0200 10/21/09, G. Allegri wrote:
>
> Hi Barend,
> I forward your request to the list, as you probably have submitted it only
> to me.
> Anyway I think you shouldn't have problems to compile it under your
> platforms, the usual way it's done for the other plugins, as the CmakeLists
> is provided in the svn.
>
> Giovanni
>
> 2009/10/21 Barend Köbben <<mailto:kobben at itc.nl> <kobben at itc.nl>
> kobben at itc.nl>
>
> When can we expect a multi-platform verison...?
>
>
>
> On 20-10-09 19:16, "G. Allegri" <<mailto:giohappy at gmail.com><giohappy at gmail.com>
> giohappy at gmail.com> wrote:
>
> Compliments for the plugin. I've just tried it. It works very well and I
> find
> it's really useful.
> Thank you very much!
>
> Giovanni
>
> 2009/10/20 Maxim Dubinin <<mailto:sim at gis-lab.info> <sim at gis-lab.info>
> sim at gis-lab.info>
>
> Hi all,
>
> a little announcement, we've made a new version of our plugin. It
> gives QGIS several tools for interacting with Google Earth. You can
> quickly send a feature or the whole layer to GE keeping current layer
> symbology or override it with your own one. Unique values and single
> symbol legends are supported.
>
> More info: <http://*gis-lab.info/qa/qgis2google-eng.html><http://*gis-lab.info/qa/qgis2google-eng.html>
> http://*gis-lab.info/qa/qgis2google-eng.html
>
> It is tested and working under Windows/OSGeo4W/trunk and source code is
> available
> for linux hackers.
>
> Maxim
>
> PS: I've recorded a video to have a look how it works, but it turned out
> to be huge (100 mb) and I couldn't compress it to more reasonable size.
> You
> can still see
> it, if this is not a problem for you.
>
> _______________________________________________
> Qgis-user mailing list
>
> >> <mailto:Qgis-user at lists.osgeo.org> <Qgis-user at lists.osgeo.org>
> Qgis-user at lists.osgeo.org
> >> <http://*lists.osgeo.org/mailman/listinfo/qgis-user><http://*lists.osgeo.org/mailman/listinfo/qgis-user>
> http://*lists.osgeo.org/mailman/listinfo/qgis-user
> >
>
> International Institute for Geo-Information Science and Earth Observation
> (ITC)
> Chamber of Commerce: 410 27 560
>
> E-mail disclaimer
> The information in this e-mail, including any attachments, is intended for
> the addressee only. If you are not the intended recipient, you are hereby
> notified that any disclosure, copying, distribution or action in relation to
> the content of this information is strictly prohibited. If you have received
> this e-mail by mistake, please delete the message and any attachment and
> inform the sender by return e-mail. ITC accepts no liability for any error
> or omission in the message content or for damage of any kind that may arise
> as a result of e-mail transmission.
>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://*lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
--
Regards,
Jack R
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20091105/d65cd88e/attachment-0001.html
More information about the Qgis-developer
mailing list