Some problems of building Virtual AGC Back
Virtual AGC (Apollo Guidance Computer) is used for simulating the real AGC, the DSKY of the real Apollo Guidance System. For personal interest, I have decided to build this project (another one with translation into traditional chinese), and know more about Apollo's plan. Here, I will write down some problems of the process with a documenting way.
Here, I just use a Ubuntu 14.04 OS system to build:
Download a development tarball firstly: https://www.ibiblio.org/apollo/Downloads/
Here I would like to build with yaAGC-dev-20100220.tar.bz2
- Then, the following step should be unpacking:
$ tar --bzip2 -xf yaAGC-dev-YYYYMMDD.tar.bz2
After, building the project with enter the directory,
yaAGC
:$ cd yaAGC $ make
Notice that, you should not run
configure
andmake install
- Problems: /usr/bin/ld: cannot find -lcurses
Solutions:
$ sudo apt-get install libcurses-ocaml-dev
Problems: fatal error: wx/wx.h: No such file or directory
- Solutions:
$ sudo apt-get install libwxgtk3.0-dev
To match the default setup:
$ mv yaAGC/VirtualAGC/temp/lVirtualAGC ~/VirtualAGC
- After installation, we can run it by executing files of
~/VirtualAGC/bin
$ ~/VirtualAGC/bin/VirtualAGC