[Flightgear-devel] Problem building flight gear on 64-bit Linux

2006-11-10 Thread Vikas N Kumar

Hi All,
I am running an x86_64 Linux (Slamd64) with gcc-3.4.4. I have glut-3.7
installed. I have freealut-1.1.0 and openal-0.0.8 and plib-1.8.4
installed.

I checked out the latest version of OpenSceneGraph, SimGear and
FlightGear and tried to compile them all. OSG and SimGear compiled
fine and I installed them.

FligthGear gives me the below error. Please help. i am attaching the
header file which is causing error.


if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src
-I/usr/X11R6/include -I/usr/local/include  -g -O2 -D_REENTRANT -MT
atis.o -MD -MP -MF .deps/atis.Tpo -c -o atis.o atis.cxx; \
then mv -f .deps/atis.Tpo .deps/atis.Po; else rm -f
.deps/atis.Tpo; exit 1; fi
In file included from /usr/local/include/osg/Image:17,
from /usr/local/include/osg/Texture:18,
from /usr/local/include/osg/Texture2D:17,
from /usr/local/include/simgear/scene/model/model.hxx:22,
from AIPlane.hxx:25,
from tower.hxx:37,
from ATCmgr.hxx:34,
from atis.cxx:50:
/usr/local/include/osg/BufferObject:173: error: expected `)' before '*' token
/usr/local/include/osg/BufferObject:174: error: expected `)' before '*' token
/usr/local/include/osg/BufferObject:175: error: expected `)' before '*' token
/usr/local/include/osg/BufferObject:176: error: expected `)' before '*' token
/usr/local/include/osg/BufferObject:177: error: expected `)' before '*' token
/usr/local/include/osg/BufferObject:178: error: expected `)' before '*' token
/usr/local/include/osg/BufferObject:179: error: expected `)' before '*' token
/usr/local/include/osg/BufferObject:180: error: expected `)' before '*' token
/usr/local/include/osg/BufferObject:180: error: expected `;' before '*' token
/usr/local/include/osg/BufferObject:181: error: expected `)' before '*' token
/usr/local/include/osg/BufferObject:182: error: expected `)' before '*' token
/usr/local/include/osg/BufferObject:183: error: expected `)' before '*' token
/usr/local/include/osg/BufferObject:185: error: `GenBuffersProc' does
not name a type
/usr/local/include/osg/BufferObject:186: error: `BindBufferProc' does
not name a type
/usr/local/include/osg/BufferObject:187: error: `BufferDataProc' does
not name a type
/usr/local/include/osg/BufferObject:188: error: `BufferSubDataProc'
does not name a type
/usr/local/include/osg/BufferObject:189: error: `DeleteBuffersProc'
does not name a type
/usr/local/include/osg/BufferObject:190: error: `IsBufferProc' does
not name a type
/usr/local/include/osg/BufferObject:191: error: `GetBufferSubDataProc'
does not name a type
/usr/local/include/osg/BufferObject:192: error: `MapBufferProc' does
not name a type
/usr/local/include/osg/BufferObject:193: error: `UnmapBufferProc' does
not name a type
/usr/local/include/osg/BufferObject:194: error:
`GetBufferParameterivProc' does not name a type
/usr/local/include/osg/BufferObject:195: error:
`GetBufferPointervProc' does not name a type
/usr/local/include/osg/BufferObject: In member function `bool
osg::BufferObject::Extensions::isBufferObjectSupported() const':
/usr/local/include/osg/BufferObject:156: error: `_glGenBuffers'
undeclared (first use this function)
/usr/local/include/osg/BufferObject:156: error: (Each undeclared
identifier is reported only once for each function it appears in.)
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src
-I/usr/X11R6/include -I/usr/local/include  -g -O2 -D_REENTRANT -MT
tower.o -MD -MP -MF .deps/tower.Tpo -c -o tower.o tower.cxx; \
then mv -f .deps/tower.Tpo .deps/tower.Po; else rm -f
.deps/tower.Tpo; exit 1; fi
make[2]: *** [atis.o] Error 1
make[2]: *** Waiting for unfinished jobs
make[2]: Leaving directory `/mnt/extra/FLIGHTGEAR/source/src/ATC'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/extra/FLIGHTGEAR/source/src'
make: *** [all-recursive] Error 1

--
http://www.vikaskumar.org/


BufferObject
Description: Binary data
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] OSG build errors

2006-11-16 Thread Vikas N Kumar
Hi
I have  checked out the latest CVS version of OpenSceneGraph and am
having compilation issues.
I have built the latest CVS versions of OpenThreads and Producer
successfully, however when I build OSG, I get the following error.

