[kde-edu]: CMakeLists.txt for a library
Jason Harris
kstars at 30doradus.org
Wed Aug 9 09:36:29 CEST 2006
Hello,
On Friday 14 July 2006 20:09, Jason Harris wrote:
> However, I am getting undefined reference errors when trying to link kstars
> (referring to functions in libSatLib.so). My kstars/kstars/CMakeLists.txt
> file contains the following:
>
Three weeks later, I still don't know how to fix this. I ran "make
VERBOSE=1", and it is linking the library (I see "-lSatLib" in the linker
command). The specific error message is:
CMakeFiles/kstars.dir/skycomponents/satellitecomponent.o(.text+0x448): In
function `SatelliteComponent::init(KStarsData*)':
/home/jharris/kde4svn/kdeedu/kstars/kstars/skycomponents/satellitecomponent.cpp:65:
undefined reference to `SatInit(char*, double, double, double, char*)'
CMakeFiles/kstars.dir/skycomponents/satellitecomponent.o(.text+0x598):/home/jharris/kde4svn/kdeedu/kstars/kstars/skycomponents/satellitecomponent.cpp:77:
undefined reference to `SatFindPosition(char*, double, double, long,
SPositionSat**)'
collect2: ld returned 1 exit status
Is anyone willing to take a look at this with me? All you have to do is
uncomment the SatelliteComponent::init() function in
kstars/kstars/skycomponents/satellitecomponent.cpp and then try to compile
kstars.
thanks,
Jason
--
KStars: http://edu.kde.org/kstars
Community Forums: http://kstars.30doradus.org
More information about the kde-edu
mailing list