Some users reported having problems compiling a template class which was implemented in different files. I hope that by explaining my problems I might help someone else.
For the aCC compiler the flag +inst_implicit_include had to be used. This flag include the file matrixklasse.cc (note: .cc) automatically.
Furthermore, for making an archive library, the member functions had to be instantiated explicitly, see file matlib.c for how I did that. The friend functions also had to be instantiated, also see the Makefile and matlib.c.
We previously ran into some problems with the gnu g++ compiler version 2.95.2 and were not able to compile Doris (explicit instantiation mechanism/parsing of friend template functions, bug in this version?). We solved this problem by putting all definitions of the matrix class in one file and compiling without first creating a matrix library. Doris v2.4 and higher should therefor be more compiler/platform independent. For developers this is not quite so comfortable, because the code is less transparent this way.
If compilation as described above gives problems, try the following: