Fancy logo
Yadex 1.5.2 (2002-01-28)

Yadex FAQ




Compilation problems

c++: command not found
Are you sure you have a C++ compiler ? If not, install one. If you do have one, find out how it's called and change the "CXX =" line in GNUmakefile accordingly.

X11/Xlib.h: No such file or directory
Are you sure you have the Xlib headers ? If not, install them. If you already have them, then find out where they are and change the "X11INCLUDEDIR =" line in GNUmakefile accordingly.

I have GCC 2.7 and I get lots of errors
GCC 2.7 is a very old compiler, it does not implement the current C++ standard and I don't support it. If you must, try applying patch/gcc-2.7.diff that's included in the archive but don't complain to me if it doesn't work.

I have EGCS 1.1.2 / SuSE 6.2 and I get
"no matching function for call to `menu_c::menu_c (...)'"
Apparently, there is a bug in certain EGCS 1.1.2 installations that makes them choke on src/editloop.cc. I know no workaround. I'd suggest that you try to get a fix from your distributor or use another compiler. EGCS 1.0.3, EGCS 1.1.1 and GCC 2.95.2 are known to work.

Yadex 1.3.1 doesn't compile
There's a thinko in the makefile. It's fixed in version 1.3.2.

Yadex 1.1.0 doesn't compile
In src/infobar.cc, lines 48 and 49, replace
  const char infobar_c::FILE_NAME_UNSET[1];  // A special pointer value 
  const char infobar_c::LEVEL_NAME_UNSET[1];  // A special pointer value
by
  const char infobar_c::FILE_NAME_UNSET[1] = { ' ' };
  const char infobar_c::LEVEL_NAME_UNSET[1] = { ' ' };
Yadex 1.0.1 doesn't compile
In src/vector.h, delete line 44 ("return this;") and compile again.

Misc.

I don't have an iwad
You can download certain iwads for free ;

How many people use Yadex ?
I don't know for sure. Each new release gets a few hundred downloads.

Why didn't you use <insert speaker's favourite toolkit> ?
I used plain Xlib and not a toolkit for several reasons. Firstly, I wanted to learn Xlib. Secondly, I reckoned that it would be easier to translate the existing BGI calls to Xlib than to some higher level toolkit. Thirdly, I feared that depending on a toolkit would hurt portability.


AYM 2000-08-27