El modo simulador esta completo para que interprete el código G sobre la pantalla, y brinda un espacio al usuario para el desarrollo y exploración, pero no sirve para la medicion de fluctuaciones en la medida o para manejar las maquinas en la vida real.
Los siguientes pasos de compilación para el ubuntu 11.10 y el 12.04 con una principal diferencia. En Ubuntu 10.04 tres paquetes deben ser instalados para habilitar el conjunto de comandos del git
Desde la pagina Installing LinuxCNC,
sudo apt-get install git-core gitk git-gui
También, para Ubuntu 10.04 esto no es necesario para mover los paquetes tcl8.4 y tk8.4 antes de la compilación.
Estos no son paquetes precompilados para 11.10, Estos pasos podrán hacer un trabajo de simulación con una instalación de Ubuntu reciente.
El credito es para Anders Wallin que hizo los primeros pasos para que el simulador en 11.10
sudo apt-get install gitInstalar dpkg-dev.
sudo apt-get install dpkg-devHacer un directorio, por ejemplo 'git', en tu carpeta favorita.
mkdir gitGo into the git directory and get a copy of the LinuxCNC source.
cd git git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc
cd linuxcnc/debian ./configure simVuelva a la carpeta linuxcnc y revise las dependencias
cd .. dpkg-checkbuilddepsMirara una linea similar a:
dpkg-checkbuilddeps: Unmet dependencies: debhe...Now the dependency check threw a number of missing artifacts, install them all with apt-get.
Editor's note 1: These are the packages I had to install to get it running. This list is illustrative but dependencies may well differ for your installation---it's best explicitly to check them as shown above.
sudo apt-get install libpth-dev dvipng tcl-dev tk-dev tcl8.4-dev tk8.4-dev bwidget libxaw7-dev libncurses-dev libreadline-dev asciidoc source-highlight dblatex groff python-dev python-tk python-lxml libglu1-mesa-dev libgl1-mesa-dev libgl1-mesa-swx11-dev libgtk2.0-dev libgnomeprintui2.2-dev autoconf libboost-python-dev texlive-lang-cyrillic
Editor's note 2: There can only be one libgl development package installed at the time. If there are any conflicts, remove (purge) the installed package and retry.
Editor's note 3: The apt-get install command above is almost working as is in a Ubuntu 12.04 as well. The libgl1-mesa-dev is provided in other packages, but apt-get will hint which one to install get it running. Install that package separately, remove libgl1-mesa-dev from the long install command and go for it. Please note that the extra packages needed might differ for your machine, depending on your setup and hardware.
Here's an example of a command that worked on 12.04:
sudo apt-get install libpth-dev dvipng tcl-dev tk-dev tcl8.4-dev tk8.4-dev bwidget libxaw7-dev libncurses-dev libreadline-dev asciidoc source-highlight dblatex groff python-dev python-tk python-lxml libglu1-mesa-dev libgl1-mesa-swx11-dev libgtk2.0-dev libgnomeprintui2.2-dev autoconf libboost-python-dev texlive-lang-cyrillic texlive-lang-french texlive-lang-german texlive-lang-spanish texlive-lang-polish libmodbus-dev python-support
When the command dpkg-checkbuilddeps returns silent you can go to next step.
sudo apt-get purge tcl8.4-dev tk8.4-dev
Now it's finally time to compile linuxcnc
cd src ./autogen.sh ./configure --enable-simulator make
Add following to your path (such as .profile)
export PATH=$PATH:[path to the linuxcnc dir]/linuxcnc/scripts/rip-environment
Linuxcnc can now be started with the command
. scripts/linuxcnc
Don't forget to use a simulator configuration (sim tree in the config selector).