I am running Slamd64, an x86_64 version of Slackware, with 2.6.16.29
SMP Linux kernel, with GCC-3.4.6 . I am not familiar at all with the
code, and hence  I appreciate any pointers provided to fix this issue.
This is my first time running FlightGear.

Thanks in advance,
--Vikas



g++  -O2 -W -Wall -fPIC -pipe -DOSGPRODUCER_LIBRARY -I../../../include
 -I/usr/X11R6/include -c ../ViewerEventHandler.cpp
g++  -O2 -W -Wall -fPIC -pipe -DOSGPRODUCER_LIBRARY -I../../../include
 -I/usr/X11R6/include -c ../Viewer.cpp
g++  -O2 -W -Wall -fPIC -pipe -DOSGPRODUCER_LIBRARY -I../../../include
 -I/usr/X11R6/include -c ../Version.cpp
g++  -O2 -L/usr/X11R6/lib64 -L../../../lib/Linux64  -shared
KeyboardMouseCallback.o GraphicsContextImplementation.o
OsgCameraGroup.o OsgSceneHandler.o ViewerEventHandler.o Viewer.o
Version.o   -lstdc++ -lProducer -lGLU -lGL  -losgText -losgGA
-losgUtil -losgDB -losg -lOpenThreads -o libosgProducer.so
`.gnu.linkonce.t._ZN7osgUtil10Statistics3endEv' referenced in section
`.rodata' of ViewerEventHandler.o: defined in discarded section
`.gnu.linkonce.t._ZN7osgUtil10Statistics3endEv' of
ViewerEventHandler.o
`.gnu.linkonce.t._ZN7osgUtil10Statistics12drawElementsEjiPKj'
referenced in section `.rodata' of ViewerEventHandler.o: defined in
discarded section
`.gnu.linkonce.t._ZN7osgUtil10Statistics12drawElementsEjiPKj' of
ViewerEventHandler.o
`.gnu.linkonce.t._ZN7osgUtil10Statistics12drawElementsEjiPKt'
referenced in section `.rodata' of ViewerEventHandler.o: defined in
discarded section
`.gnu.linkonce.t._ZN7osgUtil10Statistics12drawElementsEjiPKt' of
ViewerEventHandler.o
`.gnu.linkonce.t._ZN7osgUtil10Statistics12drawElementsEjiPKh'
referenced in section `.rodata' of ViewerEventHandler.o: defined in
discarded section
`.gnu.linkonce.t._ZN7osgUtil10Statistics12drawElementsEjiPKh' of
ViewerEventHandler.o
`.gnu.linkonce.t._ZN7osgUtil10Statistics10drawArraysEjii' referenced
in section `.rodata' of ViewerEventHandler.o: defined in discarded
section `.gnu.linkonce.t._ZN7osgUtil10Statistics10drawArraysEjii' of
ViewerEventHandler.o
collect2: ld returned 1 exit status
gmake[3]: *** [libosgProducer.so] Error 1
gmake[3]: Leaving directory
`/mnt/extra/FLIGHTGEAR/OpenSceneGraph/OpenSceneGraph/src/osgProducer/Linux64.Opt'
gmake[2]: *** [libosgProducer.so.opt] Error 2
gmake[2]: Leaving directory
`/mnt/extra/FLIGHTGEAR/OpenSceneGraph/OpenSceneGraph/src/osgProducer'
gmake[1]: *** [default] Error 1
gmake[1]: Leaving directory
`/mnt/extra/FLIGHTGEAR/OpenSceneGraph/OpenSceneGraph/src'
gmake: *** [default] Error 1

-- 
http://www.vikaskumar.org/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] SIm gear CVS error

2006-11-18 Thread Vikas N Kumar
Hi Friends,
Below is the error i get with SimGear CVS version.
I use Slamd64, an x86-64 version of SLackware with Linux 2.6.16.29 and gcc-3.4.6

Any help will be appreciated !

Thanks.
Vikas

