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

INDI-QHY Compiling issues Latest indi-3rdparty - #639

Closed
sonny486 opened this issue Aug 22, 2022 · 3 comments
Closed

INDI-QHY Compiling issues Latest indi-3rdparty - #639

sonny486 opened this issue Aug 22, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@sonny486
Copy link
Contributor

sonny486 commented Aug 22, 2022

indi-qhy does not compile properly using latest Git indi and indi-3rdparty builds.

Compile indi-qhy following errors during driver builds:

/usr/bin/ld: /usr/local/lib/libqhyccd.so: undefined reference to cvReleaseImage' /usr/bin/ld: /usr/local/lib/libqhyccd.so: undefined reference to cvMinMaxLoc'
/usr/bin/ld: /usr/local/lib/libqhyccd.so: undefined reference to cvCopy' /usr/bin/ld: /usr/local/lib/libqhyccd.so: undefined reference to cvSetImageROI'
/usr/bin/ld: /usr/local/lib/libqhyccd.so: undefined reference to cvResize' /usr/bin/ld: /usr/local/lib/libqhyccd.so: undefined reference to cvRectangle'
/usr/bin/ld: /usr/local/lib/libqhyccd.so: undefined reference to cvSetImageCOI' /usr/bin/ld: /usr/local/lib/libqhyccd.so: undefined reference to cvCanny'
/usr/bin/ld: /usr/local/lib/libqhyccd.so: undefined reference to cvThreshold' /usr/bin/ld: /usr/local/lib/libqhyccd.so: undefined reference to cvInitFont'
/usr/bin/ld: /usr/local/lib/libqhyccd.so: undefined reference to cvResetImageROI' /usr/bin/ld: /usr/local/lib/libqhyccd.so: undefined reference to cvSum'
/usr/bin/ld: /usr/local/lib/libqhyccd.so: undefined reference to cvSetZero' /usr/bin/ld: /usr/local/lib/libqhyccd.so: undefined reference to cvCvtColor'
/usr/bin/ld: /usr/local/lib/libqhyccd.so: undefined reference to cvCreateImageHeader' /usr/bin/ld: /usr/local/lib/libqhyccd.so: undefined reference to cvAddS'
/usr/bin/ld: /usr/local/lib/libqhyccd.so: undefined reference to cvCreateImage' /usr/bin/ld: /usr/local/lib/libqhyccd.so: undefined reference to cvAvgSdv'
collect2: error: ld returned 1 exit status
make[2]: *** [indi-qhy/CMakeFiles/qhy_video_test.dir/build.make:86: indi-qhy/qhy_video_test] Error 1
make[1]: *** [CMakeFiles/Makefile2:2722: indi-qhy/CMakeFiles/qhy_video_test.dir/all] Error 2

Expected behavior
Should compile with no issues

Desktop (please complete the following information):
INDI-SERVER on Ubuntu 20.04 - x64.

Log Files

@sonny486 sonny486 added the bug Something isn't working label Aug 22, 2022
@knro
Copy link
Collaborator

knro commented Aug 23, 2022

Why is the library in /usr/local/lib and not /usr/lib/x86-..etc ?

@sonny486
Copy link
Contributor Author

I have no idea, I will do an install on a clean 20.04 x64 machine next. I will see what happens.

@sonny486
Copy link
Contributor Author

Looks like there was bad data in that NUC. compiled fine on a clean install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants