[SOLVED] Difficulties installing OpenCamLib

Here's the place for discussion related to CAM/CNC and the development of the Path module.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
103131
Posts: 38
Joined: Sun Jan 30, 2022 6:53 pm

Re: Difficulties installing OpenCamLib

Post 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. ;)
chrisb
Veteran
Posts: 53923
Joined: Tue Mar 17, 2015 9:14 am

Re: Difficulties installing OpenCamLib

Post by chrisb »

Last time I did it on an older Ubuntu system, and it was slightly different from the general Linux procedure.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
103131
Posts: 38
Joined: Sun Jan 30, 2022 6:53 pm

Re: Difficulties installing OpenCamLib

Post by 103131 »

Hi everyone, :)
In this case, how did you do ? What are the differencies?
Thanks in advance. :)
herbk
Veteran
Posts: 2657
Joined: Mon Nov 03, 2014 3:45 pm
Location: Windsbach, Bavarya (Germany)

Re: Difficulties installing OpenCamLib

Post 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 ?
Gruß Herbert
chrisb
Veteran
Posts: 53923
Joined: Tue Mar 17, 2015 9:14 am

Re: Difficulties installing OpenCamLib

Post 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.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
jescombe
Posts: 90
Joined: Tue Mar 09, 2021 4:19 pm

Re: Difficulties installing OpenCamLib

Post 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..
103131
Posts: 38
Joined: Sun Jan 30, 2022 6:53 pm

Re: Difficulties installing OpenCamLib

Post 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. :)
Post Reply