×

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

Bi-monthly release with minor bug fixes and improvements

AstroPi3 Scripts revised

  • Posts: 238
  • Thank you received: 15

Replied by Tom on topic AstroPi3 Scripts revised

okay done. I managed to turn OFF the indi_rpicam option in cmakelist before it starts compiling. So my next question is will this cmakelist.txt change when performing git pull?

Thanks

Tom
3 years 4 months ago #63390

Please Log in or Create an account to join the conversation.

  • Posts: 2877
  • Thank you received: 812
So since you modified the cmakelists, if you do a git pull and nobody changes that file, then you are fine and it will merge with the other changes. But if somebody edits cmakelists,txt, you might have to undo your change or delete the file, or reset the repo before doing the git pull. You will know that it is a problem because it will refuse to git pull in that case.
3 years 4 months ago #63394

Please Log in or Create an account to join the conversation.

  • Ray
  • Ray's Avatar
  • Offline
  • New Member
  • New Member
  • HEQ5 , FS102 , ASI1600 MONO ASI183MC , 200 F5 NEWT
  • Posts: 7
  • Thank you received: 0

Replied by Ray on topic AstroPi3 Scripts revised

Also installed the Edimax EW-7811UTC. Surprisingly it works also with VNC viewer. Not all of the suggested builds on the Edimax site for driver installation seemed to succeed but the dongle work in any case and perhaps would have worked without.
3 years 4 months ago #63466

Please Log in or Create an account to join the conversation.

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic AstroPi3 Scripts revised

I believe I managed to successfully compile oaCapture on ARM64 for the Raspberry Pi4 running Raspbian OS. Whether you add this to the main script or in a side script is your decision, but I will say, it does take some time to compile, so it should only be offered as an option whether to build (or rebuild) it or not.
oacapture compilation
 
Extract source files to project directory
Source found on [url=https://github.com/openastroproject/openastro/releases/tag/v1.7.0]here[/url]
https://github.com/openastroproject/openastro/archive/v1.7.0.tar.gz
 
Additional libraries and tools I had to find and install:
 
sudo apt-get install libhidapi-dev libudev-dev libusb-1.0-0-dev libfox-1.6-dev autotools-dev autoconf automake libtool qttools5-dev-tools
 
Navigate in terminal to the extracted source directory and run:
 
autoreconf --force --install #Fixes missing M4 directory with contents and am_api_version#
./configure
make -j $(expr $(nproc) + 2)
sudo make install
3 years 4 months ago #63522

Please Log in or Create an account to join the conversation.

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic AstroPi3 Scripts revised

I was looking to update using the Raspberry Pi script, as I have done numerous times before. But it is currently failing to compile KStars due to missing stellarsolver targets.
-- Configuring done
CMake Error at kstars/CMakeLists.txt:1235 (add_executable):
  Target "kstars" links to target "StellarSolver::stellarsolver" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
 
 
CMake Error at kstars/CMakeLists.txt:1055 (add_library):
  Target "KStarsLib" links to target "StellarSolver::stellarsolver" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
 
 
CMake Error at Tests/auxiliary/CMakeLists.txt:49 (ADD_EXECUTABLE):
  Target "testksuserdb" links to target "StellarSolver::stellarsolver" but
  the target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
 
 
CMake Error at Tests/auxiliary/CMakeLists.txt:45 (ADD_EXECUTABLE):
  Target "testgeolocation" links to target "StellarSolver::stellarsolver" but
  the target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
 
 
CMake Error at Tests/auxiliary/CMakeLists.txt:21 (ADD_EXECUTABLE):
  Target "testfwparser" links to target "StellarSolver::stellarsolver" but
  the target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
 
 
CMake Error at Tests/auxiliary/CMakeLists.txt:37 (ADD_EXECUTABLE):
  Target "testbinhelper" links to target "StellarSolver::stellarsolver" but
  the target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
[[ 31%] Building CXX object kstars/CMakeFiles/KStarsLib.dir/ekos/manager.cpp.o
In file included from /home/pi/AstroRoot/kstars/kstars/ekos/manager.h:21,
                 from /home/pi/AstroRoot/kstars/kstars/ekos/manager.cpp:10:
/home/pi/AstroRoot/kstars/kstars/ekos/align/align.h:33:10: fatal error: stellarsolver.h: No such file or directory
 #include <stellarsolver.h>
          ^~~~~~~~~~~~~~~~~
compilation terminated.
Last edit: 3 years 3 months ago by Andrew.
3 years 3 months ago #64780

Please Log in or Create an account to join the conversation.

  • Posts: 2877
  • Thank you received: 812
Which one of the scripts?
3 years 3 months ago #64782

Please Log in or Create an account to join the conversation.

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic AstroPi3 Scripts revised

The Raspberry Pi Script.
But, I have since attempted to compile KStars without the script as well and am getting the same issue. Also, given that the AstroPi script hasn't changed lately, I believe this is pointing to an issue in the KStars source code.
3 years 3 months ago #64783

Please Log in or Create an account to join the conversation.

  • Posts: 2877
  • Thank you received: 812
Ok, so the Ubuntu Mate One? Because there is also the Raspbian One, the Armbian One, the Manjaro one, etc.
3 years 3 months ago #64784

Please Log in or Create an account to join the conversation.

  • Posts: 2877
  • Thank you received: 812
And Yeah, I just ran the Raspbian one and the Ubuntu Mate one just the other day and it compiled fine. So yeah it could be an issue in KStars or the PPA.
3 years 3 months ago #64785

Please Log in or Create an account to join the conversation.

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic AstroPi3 Scripts revised

I use setupAstroRaspbianPi.sh on my Pi running Raspberry OS 64bit (Buster)
3 years 3 months ago #64786

Please Log in or Create an account to join the conversation.

  • Posts: 2877
  • Thank you received: 812
Oh ok. So I had added a part to that script a couple of weeks ago that builds StellarSovler, did that run properly? Maybe KStars had some change and it has trouble finding it?

I do know I ran that script fairly recently and it worked.
3 years 3 months ago #64787

Please Log in or Create an account to join the conversation.

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic AstroPi3 Scripts revised

My last build with the script was November 22nd.
3 years 3 months ago #64788

Please Log in or Create an account to join the conversation.

Time to create page: 0.470 seconds