Re: [Flightgear-devel] FGrun compile problem against v.2.2 git

2011-02-20 Thread Harry Campigli
Fred,

Ok I  cant figure it, I had quite a few goes at compiling it yesterday and
deleted them all as I went. but the one in question most likely was an old
version. Somethings got mixed up along the way.


So totally disregarding yesterday, today starting fresh I have tried 2 wiki
download links for fgrun, and the Brisca script, all return with svn 621
which seems to be 1.5.2.

On a machine with just the minimal Xorg and files to build SG/FG with
libfltk1.1 libfltk1.1-dev added for fgrun, 621 has a different compile error
which I also saw yesterday amongst the numerous attempts to compile it,

./autogen.sh
./configure --prefix=$prefix CPPFLAGS=-I$prefix/include/
LDFLAGS=-L$prefix/lib -L$prefix/lib64
make


Making all in src
make[1]: Entering directory `/usr/local/src/fgrun/fgrun/src'
fluid -c ./wizard.fl
/bin/bash: fluid: command not found
make[1]: *** [wizard.h] Error 127
make[1]: Leaving directory `/usr/local/src/fgrun/fgrun/src'
make: *** [all-recursive] Error 1

So I installed fluid with :apt-get install fluid But now it stops with:


mv -f .deps/fgrun_pty.Tpo .deps/fgrun_pty.Po
g++ -DLOCALEDIR=\/share/locale\ -g -O2  -L/lib -L/lib64  -o fgrun wizard.o
wizard_funcs.o advanced.o advanced_funcs.o AirportBrowser.o AirportTable.o
Fl_Table.o Fl_Table_Row.o Fl_OSG.o Fl_Heading_Dial.o main.o io.o fgfsrc.o
logwin.o parkingloader.o settings.o util.o run_posix.o fgrun_pty.o -lsgmodel
-lsgscreen -lsgprops -lsgxml -lsgdebug -lsgbvh -lsgmaterial -lsgmodel
-lsgutil -lsgstructure -lsgprops -lsgtgdb -lsgmath -lsgmisc -lsgbvh -lsgio
-lsgbucket -lsgmodel -lsgutil -losgParticle -losgSim -losgViewer -losgGA
-losgText -losgDB -losgUtil -losg -lOpenThreads -lfltk_gl -lfltk -lpthread
-lGL -lXmu -lXt -lSM -lICE -lXi -lXext -lX11  -lm -lz -lutil -losgFX
make[2]: Leaving directory `/usr/local/src/fgrun/fgrun/src'
make[1]: Leaving directory `/usr/local/src/fgrun/fgrun/src'
Making all in po
make[1]: Entering directory `/usr/local/src/fgrun/fgrun/po'
test ! -f ./fgrun.pot || \
  test -z fr.gmo nl.gmo pt.gmo de.gmo it.gmo pl.gmo es.gmo || make
fr.gmo nl.gmo pt.gmo de.gmo it.gmo pl.gmo es.gmo
make[2]: Entering directory `/usr/local/src/fgrun/fgrun/po'
rm -f fr.gmo  : -c --statistics -o fr.gmo fr.po
mv: cannot stat `t-fr.gmo': No such file or directory
make[2]: *** [fr.gmo] Error 1
make[2]: Leaving directory `/usr/local/src/fgrun/fgrun/po'
make[1]: *** [stamp-po] Error 2
make[1]: Leaving directory `/usr/local/src/fgrun/fgrun/po'
make: *** [all-recursive] Error 1


Do I need to install more than just fluid ?

Harry




















On Sun, Feb 20, 2011 at 4:44 AM, Frederic Bouvier fredfgf...@free.frwrote:

 It doesn't make sense to me because neither line 331, nor the line you
 cited has string in them.
 Moreover, line 13 of wizard.h reads using std::string;

 Are you sure your sources of fgrun are current and you don't have an old
 wizard.h elsewhere ?

 Regards,
 -Fred

 - Harry Campigli a écrit :
  Thanks Csaba
 
  Sorry I must have been in error copying line 331 to the post incorrectly.
 
  Any how : Puttting adding  namespace std; in the wizard.h file as I saw
 someone suggest for fgrun elsewhere works around the problem.
 
  On Sat, Feb 19, 2011 at 10:49 PM, Csaba Halász 
  csaba.hal...@gmail.comwrote:
 

  On Sat, Feb 19, 2011 at 2:28 PM, Harry Campigli harryc...@gmail.com
 wrote:
  
   I find issues with building FGrun on Ubuntu 10:10  FG and SG are both
   current from the git repostories  FG run is v1.5.2
  
   Make stops with:
   In file included from wizard.cxx:7:
   wizard.h:331: error: ‘string’ does not name a type
   make[2]: *** [wizard.o] Error 1
  
   wizard.h line 331 is :
  
 FlightGearThread *fgThread;
 
 
 Sounds like you are looking at the wrong file/line, since that line
  doesn't have string on it.
 
 
   Is this an issue from compiling fgrun to the git version of FG?
 
 
 This is a problem in fgrun, it is missing #include string and/or it
  has problem with properly referencing the namespace.
 


 --
 Frédéric Bouvier
 http://www.youtube.com/user/fgfred64   Videos



 --
 The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
 Pinpoint memory and threading errors before they happen.
 Find and fix more than 250 security defects in the development cycle.
 Locate bottlenecks in serial and parallel code that limit performance.
 http://p.sf.net/sfu/intel-dev2devfeb
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel




-- 
Regards Harry

19b Jln Danau Poso
Sanur, Bali
80228

H +62 361 285629
M +62 812 7016328
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the 

Re: [Flightgear-devel] FGrun compile problem against v.2.2 git

2011-02-20 Thread Csaba Halász
On Sun, Feb 20, 2011 at 11:45 AM, Harry Campigli harryc...@gmail.com wrote:

 make[2]: Entering directory `/usr/local/src/fgrun/fgrun/po'
 rm -f fr.gmo  : -c --statistics -o fr.gmo fr.po

 Do I need to install more than just fluid ?

