Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Issues #482

Closed
utoxin opened this issue Nov 12, 2021 · 1 comment
Closed

Installation Issues #482

utoxin opened this issue Nov 12, 2021 · 1 comment

Comments

@utoxin
Copy link

utoxin commented Nov 12, 2021

I'm trying to install the SV503 support on a Raspberry Pi. I was able to compile and install libsv503, but when I try to build indi_sv503, I get a bunch of errors. I'm not sure where to proceed from here. Is there anywhere with a guide for this?

pi@raspberrypi:~/sv305-build $ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/indi-3rdparty/indi-sv305/
-- Found CFITSIO: /usr/lib/arm-linux-gnueabihf/libcfitsio.so
-- Found INDI: /usr/lib/arm-linux-gnueabihf/libindidriver.so;/usr/lib/arm-linux-gnueabihf/libindiAlignmentDriver.so (found version "1.7.5")
-- Found libsv305: /usr/local/lib/libSVBCameraSDK.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/sv305-build
pi@raspberrypi:~/sv305-build $ make -j4
[ 50%] Building CXX object CMakeFiles/indi_sv305_ccd.dir/sv305_ccd.cpp.o
/home/pi/indi-3rdparty/indi-sv305/sv305_ccd.cpp: In member function ‘virtual bool Sv305CCD::updateProperties()’:
/home/pi/indi-3rdparty/indi-sv305/sv305_ccd.cpp:169:9: error: ‘defineProperty’ was not declared in this scope
         defineProperty(&ControlsNP[CCD_GAIN_N]);
         ^~~~~~~~~~~~~~
/home/pi/indi-3rdparty/indi-sv305/sv305_ccd.cpp:169:9: note: suggested alternative: ‘deleteProperty’
         defineProperty(&ControlsNP[CCD_GAIN_N]);
         ^~~~~~~~~~~~~~
         deleteProperty
/home/pi/indi-3rdparty/indi-sv305/sv305_ccd.cpp:186:28: error: ‘getCurrentPollingPeriod’ was not declared in this scope
         timerID = SetTimer(getCurrentPollingPeriod());
                            ^~~~~~~~~~~~~~~~~~~~~~~
/home/pi/indi-3rdparty/indi-sv305/sv305_ccd.cpp:186:28: note: suggested alternative: ‘setDefaultPollingPeriod’
         timerID = SetTimer(getCurrentPollingPeriod());
                            ^~~~~~~~~~~~~~~~~~~~~~~
                            setDefaultPollingPeriod
/home/pi/indi-3rdparty/indi-sv305/sv305_ccd.cpp: In member function ‘virtual void Sv305CCD::TimerHit()’:
/home/pi/indi-3rdparty/indi-sv305/sv305_ccd.cpp:942:18: error: ‘getCurrentPollingPeriod’ was not declared in this scope
         SetTimer(getCurrentPollingPeriod());
                  ^~~~~~~~~~~~~~~~~~~~~~~
/home/pi/indi-3rdparty/indi-sv305/sv305_ccd.cpp:942:18: note: suggested alternative: ‘setDefaultPollingPeriod’
         SetTimer(getCurrentPollingPeriod());
                  ^~~~~~~~~~~~~~~~~~~~~~~
                  setDefaultPollingPeriod
make[2]: *** [CMakeFiles/indi_sv305_ccd.dir/build.make:63: CMakeFiles/indi_sv305_ccd.dir/sv305_ccd.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/indi_sv305_ccd.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
pi@raspberrypi:~/sv305-build $
@knro
Copy link
Collaborator

knro commented Nov 24, 2021

Please install INDI core library first from Github.

@knro knro closed this as completed Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants