- Posts: 64
- Thank you received: 0
Trouble embedding Nativecam
9 years 2 months ago #96847
by skrap58
Trouble embedding Nativecam was created by skrap58
This is my first post so please let me know if I need to change or add anything.
I have linuxcnc 2.7.9 running on debian wheezy. Ihave used the script ncam_debsetup.txt to install NativeCAM and the locate command shows it is indeed downloaded
bill@cncpc:~$ locate ncam
/home/bill/linuxcnc/ncam_debsetup.txt
/usr/share/linuxcnc/aux_examples/NativeCAM/2.7/axis/ncam.ui
/usr/share/linuxcnc/aux_examples/NativeCAM/2.7/gmoccapy/ncam.ui
/usr/share/linuxcnc/aux_examples/NativeCAM/2.8/axis/ncam.ui
/usr/share/linuxcnc/aux_examples/NativeCAM/2.8/gmoccapy/ncam.ui
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.glade
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.ui
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam_pref.glade
/usr/share/man/man1/ncam.1.gz
bill@cncpc:~$
It seems I need to move theses files to /home/bill/linuxcnc but I am not sure exactly which file to move.
I have tried to follow instructions in readme.md file and the results are below
bill@cncpc:~$ ncam -i my-mill.ini -t -c mill
bash: ncam: command not found
Please point me in the correct direction.
Bill
I have linuxcnc 2.7.9 running on debian wheezy. Ihave used the script ncam_debsetup.txt to install NativeCAM and the locate command shows it is indeed downloaded
bill@cncpc:~$ locate ncam
/home/bill/linuxcnc/ncam_debsetup.txt
/usr/share/linuxcnc/aux_examples/NativeCAM/2.7/axis/ncam.ui
/usr/share/linuxcnc/aux_examples/NativeCAM/2.7/gmoccapy/ncam.ui
/usr/share/linuxcnc/aux_examples/NativeCAM/2.8/axis/ncam.ui
/usr/share/linuxcnc/aux_examples/NativeCAM/2.8/gmoccapy/ncam.ui
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.glade
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.ui
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam_pref.glade
/usr/share/man/man1/ncam.1.gz
bill@cncpc:~$
It seems I need to move theses files to /home/bill/linuxcnc but I am not sure exactly which file to move.
I have tried to follow instructions in readme.md file and the results are below
bill@cncpc:~$ ncam -i my-mill.ini -t -c mill
bash: ncam: command not found
Please point me in the correct direction.
Bill
Please Log in to join the conversation.
9 years 2 months ago #96900
by jmmontes
Replied by jmmontes on topic Trouble embedding Nativecam
Hi,
While Fern is back have a look at NativeCam is Features Renamed in O Codes (Subroutines) cathegory.
Jmmontes
While Fern is back have a look at NativeCam is Features Renamed in O Codes (Subroutines) cathegory.
Jmmontes
Please Log in to join the conversation.
9 years 2 months ago #96932
by rodw
Replied by rodw on topic Trouble embedding Nativecam
You probably just need to provide the full path to ncam in this line
Code:
bill@cncpc:~$ ncam -i my-mill.ini -t -c mill
Please Log in to join the conversation.
9 years 2 months ago #96946
by dgarrett
Replied by dgarrett on topic Trouble embedding Nativecam
Deb installs (like nativecam) typically put required executables
in a system directory (usually /usr/bin) so that they are available
to all users with a standard PATH setting in their environment.
Full path names are seldom required for such executables.
You can run some shell commands to see if the deb is installed correctly.
For example:
The standard PATH almost always includes /usr/bin
in a system directory (usually /usr/bin) so that they are available
to all users with a standard PATH setting in their environment.
Full path names are seldom required for such executables.
You can run some shell commands to see if the deb is installed correctly.
For example:
Code:
$ dpkg -l nativecam # Check if pkg is installed (-l (letter) not -1 (one))
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==========-========-============-=================================
ii nativecam 0.1.6 all Conversational programming for Li
$ dpkg -L nativecam|grep bin # List all files with bin in name
/usr/bin
/usr/bin/nativecam
/usr/bin/ncam
$ which ncam # Check if ncam is in your PATH
/usr/bin/ncam
$ ls -lL $(which ncam) # Verify x bits (-l -L)
-rwxr-xr-x 1 root root 185795 Jul 16 20:31 /usr/bin/ncam
$ ncam -h # Test if it is there using just -h
Standalone Usage:
ncam [Options]
Options :
...
The standard PATH almost always includes /usr/bin
Code:
$ echo $PATH
Please Log in to join the conversation.
Time to create page: 0.582 seconds
