The K Desktop Environment

Chapter 5. Questions and Answers

5.1. EasyMesh crashes?
5.2. Problems with the meschach library to compile?
5.3. K2dgrFlow doesn't start EasyMesh, Why?

5.1. EasyMesh crashes?

Happens when the you have more nodes than in the EasyMesh programm allowed. Change MAX_NODES to eg 40000 (in stead of the standard 3000) and compile again. This does mean that it takes a little longer to finish...

5.2. Problems with the meschach library to compile?

Here are the changes I had to do to the meschach library. Do them also if you encouter the same problems

Changes with respect to the meschach library :

For KDE 2.1.1 with QT I had to do following changes :

* conflict with #define warning in err.h with the one defined in : /usr/lib/qt2/include/qglobal.h

CHANGE : changed err.h to : #define warningMeschach

* conflict between clog of standard output like cout, cerr (iostream.h), and the clog as complex logarithm function of cmathcalls.h

CHANGE : defined a __BENNY_CLOG preprocesser name, and changed in /usr/include/bits/cmathcalls.h :

added: #ifndef __BENNY_CLOG

/* Natural logarithm of Z. */

__MATHCALL (clog, (_Mdouble_complex_ __z));

added: #endif

Only in our programm this will be defined, so the clog function will not be possible.

5.3. K2dgrFlow doesn't start EasyMesh, Why?

EasyMesh, the program we use to generate the mesh, has a big shortcoming : it must reside in the director together with the datafiles. Therefore everything is kept in one and the same directory. Be sure that EasyMesh, after compilation, is put in the director where K2dGrFlow stores the data

PS: for now, the way K2dGrFlow stores files, is a mess, I know. Hope to resolve that in a later version.