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

‘EAFGetSDKVersion’ was not declared in this scope 202 | VersionInfoSP[1].setText(EAFGetSDKVersion()); #840

Closed
iagobado opened this issue Sep 25, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@iagobado
Copy link

Hello all,

I've got a Debian 12 bookworm, and i cloned indi, and built it, and when i cloned the 3rdparty repository and built it, and has this error:

/home/jaime/indi-3rdparty/indi-asi/asi_focuser.cpp: In member function ‘virtual bool ASIEAF::updateProperties()’:
/home/jaime/indi-3rdparty/indi-asi/asi_focuser.cpp:202:34: error: ‘EAFGetSDKVersion’ was not declared in this scope
202 | VersionInfoSP[1].setText(EAFGetSDKVersion());
| ^~~~~~~~~~~~~~~~
/home/jaime/indi-3rdparty/indi-asi/asi_focuser.cpp: In member function ‘bool ASIEAF::readMaxPosition()’:
/home/jaime/indi-3rdparty/indi-asi/asi_focuser.cpp:296:10: error: ‘EAFStepRange’ was not declared in this scope; did you mean ‘stepRange’?
296 | rc = EAFStepRange(m_ID, &stepRange);
| ^~~~~~~~~~~~
| stepRange
make[2]: *** [indi-asi/CMakeFiles/indi_asi_focuser.dir/build.make:76: indi-asi/CMakeFiles/indi_asi_focuser.dir/asi_focuser.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2530: indi-asi/CMakeFiles/indi_asi_focuser.dir/all] Error 2

I did

cmake -DCMAKE_INSTALL_PREFIX=/usr
make

@iagobado iagobado added the bug Something isn't working label Sep 25, 2023
@jpaana
Copy link
Contributor

jpaana commented Dec 4, 2023

This error comes if trying to compile against too old EAF SDK (not the one in the repo), install up to date libasi from the libasi directory and make sure there are no old copies around.

@knro knro closed this as completed Dec 5, 2023
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

3 participants