build PCL in macOSX

r1k7f3

Member
Dec 25, 2020
6
1
Hi.
I'm trying to develop a module for Pixinsight.
My development platform is a MacBook Pro M1.
For my understanding the first thing I have to do to create a Pix module is to build PCL. I downloaded it form gitlab and I'm trying to build it. The problem is that when I execute macOS-build.sh in PCL/src/tmp/ gives me fatal error (I don't have indigo installed, still if I uncomment the lines of code inside of macOS-build.sh to install indigo I get the same error).


Code:
../../IIndigoProperty.h:61:10: fatal error: 'indigo/indigo_bus.h' file not found
#include <indigo/indigo_bus.h>
         ^~~~~~~~~~~~~~~~~~~~~
In file included from ../../INDIClient.cpp:53:
In file included from ../../INDIClient.h:57:
../../IIndigoProperty.h:61:10: fatal error: 'indigo/indigo_bus.h' file not found
#include <indigo/indigo_bus.h>
         ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [x64/Release/IIndigoProperty.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from ../../DeviceConfigBase.cpp:54:
In file included from ../../INDIClient.h:57:
../../IIndigoProperty.h:61:10: fatal error: 'indigo/indigo_bus.h' file not found
#include <indigo/indigo_bus.h>
         ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [x64/Release/DeviceConfigBase.o] Error 1
1 error generated.
make[1]: *** [x64/Release/INDIClient.o] Error 1
In file included from ../../INDICCDFrameInterface.cpp:53:
In file included from ../../INDICCDFrameInterface.h:69:
In file included from ../../INDIClient.h:57:
../../IIndigoProperty.h:61:10: fatal error: 'indigo/indigo_bus.h' file not found
#include <indigo/indigo_bus.h>
         ^~~~~~~~~~~~~~~~~~~~~
In file included from ../../INDICCDFrameInstance.cpp:55:
In file included from ../../INDIClient.h:57:
../../IIndigoProperty.h:61:10: fatal error: 'indigo/indigo_bus.h' file not found
#include <indigo/indigo_bus.h>
         ^~~~~~~~~~~~~~~~~~~~~
In file included from ../../INDICCDFrameProcess.cpp:55:
In file included from ../../INDICCDFrameInterface.h:69:
In file included from ../../INDIClient.h:57:
../../IIndigoProperty.h:61:10: fatal error: 'indigo/indigo_bus.h' file not found
#include <indigo/indigo_bus.h>
         ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [x64/Release/INDICCDFrameProcess.o] Error 1
1 error generated.
make[1]: *** [x64/Release/INDICCDFrameInterface.o] Error 1
 
1 error generated.
make[1]: *** [x64/Release/INDICCDFrameInstance.o] Error 1
 
make: *** [all] Error 2

I've set $CI_PROJECT_DIR and $CI_BUILDS_DIR to $HOME/PCL (where my PCL folder is)
What am I doing wrong?
Thanks in advance.
Riccardo
 

Mike1485

Well-known member
Jun 15, 2021
164
70
United Kingdom
www.ghsastro.co.uk
Hi Riccardo
I know I am a bit behind the curve on your post here! Have you managed to get things sorted? I have got everything running on my MacBook Pro M1 so if you are still struggling I can see if I can help.
Mike