Making all in misc
gmake[3]: Entering directory `/mnt/extra/FLIGHTGEAR/SimGear/source/simgear/misc'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../..
-I/mnt/extra/FLIGHTGEAR/run//include -I/usr/X11R6/include  -g -O2
-D_REENTRANT -MT sg_path.o -MD -MP -MF .deps/sg_path.Tpo -c -o
sg_path.o sg_path.cxx; \
then mv -f .deps/sg_path.Tpo .deps/sg_path.Po; else rm -f
.deps/sg_path.Tpo; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../..
-I/mnt/extra/FLIGHTGEAR/run//include -I/usr/X11R6/include  -g -O2
-D_REENTRANT -MT sgstream.o -MD -MP -MF .deps/sgstream.Tpo -c -o
sgstream.o sgstream.cxx; \
then mv -f .deps/sgstream.Tpo .deps/sgstream.Po; else rm
-f .deps/sgstream.Tpo; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../..
-I/mnt/extra/FLIGHTGEAR/run//include -I/usr/X11R6/include  -g -O2
-D_REENTRANT -MT strutils.o -MD -MP -MF .deps/strutils.Tpo -c -o
strutils.o strutils.cxx; \
then mv -f .deps/strutils.Tpo .deps/strutils.Po; else rm
-f .deps/strutils.Tpo; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../..
-I/mnt/extra/FLIGHTGEAR/run//include -I/usr/X11R6/include  -g -O2
-D_REENTRANT -MT tabbed_values.o -MD -MP -MF .deps/tabbed_values.Tpo
-c -o tabbed_values.o tabbed_values.cxx; \
then mv -f .deps/tabbed_values.Tpo .deps/tabbed_values.Po;
else rm -f .deps/tabbed_values.Tpo; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../..
-I/mnt/extra/FLIGHTGEAR/run//include -I/usr/X11R6/include  -g -O2
-D_REENTRANT -MT texcoord.o -MD -MP -MF .deps/texcoord.Tpo -c -o
texcoord.o texcoord.cxx; \
then mv -f .deps/texcoord.Tpo .deps/texcoord.Po; else rm
-f .deps/texcoord.Tpo; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../..
-I/mnt/extra/FLIGHTGEAR/run//include -I/usr/X11R6/include  -g -O2
-D_REENTRANT -MT zfstream.o -MD -MP -MF .deps/zfstream.Tpo -c -o
zfstream.o zfstream.cxx; \
then mv -f .deps/zfstream.Tpo .deps/zfstream.Po; else rm
-f .deps/zfstream.Tpo; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../..
-I/mnt/extra/FLIGHTGEAR/run//include -I/usr/X11R6/include  -g -O2
-D_REENTRANT -MT interpolator.o -MD -MP -MF .deps/interpolator.Tpo
-c -o interpolator.o interpolator.cxx; \
then mv -f .deps/interpolator.Tpo .deps/interpolator.Po;
else rm -f .deps/interpolator.Tpo; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../..
-I/mnt/extra/FLIGHTGEAR/run//include -I/usr/X11R6/include  -g -O2
-D_REENTRANT -MT tabbed_values_test.o -MD -MP -MF
.deps/tabbed_values_test.Tpo -c -o tabbed_values_test.o
tabbed_values_test.cxx; \
then mv -f .deps/tabbed_values_test.Tpo
.deps/tabbed_values_test.Po; else rm -f
.deps/tabbed_values_test.Tpo; exit 1; fi
gmake[3]: *** No rule to make target `../../simgear/misc/libsgmisc.a',
needed by `tabbed_value_test'.  Stop.
gmake[3]: *** Waiting for unfinished jobs
gmake[3]: Leaving directory `/mnt/extra/FLIGHTGEAR/SimGear/source/simgear/misc'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/mnt/extra/FLIGHTGEAR/SimGear/source/simgear'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/mnt/extra/FLIGHTGEAR/SimGear/source/simgear'
gmake: *** [all-recursive] Error 1


-- 
http://www.vikaskumar.org/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] SIm gear CVS error

2006-11-18 Thread Vikas N Kumar
Hi
I was doing make -j 2 always to use the dual-core for processing.
That was causing the bug. However, building with --with-jpeg-factory
does give errors.

Thanks
Vikas

