×

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

Bi-monthly release with minor bug fixes and improvements

Issue configuring 3dparty project on QTCreator

  • Posts: 249
  • Thank you received: 62
I'm struggling to have a project for 3dparty drivers working.
While the libindi CMake is working fine when I try to open CMakeList (as in the tutorial video) the configuration is not parsed because INDI path is not found.
/home/ferrante/Projects/indi/cmake_modules/FindINDI.cmake:274: error: Could not find INDI include directory indi-eqmod/CMakeLists.txt:10 (find_package)
Where I can set the INDI include dir in QTCreator?
QTcreator is v 4.5.2.

Thanks
ferrante
5 years 2 months ago #35059

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

Did you 'sudo make install' in libindi first?

EDIT: Make sure that the CMAKE_INSTALL_PREFIX in libindi project is set to /usr and not /usr/local. Otherwise, you'll end up with INDI getting installed to /usr/local which is going to create a lot of issues for you later on.
Last edit: 5 years 2 months ago by Jasem Mutlaq.
5 years 2 months ago #35073

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

  • Posts: 249
  • Thank you received: 62
I opened, configured (with /usr), built and run libindi first. As I'm using QTCreator , install is managed by it. Or it has to be launched from command line?

Libindi is working fine , I can connect to the drivers.,even the one I'm writing. I just wanted to put that driver as 3dparty and not libindi core.
5 years 2 months ago #35075

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

  • Posts: 249
  • Thank you received: 62
for some reason I do not understand deleting build directory and re creating it somewhere else solved the problem.
5 years 2 months ago #35086

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

Time to create page: 0.285 seconds