[Home]History of AptProgrammingForEMC

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org

Revision 41 . . July 14, 2014 2:36 pm by KimK [Added more details to help newcomers. ]
Revision 40 . . July 12, 2014 6:46 pm by KimK [Fix minor typos, update link(s), add example to install sym link]
Revision 39 . . (edit) January 22, 2012 3:42 pm by CNCDreamer [rebranded]
  

Difference (from prior major revision) (author diff)

Changed: 21c21
(Note: the latest version of vapt never got uploaded to this page, we will direct you to a later version when we get it up on the aptos project page)
(Note: the latest version of Vapt (0.2.6) never got uploaded to the Vapt page (0.2.1), but it did get uploaded to the aptos project page. More info on this shortly.)


Changed: 25c25,26
I was able to get both projects to run on Ubuntu Dapper and have been pretty pleased with what they can do
I was able to get both projects to run on Ubuntu Dapper and have been pretty pleased with what they can do. -DF

(Anyone else have more to say here about tested OS versions? Virtualbox?)


Changed: 29c30,34
(You might want to create an ~/aptos directory to contain the three following directories:)
You might want to create an ~/aptos directory to contain the rest of the directories.

Download and untar the three Aptos files from sourceforge into the ~/aptos directory, they will have version numbers attached.

At this writing, the latest known are:

[apt360-1.0.2], [postp-0.2.1], and [vapt-0.2.6]

Note that this most recent vapt seems to be missing a version number in compressed form, but it reveals itself after expanding. You might want to rename the tar file from vapt.tar.gz to vapt-0.2.6.tar.gz after downloading it if you plan to save it for future uses.

Removed: 31d35
Notes on installing apt360

Added: 32a37
Notes on installing apt360 (If you don't already have "build-essentials", this would be a good time to install it/them.)

Changed: 34,35c39,47
Install apt360:

./configure, make, sudo make install

Fulfill apt360 and postp dependencies (by using apt-get, synaptic, aptitude, etc.)

Install all of these: libf2c , bison , flex

Maybe install dxflib (was at http://www.ribbonsoft.com/dxflib_downloads.html and more recently at http://www.qcad.org/en/dxflib-downloads )

(not necessary just to use apt360, and even post .tap files, this is only for the optional 'posting' of dxf files. )


Install apt360: in the ~/aptos/apt360-n.n.n directory, do:

./configure (if a warning scrolls by about "no gsl lib, can't TABCYL", then install gsl-lib and gsllib0-dev.)

make

sudo make install (I had to use sudo for this, your results may vary.)


Changed: 47,48c59,78
then go inside the apt360 directory and create a symbolic link to the directory in which vapt resides.

(Maybe something like this: ln -s ~/aptos/vapt-0.2.6/ ~/aptos/apt360-1.0.2/ )

Fulfill vapt dependencies (by using apt-get, synaptic, aptitude, etc.)

install python-dev (development version of python)

install pyopengl (some problems, python-opengl-togl seems to be broken in Ubuntu 7.10)

Now create the two main symbolic links (change any of these if as needed if you want to switch between versions):

ln -s ~/aptos/apt360-1.0.2/ ~/aptos/apt360

ln -s ~/aptos/postp-0.2.1/ ~/aptos/postp

Then go inside the apt360-n.n.n directory and create a symbolic link to the directory in which vapt resides.

ln -s ~/aptos/vapt-0.2.6/ ~/aptos/apt360-1.0.2/vapt


If you try to run vapt (first time) and you get an error about "install missing python-tk", install it, and the related -debug also.

Now if you try to run vapt (second time) and you get an error about "can't find package Togl", congratulations, you're getting close!

Togl is on Sourceforge, so go [here] and install the dependencies needed, You may already have Tk, Tcl, etc.

Also install everything connected with libxmu- there are several, but they're all small.

You can install Togl from the download directory you're storing it in, or from wherever you wish.

Download and install Togl (1.7 for now, more on this later), then run ./configure and look at the errors.

Install whatever is needed to fix the error (Google helps). Keep re-running ./configure until it will complete without errors.

Do the same thing with make, but every time you install another thing, go back and re-run ./configure so ./configure knows about it.

Then try to start vapt, look at the errors that occur, and Google them to learn what to install next. Keep at it until vapt will start and display a screen.

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org
Search:
Published under a Creative Commons License