to ciekawe co masz w 8 linijce pliku custom.hal
polecam lekturę:
2.7
http://linuxcnc.org/docs/2.7/html/man/m ... ion.9.html
2.9
http://linuxcnc.org/docs/devel/html/man ... ion.9.html
ps. próbuj używać dalej czegoś czego już w 2.9 niema
to ciekawe co masz w 8 linijce pliku custom.hal
jarcys pisze:Tak taki sam co wcześniej.
Debug file information:
./custom.hal:8: Pin 'motion.spindle-forward' does not exist
Błąd.txt
A bo widzisz już powinno Cię zastanowić dlaczego skoro zmieniłeś nazwę to zamiast się ewentualnie pluć od nową to dalej odwołuje się do tej którą de facto skasowałeś / zastąpiłeś Czyli już jej nie ma a on dalej ją widzi Co oznacza że właśnie albo czegoś nie zapisałeś albo pracujesz w folderze nie w tej konfiguracjijarcys pisze:Wstawialem to i nic dopiero zrobiłem nową konfigurację linuxcnc i bingo.
jarcys pisze:Jeśli nie wiesz co ustawić, na początek po prostu zamieć to co masz w sekcji DISPLAY na następujący kod:
[DISPLAY]
DISPLAY = axis
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MIN_FEED_OVERRIDE = 0.000000
MAX_FEED_OVERRIDE = 1.200000
MAX_SPINDLE_OVERRIDE = 1.5
MIN_SPINDLE_OVERRIDE = 0.1
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
POSITION_FEEDBACK = ACTUAL
DEFAULT_LINEAR_VELOCITY = 6.000000
MAX_LINEAR_VELOCITY = 83.3333
MIN_LINEAR_VELOCITY = 0.500000
DEFAULT_ANGULAR_VELOCITY = 12.000000
MAX_ANGULAR_VELOCITY = 180.000000
MIN_ANGULAR_VELOCITY = 1.666667
EDITOR = gedit
GEOMETRY = xyz
tego nie widzę czyżbyś podmienił całą sekcie nie patrząc ze usuwasz wiersze których bark we wklejanej sekcjijarcys pisze:Wrzeciono i MPG.txt
(3.38 KiB) Pobrany 3 razy
odpowiedz konsoli:adam Fx pisze: sudo apt install libboost-python-dev netcat libmodbus-dev yapps2
sudo apt-get install yapps2
sudo apt install dh-python libudev-dev tcl8.6-dev tk8.6-dev
sudo apt install libreadline-gplv2-dev asciidoc dblatex docbook-xsl dvipng
sudo apt install graphviz groff imagemagick inkscape python-lxml source-highlight
sudo apt install texlive-extra-utils texlive-font-utils texlive-fonts-recommended
sudo apt install texlive-lang-cyrillic texlive-lang-french texlive-lang-german
sudo apt install texlive-lang-polish texlive-lang-spanish texlive-latex-recommended
sudo apt install w3c-linkchecker xsltproc asciidoc-dblatex python-dev libxmu-dev
sudo apt install libglu1-mesa-dev libgl1-mesa-dev libgtk2.0-dev intltool
Kod: Zaznacz cały
sudo apt-get install autoconf automake pkg-config libgtk-3-dev autoconf autogen libmodbus-dev libusb-1.0-0-dev
sudo apt-get update -o Acquire::Check-Valid-Until=false
sudo apt-get install libboost-python-dev netcat libmodbus-dev yapps2 libudev-dev tcl8.5-dev tk8.5-dev libreadline-gplv2-dev asciidoc dblatex docbook-xsl dvipng graphviz groff imagemagick inkscape python-lxml source-highlight texlive-extra-utils texlive-font-utils texlive-fonts-recommended texlive-lang-cyrillic texlive-lang-french texlive-lang-german texlive-lang-polish texlive-lang-spanish texlive-latex-recommended w3c-linkchecker xsltproc python-dev libxmu-dev libglu1-mesa-dev libgl1-mesa-dev libgtk2.0-dev intltool python3-tk libusb-1.0-0-dev
sudo apt-get install linux-headers-$(uname -r)
cd linuxcnc-dev/src
sudo ./autogen.sh
sudo ./configure
sudo make
sudo make setuid
Kod: Zaznacz cały
cnc@debian:~$
cnc@debian:~$ cd linuxcnc-dev/src
cnc@debian:~/linuxcnc-dev/src$
cnc@debian:~/linuxcnc-dev/src$
cnc@debian:~/linuxcnc-dev/src$ sudo ./autogen.sh
cnc@debian:~/linuxcnc-dev/src$
cnc@debian:~/linuxcnc-dev/src$ sudo ./configure
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking boost/lockfree/queue.hpp usability... no
checking boost/lockfree/queue.hpp presence... no
checking for boost/lockfree/queue.hpp... no
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=c++11... yes
checking build toplevel... /home/cnc/linuxcnc-dev
checking installation prefix... run in place
checking for grep... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for pkg-config... /usr/bin/pkg-config
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking rpc/rpc.h usability... yes
checking rpc/rpc.h presence... yes
checking for rpc/rpc.h... yes
checking for rtai-config... /usr/realtime-3.4-9-rtai-686-pae/bin/rtai-config
checking for xeno-config... none
checking for realtime API(s) to use... /usr/realtime-3.4-9-rtai-686-pae/bin/rtai-config
checking for location of kernel headers... using value from RTS: /usr/src/linux-headers-3.4-9-rtai-686-pae
checking for cc version... found gcc in rtai-config
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking for usability of linux/hidraw.h... yes
checking for usability of rpc/rpc.h... yes
checking for libmodbus3... yes - version 3.0.3
checking for libusb-1.0... yes
checking for kernel version string... 3.4-9-rtai-686-pae
checking for kernel module extension... .ko
checking kernel build system... kbuild
checking for module installation directory... configuring for run-in-place
/home/cnc/linuxcnc-dev/rtlib
checking for glib... yes - 2.32.4
checking for GTK 3.22.4 or above... no
configure: error: GTK3 missing. Install with "sudo apt install libgtk-3-dev" or specify --disable-gtk to skip the parts of LinuxCNC that depend on GTK
cnc@debian:~/linuxcnc-dev/src$
cnc@debian:~/linuxcnc-dev/src$ sudo apt install libgtk-3-dev
sudo: apt: nie znaleziono polecenia
cnc@debian:~/linuxcnc-dev/src$ sudo ./configure
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking boost/lockfree/queue.hpp usability... no
checking boost/lockfree/queue.hpp presence... no
checking for boost/lockfree/queue.hpp... no
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=c++11... yes
checking build toplevel... /home/cnc/linuxcnc-dev
checking installation prefix... run in place
checking for grep... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for pkg-config... /usr/bin/pkg-config
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking rpc/rpc.h usability... yes
checking rpc/rpc.h presence... yes
checking for rpc/rpc.h... yes
checking for rtai-config... /usr/realtime-3.4-9-rtai-686-pae/bin/rtai-config
checking for xeno-config... none
checking for realtime API(s) to use... /usr/realtime-3.4-9-rtai-686-pae/bin/rtai-config
checking for location of kernel headers... using value from RTS: /usr/src/linux-headers-3.4-9-rtai-686-pae
checking for cc version... found gcc in rtai-config
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking for usability of linux/hidraw.h... yes
checking for usability of rpc/rpc.h... yes
checking for libmodbus3... yes - version 3.0.3
checking for libusb-1.0... yes
checking for kernel version string... 3.4-9-rtai-686-pae
checking for kernel module extension... .ko
checking kernel build system... kbuild
checking for module installation directory... configuring for run-in-place
/home/cnc/linuxcnc-dev/rtlib
checking for glib... yes - 2.32.4
checking for GTK 3.22.4 or above... no
configure: error: GTK3 missing. Install with "sudo apt install libgtk-3-dev" or specify --disable-gtk to skip the parts of LinuxCNC that depend on GTK
Kod: Zaznacz cały
cnc@debian:~/linuxcnc-dev/src$ cat /etc/*-release
PRETTY_NAME="Debian GNU/Linux 7 (wheezy)"
NAME="Debian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support/"
BUG_REPORT_URL="http://bugs.debian.org/"
cnc@debian:~/linuxcnc-dev/src$
apt to w praktyce interfejs apt-get stworzony przez Ubuntu, więc zamiast np:odpowiedz konsoli:
sudo: apt: nie znaleziono polecenia
I tu już wymiękam.
Kod: Zaznacz cały
sudo apt-get install apt