On 11/18/06, Vikas N Kumar [EMAIL PROTECTED] wrote:
 Hi Friends,
 Below is the error i get with SimGear CVS version.
 I use Slamd64, an x86-64 version of SLackware with Linux 2.6.16.29 and 
 gcc-3.4.6

 Any help will be appreciated !

 Thanks.
 Vikas

 Making all in misc
 gmake[3]: Entering directory 
 `/mnt/extra/FLIGHTGEAR/SimGear/source/simgear/misc'
 if g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../..
 -I/mnt/extra/FLIGHTGEAR/run//include -I/usr/X11R6/include  -g -O2
 -D_REENTRANT -MT sg_path.o -MD -MP -MF .deps/sg_path.Tpo -c -o
 sg_path.o sg_path.cxx; \
 then mv -f .deps/sg_path.Tpo .deps/sg_path.Po; else rm -f
 .deps/sg_path.Tpo; exit 1; fi
 if g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../..
 -I/mnt/extra/FLIGHTGEAR/run//include -I/usr/X11R6/include  -g -O2
 -D_REENTRANT -MT sgstream.o -MD -MP -MF .deps/sgstream.Tpo -c -o
 sgstream.o sgstream.cxx; \
 then mv -f .deps/sgstream.Tpo .deps/sgstream.Po; else rm
 -f .deps/sgstream.Tpo; exit 1; fi
 if g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../..
 -I/mnt/extra/FLIGHTGEAR/run//include -I/usr/X11R6/include  -g -O2
 -D_REENTRANT -MT strutils.o -MD -MP -MF .deps/strutils.Tpo -c -o
 strutils.o strutils.cxx; \
 then mv -f .deps/strutils.Tpo .deps/strutils.Po; else rm
 -f .deps/strutils.Tpo; exit 1; fi
 if g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../..
 -I/mnt/extra/FLIGHTGEAR/run//include -I/usr/X11R6/include  -g -O2
 -D_REENTRANT -MT tabbed_values.o -MD -MP -MF .deps/tabbed_values.Tpo
 -c -o tabbed_values.o tabbed_values.cxx; \
 then mv -f .deps/tabbed_values.Tpo .deps/tabbed_values.Po;
 else rm -f .deps/tabbed_values.Tpo; exit 1; fi
 if g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../..
 -I/mnt/extra/FLIGHTGEAR/run//include -I/usr/X11R6/include  -g -O2
 -D_REENTRANT -MT texcoord.o -MD -MP -MF .deps/texcoord.Tpo -c -o
 texcoord.o texcoord.cxx; \
 then mv -f .deps/texcoord.Tpo .deps/texcoord.Po; else rm
 -f .deps/texcoord.Tpo; exit 1; fi
 if g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../..
 -I/mnt/extra/FLIGHTGEAR/run//include -I/usr/X11R6/include  -g -O2
 -D_REENTRANT -MT zfstream.o -MD -MP -MF .deps/zfstream.Tpo -c -o
 zfstream.o zfstream.cxx; \
 then mv -f .deps/zfstream.Tpo .deps/zfstream.Po; else rm
 -f .deps/zfstream.Tpo; exit 1; fi
 if g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../..
 -I/mnt/extra/FLIGHTGEAR/run//include -I/usr/X11R6/include  -g -O2
 -D_REENTRANT -MT interpolator.o -MD -MP -MF .deps/interpolator.Tpo
 -c -o interpolator.o interpolator.cxx; \
 then mv -f .deps/interpolator.Tpo .deps/interpolator.Po;
 else rm -f .deps/interpolator.Tpo; exit 1; fi
 if g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../..
 -I/mnt/extra/FLIGHTGEAR/run//include -I/usr/X11R6/include  -g -O2
 -D_REENTRANT -MT tabbed_values_test.o -MD -MP -MF
 .deps/tabbed_values_test.Tpo -c -o tabbed_values_test.o
 tabbed_values_test.cxx; \
 then mv -f .deps/tabbed_values_test.Tpo
 .deps/tabbed_values_test.Po; else rm -f
 .deps/tabbed_values_test.Tpo; exit 1; fi
 gmake[3]: *** No rule to make target `../../simgear/misc/libsgmisc.a',
 needed by `tabbed_value_test'.  Stop.
 gmake[3]: *** Waiting for unfinished jobs
 gmake[3]: Leaving directory 
 `/mnt/extra/FLIGHTGEAR/SimGear/source/simgear/misc'
 gmake[2]: *** [all-recursive] Error 1
 gmake[2]: Leaving directory `/mnt/extra/FLIGHTGEAR/SimGear/source/simgear'
 gmake[1]: *** [all] Error 2
 gmake[1]: Leaving directory `/mnt/extra/FLIGHTGEAR/SimGear/source/simgear'
 gmake: *** [all-recursive] Error 1


 --
 http://www.vikaskumar.org/



-- 
http://www.vikaskumar.org/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] real-time data

2006-11-26 Thread Vikas N Kumar
Hi All
I need some help in collecting real-time data from FlightGear while
the aircraft is being flown. I will need it when I interface it with
hardware for instrument panels etc.
Could someone point where I could look for some info on this ? Either
in the source code or in some manual. I have read the Getting Started
Manual, and have not found anything in this regard except Jon
Wojnaroski's 747 project but that does not give any info on how the
realtime data was taken from FG or something similar.