Try installing gettext package as well. The configure script seems to
be broken if it didn't report error about that.

-- 
Csaba/Jester

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGrun compile problem against v.2.2 git

2011-02-20 Thread Frederic Bouvier
Harry, 

- Harry Campigli a écrit : 
 So totally disregarding yesterday, today starting fresh I have tried 2 wiki 
 download links for fgrun, and the Brisca script, all return with svn 621 
 which seems to be 1.5.2. 

Could you tell me where did you found 1.5.2 ? configure.ac has 1.5.3 since 
11/13/2010 and rev 577. version also has 1.5.3 and fgrun.vcproj as well 

Regards, 
-Fred 

-- 
Frédéric Bouvier 
http://www.youtube.com/user/fgfred64 Videos 

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGrun compile problem against v.2.2 git

2011-02-20 Thread Harry Campigli
Fred, Csaba

Thank you both very much for the assitance.


First I installed gettext, it still failed to compile,

then I added --with-fltk=/usr/lib to my configure line and it built with
just one warning.

that being for info :

g++ -DHAVE_CONFIG_H -I.   -I/usr/lib/include -I/include/
-DLOCALEDIR=\/share/locale\ -g -O2 -MT wizard_funcs.o -MD -MP -MF
.deps/wizard_funcs.Tpo -c -o wizard_funcs.o wizard_funcs.cxx
wizard_funcs.cxx: In member function ‘void Wizard::preview_aircraft()’:



so I removed the gettext  made clean and tied again and all was still ok.

thus I have installed fluid (maybe already in most desktop installs)

./autogen.sh
./configure --prefix=$prefix CPPFLAGS=-I$prefix/include/
LDFLAGS=-L$prefix/lib -L$prefix/lib64 --with-fltk=/usr/lib
make

and it built ok. Again the same warning, but I assume its not serous?


Providing it proves to be repeatable I will be happy, but I am installing it
in a very minimalistic system running on  stick. Many folks using normal
desktop installs might not find the problems I do.



Fred based on your previous response to my question about grabbing the
output to FG, I have made a script to catch the output and filter it, then
fire it off to multiple machines. Ie a master machine and 2 running as
slaves for window views

