Alexander,
Thanks for creating the branch
lp:~alexwolf/stellarium/gpslocator-plugin, however I couldn't connect to
it to download the code.
D:\stellarium>bzr branch lp:~alexwolf/stellarium/gpslocator-plugin alexwolf
Connected (version 2.0, client Twisted)
Authentication (publickey) successful!
Secsh channel 1 opened.
bzr: ERROR: Not a branch:
"bzr+ssh://bazaar.launchpad.net/~alexwolf/stellarium/g
pslocator-plugin/".
D:\stellarium>
However, I have been working on the code today and I believe I have
sorted it. It was basically two things in
~stellarium/gpslocator-plugin/plugins/GpsLocator/src:
1) Add line ADD_DEPENDENCIES(AllStaticPlugins GpsLocator-static)
2) Change IF(BUILD_STATIC_LIB)... to IF(BUILD_STATIC_PLUGINS)...
I also had to change the name of the SerialPort library to GpslSerial
because of a name conflict. Finally, I also had to add this to the
IF(BUILD_STATIC_PLUGINS) section of
~stellarium/gpslocator-plugin/CMakeLists.txt:
IF (USE_PLUGIN_GPSLOCATOR)
SET(QT_USE_QTWEBKIT TRUE)
ENDIF()
I originally set this in
~stellarium/gpslocator-plugin/plugins/GpsLocator/CMakeLists.txt but is
wasn't being picked up for some reason.
Anyway, I was finally able to completely compile the stellarium package
with the static plugin and it ran fine. I will attempt to compile on the
Mac when I get home, but in the meantime, I have uploaded the completed
sources to:
lp:~subs-qcontinuum/stellarium/gpslocator-plugin
I also note your point about the Linux specific library. I beleive that
you may be referring to signalfd.h which was still present in the
version of the code you may have used to create the branch. This
reference has now been removed and is no longer required. If there is
anything else that is causing a problem then please can you let me know
what it is an I will endeavour to correct it.
Thanks for everyones help.
On 26/05/2011 14:22, Alexander Wolf wrote:
> So, Bogdan and I merge your branch and modified cmake scripts - result
> is here: lp:~stellarium/stellarium/gpslocator-merge
>
> You can create new branch from it and work with him. On Mac OS X your
> code builds don't correct - you used linux-specific libraries in
> SerialPort class.
>
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Stellarium-pubdevel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel