Angus Leeming wrote:
Rob Lahaye wrote:
Once again: removing -DBOOST_USER_CONFIG="<config.h>" from the
compile line above, solves the problem.
Does that bring us any closer?
Sure. Something in <config.h> is messing up the (quite small)
<boost/cstdint.hpp>
You should try and isolate the #define that is screwing things up.
As a preliminary guess, looking at the <config.h> you posted, try
#define uintmax_t unsigned long long
#include <boost/cstdint.hpp>
int main () { return 0; }
Compile with a normal
$ gcc -I<path to lyx>/boost -o trial trial.C
Anyway, I'm sure that you get the point and can find the offender
from here.
Hmmm, don't think I get it. I thought, there's a line in src/config.h
that's causing trouble. Started deleting lines in src/config.h, but
then ended up deleting all lines in that file and still getting
the same error....
So where am I supposed to look for this?
Actually, your suggestion to put another #define in the trial.C file,
is totally uncomprehesible for me :(. Don't see at all what it means.
Rob.