I have put it up on a new page, actually complete new FG based sub-domain on
my site,  http://flightgear.bali-gold.com/
Here i am putting my notes for FG in hardware sim settups with multiple
machines, and bare bones hard-disk free installs. Not really of interest to
the average desktop user.

I have put the script with some notes at
http://flightgear.bali-gold.com/howto_fgrun_multi.html


Finally could I ask do you know where i can disable the call in FGrun to
open the monitor window or pipe it to a file?  In my particular config with
TWM the window is bit of a pest.


Regards and thanks for your help Harry


































On Sun, Feb 20, 2011 at 8:41 PM, Frederic Bouvier fredfgf...@free.frwrote:


  On Sun, Feb 20, 2011 at 11:45 AM, Harry Campigli
  wrote:
  
   make[2]: Entering directory `/usr/local/src/fgrun/fgrun/po'
   rm -f fr.gmo  : -c --statistics -o fr.gmo fr.po
  
   Do I need to install more than just fluid ?
 
  Try installing gettext package as well. The configure script seems to
  be broken if it didn't report error about that.

 Try cmake as it is truly multi platform

 Regards,
 -Fred


 --
 Frédéric Bouvier
 http://www.youtube.com/user/fgfred64   Videos



 --
 The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
 Pinpoint memory and threading errors before they happen.
 Find and fix more than 250 security defects in the development cycle.
 Locate bottlenecks in serial and parallel code that limit performance.
 http://p.sf.net/sfu/intel-dev2devfeb
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel




-- 
Regards Harry

19b Jln Danau Poso
Sanur, Bali
80228

H +62 361 285629
M +62 812 7016328
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGrun compile problem against v.2.2 git

2011-02-20 Thread Harry Campigli
Fred

In the first line of the NEWS file  from that I assume the version number as
I did not see it to refered to elsewhere.

Harry






On Sun, Feb 20, 2011 at 9:33 PM, Frederic Bouvier fredfgf...@free.frwrote:

 Harry,

 - Harry Campigli  a écrit :
  So totally disregarding yesterday, today starting fresh I have tried 2
 wiki download links for fgrun, and the Brisca script, all return with svn
 621 which seems to be 1.5.2.

 Could you tell me where did you found 1.5.2 ? configure.ac has 1.5.3 since
 11/13/2010 and rev 577. version also has 1.5.3 and fgrun.vcproj as well


 Regards,
 -Fred

 --
 Frédéric Bouvier
 http://www.youtube.com/user/fgfred64   Videos



 --
 The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
 Pinpoint memory and threading errors before they happen.
 Find and fix more than 250 security defects in the development cycle.
 Locate bottlenecks in serial and parallel code that limit performance.
 http://p.sf.net/sfu/intel-dev2devfeb
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel




-- 
Regards Harry

19b Jln Danau Poso
Sanur, Bali
80228

H +62 361 285629
M +62 812 7016328
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] FGrun compile problem against v.2.2 git

2011-02-19 Thread Harry Campigli
I find issues with building FGrun on Ubuntu 10:10  FG and SG are both
current from the git repostories  FG run is v1.5.2

Make stops with:
In file included from wizard.cxx:7:
wizard.h:331: error: ‘string’ does not name a type
make[2]: *** [wizard.o] Error 1

wizard.h line 331 is :

  FlightGearThread *fgThread;



I have done it on a minimal system only added libfltk1.1 libfltk1.1-dev to
the list I use for FG. I get the same result with the brisca script.


I did compile this version of fgrun against v2.0 ok before with the same
compiler and installs needed for FG.


This is the compile command, the fktk on the end makes no difference if its
thee or not.

 ./configure --prefix=$prefix CPPFLAGS=-I$prefix/include/
LDFLAGS=-L$prefix/lib -L$prefix/lib64 --with-fltk=/usr/local


Is this an issue from compiling fgrun to the git version of FG?





-- 
Regards Harry
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGrun compile problem against v.2.2 git

2011-02-19 Thread Csaba Halász
On Sat, Feb 19, 2011 at 2:28 PM, Harry Campigli harryc...@gmail.com wrote:

 I find issues with building FGrun on Ubuntu 10:10  FG and SG are both
 current from the git repostories  FG run is v1.5.2

 Make stops with:
 In file included from wizard.cxx:7:
 wizard.h:331: error: ‘string’ does not name a type
 make[2]: *** [wizard.o] Error 1

 wizard.h line 331 is :

   FlightGearThread *fgThread;

Sounds like you are looking at the wrong file/line, since that line
doesn't have string on it.

 Is this an issue from compiling fgrun to the git version of FG?

This is a problem in fgrun, it is missing #include string and/or it
has problem with properly referencing the namespace.

-- 
Csaba/Jester

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGrun compile problem against v.2.2 git

2011-02-19 Thread Harry Campigli
Thanks Csaba

Sorry I must have been in error copying line 331 to the post incorrectly.

Any how : Puttting adding  namespace std; in the wizard.h file as I saw
someone suggest for fgrun elsewhere works around the problem.


Harry











On Sat, Feb 19, 2011 at 10:49 PM, Csaba Halász csaba.hal...@gmail.comwrote:

 On Sat, Feb 19, 2011 at 2:28 PM, Harry Campigli harryc...@gmail.com
 wrote:
 
  I find issues with building FGrun on Ubuntu 10:10  FG and SG are both
  current from the git repostories  FG run is v1.5.2
 
  Make stops with:
  In file included from wizard.cxx:7:
  wizard.h:331: error: ‘string’ does not name a type
  make[2]: *** [wizard.o] Error 1
 
  wizard.h line 331 is :
 
FlightGearThread *fgThread;

 Sounds like you are looking at the wrong file/line, since that line
 doesn't have string on it.

  Is this an issue from compiling fgrun to the git version of FG?

 This is a problem in fgrun, it is missing #include string and/or it
 has problem with properly referencing the namespace.

 --
 Csaba/Jester


 --
 The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
 Pinpoint memory and threading errors before they happen.
 Find and fix more than 250 security defects in the development cycle.
 Locate bottlenecks in serial and parallel code that limit performance.
 http://p.sf.net/sfu/intel-dev2devfeb
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGrun compile problem against v.2.2 git

2011-02-19 Thread Frederic Bouvier
It doesn't make sense to me because neither line 331, nor the line you cited 
has string in them. 
Moreover, line 13 of wizard.h reads using std::string; 

Are you sure your sources of fgrun are current and you don't have an old 
wizard.h elsewhere ? 

Regards, 
-Fred 

- Harry Campigli a écrit : 
 Thanks Csaba 
 
 Sorry I must have been in error copying line 331 to the post incorrectly. 
 
 Any how : Puttting adding namespace std; in the wizard.h file as I saw 
 someone suggest for fgrun elsewhere works around the problem. 
 
 On Sat, Feb 19, 2011 at 10:49 PM, Csaba Halász  csaba.hal...@gmail.com  
 wrote: 
 


 On Sat, Feb 19, 2011 at 2:28 PM, Harry Campigli  harryc...@gmail.com  
 wrote: 
  
  I find issues with building FGrun on Ubuntu 10:10 FG and SG are both 
  current from the git repostories FG run is v1.5.2 
  
  Make stops with: 
  In file included from wizard.cxx:7: 
  wizard.h:331: error: ‘string’ does not name a type 
  make[2]: *** [wizard.o] Error 1 
  
  wizard.h line 331 is : 
  
  FlightGearThread *fgThread; 
 
 Sounds like you are looking at the wrong file/line, since that line 
 doesn't have string on it. 
 
 
  Is this an issue from compiling fgrun to the git version of FG? 
 
 This is a problem in fgrun, it is missing #include string and/or it 
 has problem with properly referencing the namespace. 
 

-- 
Frédéric Bouvier 
http://www.youtube.com/user/fgfred64 Videos 

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGrun compile problem against v.2.2 git

2011-02-19 Thread Csaba Halász
On Sat, Feb 19, 2011 at 10:44 PM, Frederic Bouvier fredfgf...@free.fr wrote:

 Moreover, line 13 of wizard.h reads using std::string;

Which, incidentally, is not something you like to see in header files.
But I guess we can live with that in FGRun.

-- 
Csaba/Jester

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel