Well, I guess that solved it then :p

I'll reinstall Kubuntu and do my developing on there. Thanks for your help! :)

Read More...

I see. I figured it would be simpler to develop on KDE, but the problem is that I eventually want to install this modified version on my Raspberry Pi running Ubuntu Mate.

This is probably a noob question, but would it be possible for me to develop/build on Kubuntu, then install on Ubuntu Mate?

Read More...

I had no problem installing Kstars from the PPA, but I want to download and build the source so that I can change some UI elements and customize it.

Read More...

Hello,

I attempted to build Kstars on Ubuntu Mate following the instructions on KDE's website: techbase.kde.org/Projects/Edu/KStars/Building_KStars_KF5

Cmake works without any trouble, and most of the make process works as well, but it fails at the very last second when linking.

Scanning dependencies of target kstars
[ 96%] Building CXX object kstars/CMakeFiles/kstars.dir/main.cpp.o
[ 96%] Building CXX object kstars/CMakeFiles/kstars.dir/qrc_kstars.cpp.o
[ 97%] Building CXX object kstars/CMakeFiles/kstars.dir/kstars_automoc.cpp.o
[ 97%] Linking CXX executable kstars
/usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5.18.0: undefined reference to `QItemSelectionModel::model()'
/usr/lib/x86_64-linux-gnu/libKF5NewStuff.so.5.18.0: undefined reference to `QAbstractListModel::sibling(int, int, QModelIndex const&) const'
/usr/lib/x86_64-linux-gnu/libKF5Crash.so.5.18.0: undefined reference to `QDebug::putString(QChar const*, unsigned long)'
/usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5.18.0: undefined reference to `QString::toLower_helper(QString const&)'
/usr/lib/x86_64-linux-gnu/libKF5NewStuff.so.5.18.0: undefined reference to `QString::toLower_helper(QString&)'
/usr/lib/x86_64-linux-gnu/libKF5NewStuff.so.5.18.0: undefined reference to `QString::trimmed_helper(QString const&)'
/usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5.18.0: undefined reference to `qt_QMetaEnum_debugOperator(QDebug&, int, QMetaObject const*, char const*)'
/usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5.18.0: undefined reference to `QMetaObject::Connection::isConnected_helper() const'
/usr/lib/x86_64-linux-gnu/libKF5NewStuff.so.5.18.0: undefined reference to `QMetaType::registerNormalizedType(QByteArray const&, void (*)(void*), void* (*)(void*, void const*), int, QFlags<QMetaType::TypeFlag>, QMetaObject const*)'
/usr/lib/x86_64-linux-gnu/libKF5ConfigCore.so.5.18.0: undefined reference to `QByteArray::toLower_helper(QByteArray const&)'
/usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5.18.0: undefined reference to `QString::simplified_helper(QString const&)'
/usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5.18.0: undefined reference to `QAbstractTableModel::sibling(int, int, QModelIndex const&) const'
/usr/lib/x86_64-linux-gnu/libKF5NewStuff.so.5.18.0: undefined reference to `QString::simplified_helper(QString&)'
/usr/lib/x86_64-linux-gnu/libKF5Codecs.so.5.18.0: undefined reference to `QByteArray::toUpper_helper(QByteArray const&)'
/usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5.18.0: undefined reference to `QByteArray::trimmed_helper(QByteArray const&)'
/usr/lib/x86_64-linux-gnu/libKF5NewStuff.so.5.18.0: undefined reference to `QString::trimmed_helper(QString&)'
/usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5.18.0: undefined reference to `QByteArray::trimmed_helper(QByteArray&)'
/usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5.18.0: undefined reference to `QString::toUpper_helper(QString&)'
/usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5.18.0: undefined reference to `QDebug::putByteArray(char const*, unsigned long, QDebug::Latin1Content)'
collect2: error: ld returned 1 exit status
kstars/CMakeFiles/kstars.dir/build.make:194: recipe for target 'kstars/kstars' failed
make[2]: *** [kstars/kstars] Error 1
CMakeFiles/Makefile2:190: recipe for target 'kstars/CMakeFiles/kstars.dir/all' failed
make[1]: *** [kstars/CMakeFiles/kstars.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2

Any insight as to what might be causing these troubles?

Thanks :)

Read More...

Hello,

I'm building a remote setup with my Raspberry Pi, and I really love Ekos as a tool for automating my setup, but I was wondering if it was available as a standalone program, apart from Kstars.

If not, is there any similar program available on Ubuntu/Raspbian for the Raspberry Pi?

Cheers,

Mathieu

Read More...

Hi Jean-Luc,

Thank you for taking the time to do this.

What should I change the extra_objects field to? Also, Raspbian on the RPi does not have a lib64 folder, unless I'm looking in the wrong place :S

-Mathieu

Read More...

Hi Jean-Luc,

I actually stumbled on the pypi alternative shortly after posting this. I haven't had the chance to try it out yet, so I'll keep you posted.

Thanks,

Mathieu

Read More...

I've been attempting to install the Python binding for INDI on my Raspberry Pi 3, following the instructions here: indilib.org/develop/tutorials/151-time-l...ith-indi-python.html . When I get to using the make command, I keep getting the same error (below):

pi@raspberrypi:~/libindipython$ make
[ 25%] Swig source
Language subdirectory: python
Search paths:
   ./
   /usr/include/python2.7/
   /usr/include/libindi/
   /usr/include/
   /home/pi/swig-indi-python/
   ./swig_lib/python/
   /usr/share/swig2.0/python/
   ./swig_lib/
   /usr/share/swig2.0/
Preprocessing...
Starting language-specific parse...
/usr/include/libindi/baseclient.h:32: Warning 322: Redundant redeclaration of 'MAXRBUF',
/usr/include/libindi/indibase.h:10: Warning 322: previous declaration of 'MAXRBUF'.
/usr/include/libindi/basedevice.h:33: Warning 322: Redundant redeclaration of 'MAXRBUF',
/usr/include/libindi/indibase.h:10: Warning 322: previous declaration of 'MAXRBUF'.
Processing types...
C++ analysis...
/usr/include/libindi/baseclient.h:55: Warning 403: Class 'INDI::BaseClient' might be abstract, no constructors generated,
/usr/include/libindi/indibase.h:79: Warning 403: Method INDI::BaseMediator::newDevice(INDI::BaseDevice *) might not be implemented.
Generating wrappers...
Scanning dependencies of target _PyIndi
[ 25%] Swig source
Language subdirectory: python
Search paths:
   ./
   /usr/include/python2.7/
   /usr/include/libindi/
   /usr/include/
   /home/pi/swig-indi-python/
   ./swig_lib/python/
   /usr/share/swig2.0/python/
   ./swig_lib/
   /usr/share/swig2.0/
Preprocessing...
Starting language-specific parse...
/usr/include/libindi/baseclient.h:32: Warning 322: Redundant redeclaration of 'MAXRBUF',
/usr/include/libindi/indibase.h:10: Warning 322: previous declaration of 'MAXRBUF'.
/usr/include/libindi/basedevice.h:33: Warning 322: Redundant redeclaration of 'MAXRBUF',
/usr/include/libindi/indibase.h:10: Warning 322: previous declaration of 'MAXRBUF'.
Processing types...
C++ analysis...
/usr/include/libindi/baseclient.h:55: Warning 403: Class 'INDI::BaseClient' might be abstract, no constructors generated,
/usr/include/libindi/indibase.h:79: Warning 403: Method INDI::BaseMediator::newDevice(INDI::BaseDevice *) might not be implemented.
Generating wrappers...
[ 50%] Building CXX object CMakeFiles/_PyIndi.dir/indiclientpythonPYTHON_wrap.cxx.o
Linking CXX shared module _PyIndi.so
[ 50%] Built target _PyIndi
[ 75%] Swig source
Language subdirectory: python
Search paths:
   ./
   /usr/include/python2.7/
   /usr/include/libindi/
   /usr/include/
   /home/pi/swig-indi-python/
   ./swig_lib/python/
   /usr/share/swig2.0/python/
   ./swig_lib/
   /usr/share/swig2.0/
Preprocessing...
/home/pi/swig-indi-python/indiserverpython.i:52: Error: Unable to find 'libindiserver.h'
CMakeFiles/_PyIndiServer.dir/build.make:53: recipe for target 'indiserverpythonPYTHON_wrap.c' failed
make[2]: *** [indiserverpythonPYTHON_wrap.c] Error 1
CMakeFiles/Makefile2:95: recipe for target 'CMakeFiles/_PyIndiServer.dir/all' failed
make[1]: *** [CMakeFiles/_PyIndiServer.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2

I've managed to fix this by copying libindiserver.h and fq.h out of the libindiserver directory in swig-indi-python. This gets rid of the above error, but generates a new one:
pi@raspberrypi:~/libindipython$ make
[ 25%] Swig source
Language subdirectory: python
Search paths:
   ./
   /usr/include/python2.7/
   /usr/include/libindi/
   /usr/include/
   /home/pi/swig-indi-python/
   ./swig_lib/python/
   /usr/share/swig2.0/python/
   ./swig_lib/
   /usr/share/swig2.0/
Preprocessing...
Starting language-specific parse...
/usr/include/libindi/baseclient.h:32: Warning 322: Redundant redeclaration of 'MAXRBUF',
/usr/include/libindi/indibase.h:10: Warning 322: previous declaration of 'MAXRBUF'.
/usr/include/libindi/basedevice.h:33: Warning 322: Redundant redeclaration of 'MAXRBUF',
/usr/include/libindi/indibase.h:10: Warning 322: previous declaration of 'MAXRBUF'.
Processing types...
C++ analysis...
/usr/include/libindi/baseclient.h:55: Warning 403: Class 'INDI::BaseClient' might be abstract, no constructors generated,
/usr/include/libindi/indibase.h:79: Warning 403: Method INDI::BaseMediator::newDevice(INDI::BaseDevice *) might not be implemented.
Generating wrappers...
[ 50%] Building CXX object CMakeFiles/_PyIndi.dir/indiclientpythonPYTHON_wrap.cxx.o
Linking CXX shared module _PyIndi.so
[ 50%] Built target _PyIndi
[ 75%] Swig source
Language subdirectory: python
Search paths:
   ./
   /usr/include/python2.7/
   /usr/include/libindi/
   /usr/include/
   /home/pi/swig-indi-python/
   ./swig_lib/python/
   /usr/share/swig2.0/python/
   ./swig_lib/
   /usr/share/swig2.0/
Preprocessing...
Starting language-specific parse...
Processing types...
C++ analysis...
Generating wrappers...
/home/pi/swig-indi-python/libindiserver.h:47: Warning 451: Setting a const char * variable may leak memory.
/home/pi/swig-indi-python/libindiserver.h:64: Warning 454: Setting a pointer/reference variable may leak memory.
Scanning dependencies of target _PyIndiServer
[ 75%] Swig source
Language subdirectory: python
Search paths:
   ./
   /usr/include/python2.7/
   /usr/include/libindi/
   /usr/include/
   /home/pi/swig-indi-python/
   ./swig_lib/python/
   /usr/share/swig2.0/python/
   ./swig_lib/
   /usr/share/swig2.0/
Preprocessing...
Starting language-specific parse...
Processing types...
C++ analysis...
Generating wrappers...
/home/pi/swig-indi-python/libindiserver.h:47: Warning 451: Setting a const char * variable may leak memory.
/home/pi/swig-indi-python/libindiserver.h:64: Warning 454: Setting a pointer/reference variable may leak memory.
[100%] Building C object CMakeFiles/_PyIndiServer.dir/indiserverpythonPYTHON_wrap.c.o
/home/pi/libindipython/indiserverpythonPYTHON_wrap.c: In function ‘Swig_var_clinfo_get’:
/home/pi/libindipython/indiserverpythonPYTHON_wrap.c:4933:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
     for(size_t i = 0; i < nclinfo; ++i)
     ^
/home/pi/libindipython/indiserverpythonPYTHON_wrap.c:4933:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
/home/pi/libindipython/indiserverpythonPYTHON_wrap.c: In function ‘Swig_var_dvrinfo_set’:
/home/pi/libindipython/indiserverpythonPYTHON_wrap.c:6136:7: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
       for (int i = 0; i < size; ++i) {
       ^
/home/pi/libindipython/indiserverpythonPYTHON_wrap.c: In function ‘Swig_var_dvrinfo_get’:
/home/pi/libindipython/indiserverpythonPYTHON_wrap.c:6161:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
     for(size_t i = 0; i < ndvrinfo; ++i)
     ^
CMakeFiles/_PyIndiServer.dir/build.make:62: recipe for target 'CMakeFiles/_PyIndiServer.dir/indiserverpythonPYTHON_wrap.c.o' failed
make[2]: *** [CMakeFiles/_PyIndiServer.dir/indiserverpythonPYTHON_wrap.c.o] Error 1
CMakeFiles/Makefile2:95: recipe for target 'CMakeFiles/_PyIndiServer.dir/all' failed
make[1]: *** [CMakeFiles/_PyIndiServer.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2

I'm at a loss here. Any help would be greatly appreciated :cheer:

Read More...

Mathieu Corbett replied to the topic 'Canon DSLR Mirror Lock' in the forum. 8 years ago

I think I've found your patch. It's this, right? www.indilib.org/forum/ccds-dslrs/1194-ca...or-lock.html?start=6

How do I install it? Or is it already part of the driver? I only installed Ekos yesterday, so I should have the most recent driver.

Read More...

Mathieu Corbett created a new topic ' Canon DSLR Mirror Lock' in the forum. 8 years ago

Hi all, total noob here.

I installed Ekos yesterday and I'm sure I'll love it once I become familiar enough to appreciate it.

I've somehow managed to shoot a couple of test frames with my Canon 550D (T2i), but this only works when I have mirror lock disabled on the camera. I read somewhere that INDI does indeed support mirror lock through the indi_gphoto_ccd driver, but I can't for the life of me figure out how to make it work.

On a slightly unrelated note, all my pictures are extremely green. This isn't too much of a concern because I can fix it in post, but if any of you know how to tweak this, that'd be great.

Many thanks!,

-Mathieu

Read More...