Any help will be appreciated. Fyi, I use Linux and play FG on Linux
and all my work will be on Linux.

Thanks and regards,
Vikas

-- 
http://www.vikaskumar.org/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Linux - Solaris AMD64-SPARC64 interfacing

2006-11-30 Thread Vikas N Kumar
Hi All
I have an AMD64 machine that runs a 64-bit flavor of GNU/Linux.
I have a Sun SPARC64 machine that runs Solaris 7 with a gnu compiler toolset.

Now if I want to use both these machines to run FlightGear, will it
work. Say I run Flightgear on the AMD64 and the panel display of FG on
SPARC64.
1)  Will it work ?
2)  Is data transfer between two flight gear apps done only via XML ?
3) Isn't XML very slow ?
Remember that the endianness of the AMD64 and SPARC64 are different.

As of today I do not have a good Gfx card for the SPARC64, so I have not tried
running/compiling FG on it, but if this scenario works, I will spend
some cash/time/effort getting one.

4) If it does not work, and if I install Linux on the SPARC64, will
the endianness make a difference. Will it work then ?

Hoping for an answer.

Thanks and regards,
Vikas

-- 
http://www.vikaskumar.org/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Linux - Solaris AMD64-SPARC64 interfacing

2006-12-01 Thread Vikas N Kumar
Martin Spott wrote:
 No idea, but you could help porting the current state of FlightGear to
  Solaris  :-)

Hi Martin,
I have started working on it.
I have an Ultra 10 SPARC system running the 32-bit kernel and Solaris
7 (sunOS 5.7) .
I have successfully installed freeglut, the  current development
version of plib , current development version of OpenAL.
I am trying to build SimGear now, and I have made very minor changes
to configure.ac regarding Solaris and plib.
The next thing would be to build OpenSceneGraph and its dependents.
And finally FlightGear.

i shall keep you posted on all changes I might have had to make
regarding building on Solaris.

Is anyone else building the current CVS development version on Solaris ?

Regards,
Vikas

-- 
http://www.vikaskumar.org/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] cvs update error

2006-12-02 Thread Vikas N Kumar
I also have been getting it since yesterday. Here is an example.

amd64x2:~/EXTRA/FLIGHTGEAR/source$ cvs update -d -P
cannot create_adm_p /tmp/cvs-serv22322/src/Airports
No space left on device

On 12/2/06, Lou Sanchez/Viviana Bellifemine [EMAIL PROTECTED] wrote:
 Hi,
 I get no space left on device for /tmp when I try a cvs update. I
 have plenty here so I think it's a server side issue. Thanks.

 Cheers

 Lou


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel



-- 
http://www.vikaskumar.org/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Linux - Solaris AMD64-SPARC64 interfacing

2006-12-11 Thread Vikas N Kumar
Hi Martin
Have you been able to compile the simgear/props directory with the Sun
Studio 11 compilers ?
I am getting the static class member initialized twice error in
props.cxx SGRawValue::DefaultValue is initialized twice for all
the types explicitly defined.

Do you know the fix for this or is this a bug with the Sun compilers
and will I have to locate a patch ?  Apparently in some really old SUn
compilers this was a bug.

Also have you tried compiling Simgear with -xO4 option ? lots of
linking errors occur. Right now running configure has set the compile
options by default to -g which is debug mode. I have not tried
explicitly using -xO2, but i will try that when i can get simgear to
build with -g first.

Regards,
Vikas

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Simgear : Patch for Sun Solaris 10 + Sun Studio 11 compiilers

2006-12-15 Thread Vikas N Kumar
Hi
Below is the patch to allow Sun Studio 11 compilers to compile SimGear
on Solaris 10 for SPARC cleanly.
I shall explain what I needed to do. I made changes to 3 files:
a) props.cxx : The declaration of  template class' static data members
was not being accepted. Based on information from
http://docs.sun.com/source/819-3690/Creating_Templates.html#pgfId-342
I made some adjustments specifically for the SUN Studio 11 compilers
for it to compile.
b) compiler.h : some required constants were not defined
c) configure.ac: -z muldefs is required to be added to the LDFLAGS
variable to allow for multiple definitions of symbols at link time.
This error was being caused again in the simgear/props directory
because of some SGPropertyChangeListener and SGPropertyNode symbols
being defined in props.o and in props_test.o. So to allow for multiple
definitions this needs to be added.
 With these changes SimGear compiles correctly and all the test apps run fine.

Regards,
Vikas


