×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Ekos on Mac OS X ?

  • Posts: 211
  • Thank you received: 23

Replied by Jamie Smith on topic Ekos on Mac OS X ?

Using the emerge instructions I can no longer build the 3rdparty drivers subtree of indi.

Are they supposed to be built at the same time or something? First it can't find GSL, then it can't find nova- I see in the CMakeLists.txt files they are LOOKING for some things, but not appending paths. I do not know anything about the way cmake is supposed to work, so debugging this is a mess. Interesting that the indi readme says:

You can build the all the 3rd party drivers at once (not recommended)
7 years 6 months ago #11605
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?

Even before using the emerge way, I wasn't able to build the 3rd party tree, only one by one works. gsl path issue.
7 years 6 months ago #11606
The topic has been locked.
  • Posts: 2885
  • Thank you received: 819

Replied by Rob Lancaster on topic Ekos on Mac OS X ?


Yep, that is part of what I need to do to fix it. The other part is in the kstars code to make sure the booleans properly get set, because I originally did not even plan on saving the info, I was just going to use a special string of characters. But since we have to do it this way, I will need to save it.
7 years 6 months ago #11607
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?

this might be useful (or not) set the dmg Qt5 path, I'm building Indi and had the dreaded:
-- The following OPTIONAL packages have not been found:
* Qt5Network


I've fixed it with the following export:
Stephanes-MacBook-Air:libindi stephanelucas$ export Qt5_DIR=/Users/stephanelucas/Qt5.7.0/5.7/clang_64
Stephanes-MacBook-Air:libindi stephanelucas$ export Qt5Network_DIR=$Qt5_DIR


Now I'm getting:
-- The following OPTIONAL packages have been found:
* Qt5Core (required version >= 5.7.0)
* Qt5Network
7 years 6 months ago #11608
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?


eurgh.... what the...
I've just built the entire 3rd party tree WITHOUT this stupid GSL path issue, :woohoo:
Stephanes-MacBook-Air:3rdparty stephanelucas$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local .
-- The CXX compiler identification is AppleClang 8.0.0.8000042
-- The C compiler identification is AppleClang 8.0.0.8000042
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.1") 
-- Checking for module 'libindi'
--   Found libindi, version 1.3.0
-- Found INDI: /usr/local/include/libindi (found version "1.3.0") 
-- Found NOVA: /usr/local/lib/libnova.dylib
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.8") 
-- Found CFITSIO 3.39: /usr/local/lib/libcfitsio.dylib
-- Found libusb-1.0:
--  - Includes: /usr/local/include/libusb-1.0
--  - Libraries: /usr/local/lib/libusb-1.0.dylib
-- Found INDI: /usr/local/lib/libindi.dylib
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Found INDI: /usr/local/lib/libindi.dylib
-- Found libnova: /usr/local/lib/libnova.dylib
-- Found CFITSIO: /usr/local/lib/libcfitsio.dylib
-- Found INDI: /usr/local/lib/libindi.dylib
-- Found libnova: /usr/local/lib/libnova.dylib
-- Found INDI: /usr/local/lib/libindi.dylib
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/stephanelucas/Projects/indi/3rdparty
Stephanes-MacBook-Air:3rdparty stephanelucas$ make
Scanning dependencies of target indi_eqmod_telescope
[  2%] Building CXX object indi-eqmod/CMakeFiles/indi_eqmod_telescope.dir/eqmod.o
/Users/stephanelucas/Projects/indi/3rdparty/indi-eqmod/eqmod.cpp:865:13: warning: equality comparison result unused [-Wunused-comparison]
        TrackState == SCOPE_IDLE;
        ~~~~~~~~~~~^~~~~~~~~~~~~
/Users/stephanelucas/Projects/indi/3rdparty/indi-eqmod/eqmod.cpp:865:13: note: use '=' to turn this equality comparison into an assignment
        TrackState == SCOPE_IDLE;
                   ^~
                   =
