Page 2 of 2

Re: Difficulties installing OpenCamLib

Posted: Sun May 22, 2022 3:33 pm
by 103131
Hi everyone :) ,
I did all of this:
$ git clone https://github.com/aewallin/opencamlib.git
$ cd opencamlib
$ mkdir build
$ cd build
$ sudo apt install cmake
$ sudo apt install libboost-program-options-dev
$ sudo apt install doxygen
$ sudo apt install texlive-full
$ cmake ../src
$ make (try make -j4 for a faster build if you have a multi-core machine)
$ sudo make install
And this :
$ make doc
$ make doc-pdf
As explained on :
https://github.com/aewallin/opencamlib

Isn't it enough?

Thanks in advance for any suggestion. ;)

Re: Difficulties installing OpenCamLib

Posted: Sun May 22, 2022 11:16 pm
by chrisb
Last time I did it on an older Ubuntu system, and it was slightly different from the general Linux procedure.

Re: Difficulties installing OpenCamLib

Posted: Mon May 23, 2022 11:32 am
by 103131
Hi everyone, :)
In this case, how did you do ? What are the differencies?
Thanks in advance. :)

Re: Difficulties installing OpenCamLib

Posted: Mon May 23, 2022 11:50 am
by herbk
Hi,
103131 wrote: Sat May 21, 2022 11:47 am But I already use the Appimage and update it regularly.
The Linux AppImage contends OCL, - so if it is not working the Prob must be somewhere else...
On OpenSuse it is not possible to install OCL at a regular way, there are some dependecies wich are not to solve, ( that's the reason i use the Appimage to and here OCL works), may be at Ububtu similar...

If you are using the AppImage, whats the reason you are in mind it is not working ?

Re: Difficulties installing OpenCamLib

Posted: Mon May 23, 2022 4:21 pm
by chrisb
103131 wrote: Mon May 23, 2022 11:32 am In this case, how did you do ? What are the differencies?
I don't remember the details, but there was a special section in the compile/install manual for Ubuntu.

Re: Difficulties installing OpenCamLib

Posted: Tue May 24, 2022 8:04 am
by jescombe
103131 wrote: Mon May 23, 2022 11:32 am Hi everyone, :)
In this case, how did you do ? What are the differencies?
Thanks in advance. :)
As others have said, the AppImages are built with OpenCamLib and should just work..
Is this setting enabled? Preferences->Path->Advanced->Enable OCL dependent features

Edit: Have just checked, and "import ocl" doesn't return an error message for me even without that setting, so perhaps is something else..

Re: Difficulties installing OpenCamLib

Posted: Tue May 24, 2022 8:42 am
by 103131
Hi everyone :)
I have good news. I think Jescombe was right. It was because of the OCL dependent features setting which was not checked. I had only the "3D recess" option.
I checked it and now I have "3D recess", "3D surface" and "waterline" options.

Now I can try to learn how to use it. 8-)

Thank you a lot all for your help. :)