Index: configure.ac
===
RCS file: /var/cvs/SimGear-0.3/source/configure.ac,v
retrieving revision 1.101
diff -r1.101 configure.ac
78a79,90
 dnl Specifically for the Sun Solaris 10 Platform
 dnl and the Sun Studio 11 compilers
 case ${host} in
 *-sun-solaris*)
 if test $GCC != yes ; then
   LDFLAGS=$LDFLAGS -z muldefs
 fi
 ;;
 *)
 ;;
 esac

Index: simgear/compiler.h
===
RCS file: /var/cvs/SimGear-0.3/source/simgear/compiler.h,v
retrieving revision 1.25
diff -r1.25 compiler.h
338a339,356
 #  define SG_EXPLICIT_FUNCTION_TMPL_ARGS
 #  define SG_NEED_AUTO_PTR
 #  define SG_MEMBER_TEMPLATES
 #  define SG_NAMESPACES
 #  define SG_HAVE_STD
 #  define SG_HAVE_STREAMBUF
 #  define SG_CLASS_PARTIAL_SPECIALIZATION
 #  define SG_HAVE_STD_INCLUDES
 #  define SG_STATIC_DATA_MEMBERS_TEMPLATE
 #  define STL_ALGORITHM  algorithm
 #  define STL_FUNCTIONAL functional
 #  define STL_IOMANIPiomanip
 #  define STL_IOSTREAM   iostream
 #  define STL_ITERATOR   iterator
 #  define STL_FSTREAMfstream
 #  define STL_STDEXCEPT  stdexcept
 #  define STL_STRING string
 #  define STL_STRSTREAM  strstream
Index: simgear/props/props.cxx
===
RCS file: /var/cvs/SimGear-0.3/source/simgear/props/props.cxx,v
retrieving revision 1.26
diff -r1.26 props.cxx
77,79c77,94
 template const bool SGRawValuebool::DefaultValue = false;
 template const int SGRawValueint::DefaultValue = 0;
 template const long SGRawValuelong::DefaultValue = 0L;
---
 #ifdef SG_STATIC_DATA_MEMBERS_TEMPLATE
 /* Specifically for the Sun Studio compilers */
 template const bool SGRawValuebool::DefaultValue;
 template const int  SGRawValueint::DefaultValue;
 template const long SGRawValuelong::DefaultValue;
 template const float SGRawValuefloat::DefaultValue;
 template const double SGRawValuedouble::DefaultValue;
 template const char * const SGRawValueconst char *::DefaultValue;
 const bool SGRawValuebool::DefaultValue = false;
 const int SGRawValueint::DefaultValue = 0;
 const long SGRawValuelong::DefaultValue = 0L;
 const float SGRawValuefloat::DefaultValue = 0.0;
 const double SGRawValuedouble::DefaultValue = 0.0L;
 const char * const SGRawValueconst char *::DefaultValue = ;
 #else
 templatebool const bool SGRawValuebool::DefaultValue = false;
 templateint const int SGRawValueint::DefaultValue = 0;
 templatelong const long SGRawValuelong::DefaultValue = 0L;
83c98

---
 #endif //SG_STATIC_DATA_MEMBERS_TEMPLATE

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] OSG error?

2006-12-22 Thread Vikas N Kumar
Fine. Run with

make CFLAGS=-DAPIENTRY CPPFLAGS=-DAPIENTRY and that should solve the problem


Vikas
On 12/22/06, Aleksey Y. Ulasevich (STAKANOV) [EMAIL PROTECTED] wrote:
 Martin Spott ?:
  Search for 'glut' and 'windows.h' in the mailing list archive and
  you'll likely find the proposed workaround,
 
 

 I read it
 (http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg06790.html),
 but and have not understood as to solve a problem. :-( And don't have
 #undef APIENTRY in my glut.h

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel



-- 
http://www.vikaskumar.org/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] OSG error?

2006-12-22 Thread Vikas N Kumar
Sorry i meant comment out the #undef APIENTRY in glut.h

On 12/22/06, Vikas N Kumar [EMAIL PROTECTED] wrote:
 Just undefine APIENTRY in your glut.h and you should be good to go.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] OSG error?

2006-12-22 Thread Vikas N Kumar
Just undefine APIENTRY in your glut.h and you should be good to go.