1 warning generated.
[  5%] Building CXX object indi-eqmod/CMakeFiles/indi_eqmod_telescope.dir/eqmoderror.o
[  8%] Building CXX object indi-eqmod/CMakeFiles/indi_eqmod_telescope.dir/skywatcher.o
/Users/stephanelucas/Projects/indi/3rdparty/indi-eqmod/skywatcher.cpp:391:3: warning: array index 49 is past the end of the array (which contains 2 elements)
      [-Warray-bounds]
  minperiods[Axis1]=6;  minperiods[Axis2]=6;
  ^          ~~~~~
/Users/stephanelucas/Projects/indi/3rdparty/indi-eqmod/skywatcher.h:125:5: note: array 'minperiods' declared here
    unsigned long minperiods[2];
    ^
/Users/stephanelucas/Projects/indi/3rdparty/indi-eqmod/skywatcher.cpp:391:25: warning: array index 50 is past the end of the array (which contains 2 elements)
      [-Warray-bounds]
  minperiods[Axis1]=6;  minperiods[Axis2]=6;
                        ^          ~~~~~
/Users/stephanelucas/Projects/indi/3rdparty/indi-eqmod/skywatcher.h:125:5: note: array 'minperiods' declared here
    unsigned long minperiods[2];
 
=====CUT=====
 
[ 85%] Building CXX object indi-aagcloudwatcher/CMakeFiles/aagcloudwatcher_test.dir/main.o
[ 88%] Building CXX object indi-aagcloudwatcher/CMakeFiles/aagcloudwatcher_test.dir/CloudWatcherController.o
[ 91%] Linking CXX executable aagcloudwatcher_test
[ 91%] Built target aagcloudwatcher_test
Scanning dependencies of target indi_aagcloudwatcher
[ 94%] Building CXX object indi-aagcloudwatcher/CMakeFiles/indi_aagcloudwatcher.dir/indi_aagcloudwatcher.o
/Users/stephanelucas/Projects/indi/3rdparty/indi-aagcloudwatcher/indi_aagcloudwatcher.cpp:545:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/Users/stephanelucas/Projects/indi/3rdparty/indi-aagcloudwatcher/indi_aagcloudwatcher.cpp:884:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/Users/stephanelucas/Projects/indi/3rdparty/indi-aagcloudwatcher/indi_aagcloudwatcher.cpp:892:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/Users/stephanelucas/Projects/indi/3rdparty/indi-aagcloudwatcher/indi_aagcloudwatcher.cpp:1024:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/Users/stephanelucas/Projects/indi/3rdparty/indi-aagcloudwatcher/indi_aagcloudwatcher.cpp:1087:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/Users/stephanelucas/Projects/indi/3rdparty/indi-aagcloudwatcher/indi_aagcloudwatcher.cpp:1152:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
6 warnings generated.
[ 97%] Building CXX object indi-aagcloudwatcher/CMakeFiles/indi_aagcloudwatcher.dir/CloudWatcherController.o
[100%] Linking CXX executable indi_aagcloudwatcher
[100%] Built target indi_aagcloudwatcher
Stephanes-MacBook-Air:3rdparty stephanelucas$
Stephanes-MacBook-Air:3rdparty stephanelucas$ sudo make install
[ 40%] Built target indi_eqmod_telescope
[ 48%] Built target sx_ccd_test
[ 54%] Built target indi_sx_ao
[ 60%] Built target indi_sx_wheel
[ 68%] Built target indi_sx_ccd
[ 77%] Built target indi_maxdomeii
[ 82%] Built target indi_spectracyber
[ 91%] Built target aagcloudwatcher_test
[100%] Built target indi_aagcloudwatcher
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/bin/indi_eqmod_telescope
-- Installing: /usr/local/share/indi/indi_eqmod.xml
-- Installing: /usr/local/share/indi/indi_eqmod_sk.xml
-- Installing: /usr/local/share/indi/indi_eqmod_simulator_sk.xml
-- Installing: /usr/local/share/indi/indi_align_sk.xml
-- Installing: /usr/local/share/indi/indi_eqmod_scope_limits_sk.xml
-- Installing: /usr/local/bin/indi_sx_ccd
-- Installing: /usr/local/bin/indi_sx_wheel
-- Installing: /usr/local/bin/indi_sx_ao
-- Installing: /usr/local/bin/sx_ccd_test
-- Installing: /usr/local/share/indi/indi_sx.xml
-- Installing: /usr/local/bin/indi_maxdomeii
-- Installing: /usr/local/share/indi/indi_maxdomeii.xml
-- Installing: /usr/local/bin/indi_spectracyber
-- Installing: /usr/local/share/indi/indi_spectracyber.xml
-- Installing: /usr/local/share/indi/indi_spectracyber_sk.xml
-- Installing: /usr/local/bin/indi_aagcloudwatcher
-- Installing: /usr/local/bin/aagcloudwatcher_test
-- Installing: /usr/local/share/indi/indi_aagcloudwatcher.xml
-- Installing: /usr/local/share/indi/indi_aagcloudwatcher_sk.xml
Stephanes-MacBook-Air:3rdparty stephanelucas$



