![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
![]()
I'm trying to automate my telescope using the Indi software. Everything
is fine and I can connect and run drivers on my home machine (Linux Mint) and the rasppberry pi at the telescope (Raspbian). However, when I try to compile drivers using cmake, it isn't finding the include libraries for the header files. They are there and, obviously, I can move the header files to the source directory. This works and is my fallback position, but why isn't it working as it should? Another Dave -- Change nospam to techie |
#2
|
|||
|
|||
![]()
Another Dave wrote:
I'm trying to automate my telescope using the Indi software. Everything is fine and I can connect and run drivers on my home machine (Linux Mint) and the rasppberry pi at the telescope (Raspbian). However, when I try to compile drivers using cmake, it isn't finding the include libraries for the header files. They are there and, obviously, I can move the header files to the source directory. This works and is my fallback position, but why isn't it working as it should? Are the libraries installed? You might have to use an installer, like ginstall, or put a ldconfig command in your startup. |
#3
|
|||
|
|||
![]()
On 26/11/2019 20:09, Ned Latham wrote:
Another Dave wrote: I'm trying to automate my telescope using the Indi software. Everything is fine and I can connect and run drivers on my home machine (Linux Mint) and the rasppberry pi at the telescope (Raspbian). However, when I try to compile drivers using cmake, it isn't finding the include libraries for the header files. They are there and, obviously, I can move the header files to the source directory. This works and is my fallback position, but why isn't it working as it should? Are the libraries installed? You might have to use an installer, like ginstall, or put a ldconfig command in your startup. Thank you for your reply but I seem to have found the answer. Their skeleton example's CMakeLists.txt file says you must have the following lines in it cmake_minimum_required(VERSION 3.0) PROJECT(libindi-skeletons C CXX) include_directories( ../../) include_directories( ../../libs) include_directories( ../../libs/indibase) This makes sense. Putting these lines in my CMakeLists.txt file cures the problem although it begs the question why didn't they put these lines in the examples. Another Dave -- Change nospam to techie |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
are you creative, I mean, compiling in relation to inadequate gravels | G. Palomino | Amateur Astronomy | 0 | November 14th 07 07:43 AM |
Q: compiling aips++ on FC5, gcc 4.1.1 | Richard Mathar | Research | 0 | January 18th 07 08:58 AM |
WI Epsilon Indi B in Solar System | [email protected] | Astronomy Misc | 23 | June 9th 06 01:51 AM |
Mac/xephem: How to make/compile INDI server? | Marc Heusser | Amateur Astronomy | 0 | January 19th 06 07:55 PM |
Xephem/Macintosh: How to install INDI drivers for ETX | Marc Heusser | Amateur Astronomy | 14 | January 16th 06 02:39 PM |