On 12/22/06, Aleksey Y. Ulasevich (STAKANOV) [EMAIL PROTECTED] wrote:
 OS: Slackware 11.0

 I install OSG from
 ftp://ftp.uni-duisburg.de/FlightGear/Misc_maf/OpenSceneGraph-20061114/OSG_OP_OT-1.2-Flightgear.tar.gz

 I get SimGear and FlightGear from CVS with -rHEAD.
 I build SimGear withour errors, but when try to compile FlightGear I see:
 ...
 if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src
 -I/usr/X11R6/include -I/usr/local/include  -g -O2 -D_REENTRANT -MT
 atis.o -MD -MP -MF .deps/atis.Tpo -c -o atis.o atis.cxx; \
 then mv -f .deps/atis.Tpo .deps/atis.Po; else rm -f
 .deps/atis.Tpo; exit 1; fi
 In file included from /usr/local/include/osg/Image:17,
  from /usr/local/include/osg/Texture:18,
  from /usr/local/include/osg/Texture2D:17,
  from /usr/local/include/simgear/scene/model/model.hxx:22,
  from AIPlane.hxx:25,
  from tower.hxx:37,
  from ATCmgr.hxx:34,
  from atis.cxx:50:
 /usr/local/include/osg/BufferObject:173: error: expected `)' before '*'
 token
 /usr/local/include/osg/BufferObject:174: error: expected `)' before '*'
 token
 /usr/local/include/osg/BufferObject:175: error: expected `)' before '*'
 token
 /usr/local/include/osg/BufferObject:176: error: expected `)' before '*'
 token
 /usr/local/include/osg/BufferObject:177: error: expected `)' before '*'
 token

 ...
 How to correct it?

 Thank you.

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel



-- 
http://www.vikaskumar.org/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] OSG error?

2006-12-22 Thread Vikas N Kumar
You are getting errors when you build FlightGear right, so do it when
you build FlightGear

On 12/22/06, Aleksey Y. Ulasevich (STAKANOV) [EMAIL PROTECTED] wrote:
 Vikas N Kumar ?:
  Fine. Run with
 
  make CFLAGS=-DAPIENTRY CPPFLAGS=-DAPIENTRY and that should solve the 
  problem
 
 
 
 Must I do it when I build OSG or FlightGear?

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel



-- 
http://www.vikaskumar.org/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] using FG with multiple GPUs on one machine

2006-12-23 Thread Vikas N Kumar
Hi All
I have a question regarding the working of FG with multiple GPUs on one machine.
Today I have a graphics card that has one output port for the monitor,
so I can connect only one monitor to it.
Now I want to add one more graphics card to it, with one output port
for another monitor.
How does FlightGear react to such a setup ? Will it work ? If it does,
can I add 2 more graphics cards and 2 more monitors and have something
similar to the Wideview enhancement for MS FlightSimulator ? (Note: I
have never used Wideview, only read about it a little on the net)
If FlightGear does not work with such a setup, what will need to be
done to make the software be able to use multiple GPU cards as opposed
to using multiple machines. GPU cards are cheaper and more efficient
(in floating pt calculations)  than regular CPUs and hence it seems
like a good idea to me.

I am curious.

Thanks
Vikas

-- 
http://www.vikaskumar.org/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Multiple graphics card and displays on one machine

2008-03-13 Thread Vikas N Kumar
Hi

I am sure this question has come up many times on this and the users mailing
lists.

I now have setup a machine with an AMD Athlon X2 4200+ dual core CPU, 2GB
RAM, Slamd64 Linux and 2 NVIDIA Graphics cards (FX5200 PCI based Dual head
and FX 8600 GTS PCI-E based dual head) and have current attached 3 monitors
to these.

I do not run Xinerama since with NVIDIA's latest drivers, Xinerama does not
work with 3D graphics. So I have 3 displays that I can access however
instead of just 1 single large display.

I want to run Flightgear on this setup and make use of the 3 screens for
views, either the standard view split up or 3 different views on each
screen.

I searched on the net, and every manual/mail suggested that 2 or more fgfs
applications needed to be run as master-slave to get that effect.

John Wojnarowski however said that he was able to get it up and running with
3 graphics cards on one P4 machine in Jan 2007.

Here is the link to his statement :
http://www.lugod.org/mailinglists/archives/vox-tech/2007-01/msg00112.html

I have contacted him by email as well, but was hoping someone could respond
to me faster here too.

Is there any such possibility ?

Any info will be appreciated.

Thanks and Regards
Vikas Kumar

-- 
http://www.vikaskumar.org/
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Multiple graphics card and displays on one machine

2008-03-14 Thread Vikas N Kumar
John Wojnaroski wrote:


 First, you will require the CVS version of Flightgear with OSG support.
 Sounds like you have the xorg.conf file wiorking to handle your graphics
 boards, so all you will then need is the proper setup in the
 preferences.xml file.  Note, this will NOT work with FG-1.0 or any
 version that is using the plib graphics,  that still requires one FG app
 per machine.


I reinstalled FlightGear, SimGear, OpenSceneGraph from their respective
CVS/SVN repositories and rebuilt everything successfully.

However, SimGear required plib so I had to install plib as well and
FlightGear uses SimGear which needed plib.

I used plib-1.8.5 which is the latest release.

I still have the same problem, even though based on the sample
preferences.xml file I have added the camera/camera  settings from that
file for my setup.

I am not able to get Flightgear to display 2 screens even.

I might be doing something wrong. Any advice ?

To the default preferences.xml that in the CVS repository I added the
following in the rendering section:

[EMAIL PROTECTED]:/mnt/extra/FLIGHTGEAR/FlightGear/data$ cvs diff 
preferences.xml
Index: preferences.xml
===
RCS file: /var/cvs/FlightGear-0.9/data/preferences.xml,v
retrieving revision 1.266
diff -r1.266 preferences.xml
113a114,133
   camera
host-name type=string/host-name
display0/display
screen1/screen
shear-x-2/shear-x
shear-y0/shear-y
width800/width
height600/height
fullscreen type=booltrue/fullscreen
   /camera
   camera
host-name type=string/host-name
display0/display
screen2/screen
shear-x0/shear-x
shear-y0/shear-y
width800/width
height600/height
fullscreen type=booltrue/fullscreen
   /camera


Thanks and Regards
Vikas
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Multiple graphics card and displays on one machine

2008-03-14 Thread Vikas N Kumar
On Fri, Mar 14, 2008 at 7:47 PM, Vikas N Kumar 
[EMAIL PROTECTED] wrote:


 I reinstalled FlightGear, SimGear, OpenSceneGraph from their respective
 CVS/SVN repositories and rebuilt everything successfully.

 However, SimGear required plib so I had to install plib as well and
 FlightGear uses SimGear which needed plib.

 I used plib-1.8.5 which is the latest release.

 I still have the same problem, even though based on the sample
 preferences.xml file I have added the camera/camera  settings from
 that file for my setup.

 I am not able to get Flightgear to display 2 screens even.


I also use X11-6.9.0 if that matters at all. I do not think so however.

--Vikas
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Multiple graphics card and displays on one machine

2008-03-14 Thread Vikas N Kumar
John Wojnaroski wrote:
 Did you remember to build with ./configure --enable-osgviewer  ?

Yes, I looked at an older post by you in the mailing list and rebuilt
fgfs with osgviewer.

I was able to get the 3 screen thing working but the performance was
quite bad. The load scenery objects took more than 2-3 minutes to
load
and after that the application was not working smoothly as it does
when I run with 1 screen. There is some delay which is clearly
visible.

My graphics cards are capable since I can run fgfs in single screen
mode on each screen and it works fine. But when I run with 3 screens,
it seems slow.

I also see this warning when I run fgfs with 3 screens.

Warning: detected OpenGL error 'invalid value' after RenderBin::draw(,)
RenderStage::drawInner(,) FBO status= 0x8cd5

thanks.
--Vikas
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Multiple graphics card and displays on one machine

2008-03-15 Thread Vikas N Kumar
On Sat, Mar 15, 2008 at 12:55 AM, Vikas N Kumar 
[EMAIL PROTECTED] wrote:

 My graphics cards are capable since I can run fgfs in single screen mode on 
 each screen and it works fine. But when I run with 3 screens,

 it seems slow.

 I also see this warning when I run fgfs with 3 screens.

 Warning: detected OpenGL error 'invalid value' after RenderBin::draw(,)
 RenderStage::drawInner(,) FBO status= 0x8cd5

 Ok, so since I have 2 dual head cards and 3 monitors, I moved one of the
monitors to the powerful card instead of the less powerful card and the
rendering speed became alright. So that problem is solved.

The RenderBin warning for FBO 0x8cd5  which seems to be from OSG remains.
Now instead of 1 I get two warnings.

Also the application on clicking Exit does not exit but hangs.




-- 
http://www.vikaskumar.org/
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] comprehensive preferences.xml manual

2008-03-17 Thread Vikas N Kumar
Hi

It seems that after spending time searching a lot on the wiki, mailing
lists, source code docs and the web, I have not found a detailed or
comprehensive account of the preferences.xml file, all at one place.

I understand that it takes time to write one. All I can find are very small
bits and pieces of how to edit the file for very specific requests.

Is there any documentation in the works for this ?

Regards
Vikas Kumar
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel