AXIS SIMULATOR ON DEBIAN 8 JESSIE 64 BIT.
I don't know about you but I like to play with my stuff and just installed a new ssd in my lappy.
For the sake of quick and pushing buttons I put a debian net install usb in and booted into the install process.
I ended up with the new 64 bit Debian 8 Jessie OS with KDE and Mate desktops, can't stand that Unity and have previously had issues with Gnome and KDE on the same system.
Although I have a bootable LinuxCNC usb I wondered if I could install a sim on this new pretty and fast system I have just built?
Not realising I was following outdated destructions I followed and changed them where necessary to this end.
Dont give me credit that goes to the original author here.
wiki.linuxcnc.org/cgi-bin/wiki.pl?Build_A_Simulator_Manually
But these are the exact steps I took to get it working.
I used aptitude as I have recently been told it is better at resolving depenencies than apt-get, I don't know if that is true but it works for me thus far.
Copy and paste the highlighted text using su or sudo preceding my commands.
Install git.aptitude update
aptitude dist-upgrade
aptitude install git-core gitk git-gui
Intall dpkg-dev.aptitude install git
Make a directory, I called mine git in the home directory.aptitude install dpkg-dev
Go into the git directory and grab the LinuxCNC source.mkdir git
cd git
git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc
Go to the debian folder and configure
Go back to the linuxcnc folder and check dependenciescd linuxcnc/debian
./configure sim
cd ..
dpkg-checkbuilddeps
At this point I had some more installing to do, yours may differ but here's mine and to my surprise the debian jessie main repository had them all.
g++ libfreetype6-dev debhelper libudev-dev libxenomai-dev tcl8.6-dev tk8.6-dev libreadline-gplv2-dev asciidoc dblatex dvipng graphviz groff 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 python-tk libxmu-dev libglu1-mesa-dev libgl1-mesa-dev libgl1-mesa-swx11-dev libgtk2.0-dev autoconf libboost-python-dev libmodbus-dev libusb-1.0-0-dev libfreetype6-dev autoconf
I ran
again and 3 of them updated so you may want to do same.aptitude update
I now have the all clear from dpkg-checkbuilddeps to continue.
cd src
./autogen.sh
./configure --enable-simulator
make
sudo make setuid
This took a minute or two and when finished I clicked on the linuxcnc icon in the scripts file and it sprang into life, I now have a working simulator of LinuxCNC/AXIS Version 2.8.0~pre1 on my new system.
Created a desktop shortcut and it works every time so far.
Having achieved this major milestone for me, I am now a bit played out and want to build a copy of my own machine to simulate?
I see no stepconf wizard to create one.
Do I simply copy my existing config files into this setup or can somebody point in the right direction to acheive this?
I will continue my playing in the wait for an answer as now I have it documented it will be a breeze to follow these destructions as replication on my lappy.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
- Posts: 5007
- Thank you received: 1441
buildbot.linuxcnc.org/
Please Log in or Create an account to join the conversation.
But I only ever got version 2.61 with fewer configs and no 4 axis config.
Plus it don't work on my lappy, not sure but I believe a conflict between usb 3 and parport which I don't have.
Works on my desktop though with older Jessie but it's not what I want.
Thanks for the heads up.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
- Posts: 5007
- Thank you received: 1441
buildbot.linuxcnc.org/dists/jessie/2.7-sim/binary-amd64/
Please Log in or Create an account to join the conversation.
If nobody uses it there's no point in putting it there and no progress will be made.
I wiped the ssd off and did a new install this time without the Mate and no Debian desktop, just the debian base and KDE desktop (doesn't save any or much space but I like to play).
I did have to install a few more dependencies when I got to the "./configure --enable-simulator" stage but the installer told me what to do without issue so I can say this write up definitely works and very well if you follow the onscreen instructions along with this script.
As for the config I selected one of the sim machines closest to mine and altered the .ini file to suit my layout and I am extremely happy with the results I have obtained.
Thanks to all who contribute to making this wonderful LINUXCNC the best thing since sliced bread.
And to the GIT HUB I even got Heeks cnc working vi the git which I could never do before but that's a different matter.
Please Log in or Create an account to join the conversation.