×

INDI Library v1.7.6 Released. (27 Feb 2019)

First release of 2019 comes with quite a few new drivers across the board along with significant performance improvements to INDI camera and live streaming performance. Many drivers received significant updates to improve performance & stability, while a few were re-written from scratch to be in line with INDI standards. Here are some of the highlights:

Still not able to get cmake working correctly

  • Posts: 18
  • Thank you received: 2

Still not able to get cmake working correctly was created by eplumer

In previous thread, I reported not being able to run this build sequence:

cd astroberry-piface
mkdir build
cd build
cmake ..
make
make install


Specifically, the "make install" failed with bizarre git unstash errors. The work-around of not doing "make install" and instead moving the libraries manually appeared to work. However, after I attempted to modify the source to add some more logging, I found that I am not able to invoke the "make" command again to rebuild. Specifically, after editing the code and attempting

cd build
make


I get the same errors:

Performing update step for 'libmcp23s17'
Current branch master is up to date.
No stash found.
No stash found.
No stash found.
CMake Error at /home/edward/Tilion/astroberry-piface/build/libmcp23s17/tmp/libmcp23s17-gitupdate.cmake:136 (message):

Failed to unstash changes in:
'/home/edward/Tilion/astroberry-piface/libs/libmcp23s17/'.

You will have to resolve the conflicts manually

CMakeFiles/libmcp23s17.dir/build.make:94: recipe for target 'libmcp23s17/src/libmcp23s17-stamp/libmcp23s17-update' failed
make[2]: *** [libmcp23s17/src/libmcp23s17-stamp/libmcp23s17-update] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/libmcp23s17.dir/all' failed
make[1]: *** [CMakeFiles/libmcp23s17.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2


The only work-around I have come up with is to move a copy of my modified source outside of astroberry-piface, redownload a fresh source, and replace the modified files each time I want to test a change. Needless to say, this is pretty slow going. Any ideas on what I can do to fix this build? I am not very fluent in cmake.
2 months 1 week ago #34793

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

  • Posts: 629
  • Karma: 6
  • Thank you received: 239

Replied by Kaczorek on topic Still not able to get cmake working correctly

Just remove build/libmcp23s17 before running make
--
Radek Kaczorek
Astroberry Server | NEQ6 | Atik 460EX | Atik EFW2 | ASI 120MM
2 months 1 week ago #34797

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

Moderators: Kaczorek
Time to create page: 0.192 seconds