This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Trouble building KStars

Tags: None
(comma "," separated)
markbu
Registered Member
Posts
1
Karma
0

Trouble building KStars

Sun Dec 27, 2020 1:56 pm
Hello everyone,

I followed the instructions https://indilib.org/forum/general/210-howto-building-latest-libindi-ekos.html in order build KStars from source.

Qmake finished fine however make terminates unsuccessfully with this error message:

Code: Select all
[  4%] Building CXX object kstars/CMakeFiles/KStarsLib.dir/indi/indiccd.cpp.o
/home/mark/Projects/kstars/kstars/indi/indiccd.cpp: In member function ‘virtual void ISD::CCD::processBLOB(IBLOB*)’:
/home/mark/Projects/kstars/kstars/indi/indiccd.cpp:1693:30: error: no matching function for call to ‘ISD::CCD::newImage(std::nullptr_t)’
         emit newImage(nullptr);
                              ^
In file included from /home/mark/Projects/kstars/kstars/indi/indiccd.cpp:10:0:
/home/mark/Projects/kstars/kstars/indi/indiccd.h:361:14: note: candidate: void ISD::CCD::newImage(const QSharedPointer<FITSData>&)
         void newImage(const QSharedPointer<FITSData> &data);
              ^~~~~~~~
/home/mark/Projects/kstars/kstars/indi/indiccd.h:361:14: note:   no known conversion for argument 1 from ‘std::nullptr_t’ to ‘const QSharedPointer<FITSData>&’
kstars/CMakeFiles/KStarsLib.dir/build.make:1115: recipe for target 'kstars/CMakeFiles/KStarsLib.dir/indi/indiccd.cpp.o' failed
make[2]: *** [kstars/CMakeFiles/KStarsLib.dir/indi/indiccd.cpp.o] Error 1
CMakeFiles/Makefile2:222: recipe for target 'kstars/CMakeFiles/KStarsLib.dir/all' failed
make[1]: *** [kstars/CMakeFiles/KStarsLib.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2


Gcc -v returns
Code: Select all
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 6.3.0-18+deb9u1' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)


Of course I can provide any further information regarding my system. Any help is highly appreciated! Thank you in advance.

Best wishes,
Mark


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]