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 \
c++ -DPACKAGE=\"TNL\" -DVERSION=\"1.4\" -DHAVE_DAYLIGHT=1
-DHAVE_TIMEZONE=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBX11=1
[...]
-I.  -I/opt/gnu/include -I/usr/local/include -I/opt/FlightGear/include
-O3 -c -o masterInterface.o `test -f masterInterface.cpp || echo
'./'`masterInterface.cpp

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,

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

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to