I have NOT done the emerge as installing astrometry breaks (ftp server is down for wcslib package).
All I've done differently is the sed command from Jamie at post indilib.org/forum/ekos/525-ekos-on-mac-o...html?start=408#11598



edit:
Last edit: 7 years 6 months ago by Gonzothegreat.
7 years 6 months ago #11609
The topic has been locked.
  • Posts: 211
  • Thank you received: 23

Replied by Jamie Smith on topic Ekos on Mac OS X ?

I am curious - had you done the libgsl stuff from the previous method?
curl -L --silent -O http://gnu.prunk.si/gsl/gsl-2.1.tar.gz
tar xzf gsl-2.1.tar.gz
rm gsl-2.1.tar.gz
cd gsl-2.1
./configure

If so - did you do "make install", or just "make"?
7 years 6 months ago #11612
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?


I've done the following:
96  wget http://gnu.prunk.si/gsl/gsl-2.1.tar.gz
   97  tar -zxvf gsl-2.1.tar.gz 
   98  rm gsl-2.1.tar.gz 
   99  ll
  100  cd gsl-2.1/
  101  ls
  102  ./configure 
  103  make
  104  sudo make install
7 years 6 months ago #11613
The topic has been locked.
  • Posts: 2885
  • Thank you received: 819

Replied by Rob Lancaster on topic Ekos on Mac OS X ?

I almost finished, but now I have run out of time. I'm going to an astronomy lecture this evening at the University of Delaware www.udel.edu/udaily/2016/october/vernon-lecture/

I will get the Kstars code fixed with the options in the right places and get that to Jasem later tonight. He will probably upload it early tomorrow. So you should be able to test the code I wrote tomorrow. Sorry again for my mistake. I didn't realize that I had to put the options in kstars.kcfg. My changes were overwritten.
7 years 6 months ago #11616
The topic has been locked.
  • Posts: 2885
  • Thank you received: 819

Replied by Rob Lancaster on topic Ekos on Mac OS X ?


Ok I finished, now the patch has been sent to Jasem. Tomorrow it should be good to go I hope. Sorry again.
7 years 6 months ago #11618
The topic has been locked.
  • Posts: 2885
  • Thank you received: 819

Replied by Rob Lancaster on topic Ekos on Mac OS X ?

Does this mean we can now get all the 3rd party drivers to compile?
Last edit: 7 years 6 months ago by Rob Lancaster.
7 years 6 months ago #11619
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?

That's correct, it worked for me after doing the sed command and the configure/make/make install for gsl.
7 years 6 months ago #11621
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?

I've sent an email out to www.atnf.csiro.au/people/mcalabre/WCS/ to inform them that the ftp server is down and we cannot download the wcslib file.
7 years 6 months ago #11622
The topic has been locked.
Time to create page: 0.367 seconds