John Wojnaroski wrote:

> Note: For now, you will have to install the TNL headers files by hand: 
> the following script should work
> #!/bin/bash

> cd /usr/include
> mkdir tnl
> cd tnl

This could be easily solved by setting

  srcdir = ..

in src/master/Makefile

and, what you'll have to do in any case, fix the include statement in
the source files, for example src/master/masterInterface.h, to

  #include <tnl/tnlEventConnection.h>
  #include <tnl/tnlRPC.h>

But even then it won't compile on Solaris/Sparc:

Making all in src
make[1]: Entering directory `/usr/local/src/TNL-1.4/src'
Making all in master
make[2]: Entering directory `/usr/local/src/TNL-1.4/src/master'
source='masterInterface.cpp' object='masterInterface.o' libtool=no \
depfile='.deps/masterInterface.Po' tmpdepfile='.deps/masterInterface.TPo' \
depmode=gcc /bin/sh ../../depcomp \
-I.  -I/opt/gnu/include -I/usr/local/include -I/opt/FlightGear/include
-O3 -c -o masterInterface.o `test -f masterInterface.cpp || echo

In file included from /usr/local/include/tnl/tnlNetBase.h:33,
                 from /usr/local/include/tnl/tnlNetConnection.h:31,
                 from /usr/local/include/tnl/tnlEventConnection.h:31,
                 from masterInterface.h:30,
                 from masterInterface.cpp:28:
/usr/local/include/tnl/tnlTypes.h:271:4: #error "TNL: Unsupported Operating System"
/usr/local/include/tnl/tnlTypes.h:307:4: #error "TNL: Unsupported Target CPU"

I wonder how they can claim cross-platform portability ....
BTW, what is the relation between the files you placed on OpenATC
and the OpenTNL project ? From there I could download only a '1.4.0rc4'
source code package, the version on OpenATC carries the version 1.4 and
the OpenTNL website claims they already reached version 1.4.3.
All this doesn't fit together,

 Unix _IS_ user friendly - it's just selective about who its friends are !

Flightgear-devel mailing list

Reply via email to