Submissions
Just email the TA (drussel@graphics.stanford.edu) a tarball of your source
and a README file. Please state in the README what the TA needs to do to compile
it and where he should expect to succeed in compiling it (if it only works on
some of the leland system types) --- in addition to whatetever else is required
in the problem set assignment.
For more information on the programing part of assingment 2 please look here.
CGAL and Qt
We recommend that you use CGAL and Qt for your programming project. The
information below should be enough to get you started.
Manuals
The manuals can be found on the internet.:
- The CGAL manual.
- The CGAL Qt_widget which provides the interface between CGAL and Qt.
- The Qt
manuals The version of Qt installed on the shared linux machines has been changing from 3.3 to 2.3 and now back to 3.2 so please be aware what version is being used. Currently, the best check is if the directory /usr/include/qt exists, you are using Qt 2.3 and if /usr/include/qt3 exists you are using Qt 3.x. The setup scripts figure this out automatically, and hopefully, the versions will not matter.
- You will probably find the QTimer class useful. The 3.2 version is documented here.
There are also numerous CGAL demos programs in /afs/ir.stanford.edu/class/cs368/CGAL-demos and CGAL-examples.
As before, the script
/afs/ir.stanford.edu/class/cs368/setup.csh will setup the
proper CPPFLAGS, CXXFLAGS, LDFLAGS and CXX environment variables as
well as the proper CGAL_MAKEFILE so that the CGAL demos can be
built. The script is constantly changing as the machines are
modified. Please email the TA if something doesn't work.
Don't hesitate to contact the teaching
assistant if you run into any problem.
Writing your own programs
As the CGAL libraries use C++ template classes heavily, the error
messages can sometimes be dauting. Come and see the TA for debugging
sessions.