Re: [Flightgear-devel] ..simgear(?) link error, undefined references to SGPagedLOD

2011-04-10 Thread Geoff McLane
On Sun, 2011-04-10 at 12:24 +0200, Arnt Karlsen wrote:
 [snip]
 error: undefined reference to
 'osg::PagedLOD::removeExpiredChildren(double, int,
 [snip]

Hi Arnt,

From your compile log, note the entry -
*..we use system's OSG-2.9.11-1. ;o) ***
and from your 'dpkg' display that is what you are trying
to use...

As far as I am aware we can _NOT_ presently use
later that OSG-2.9.9 ;=(( So let the script use 2.8.3
or 2.9.9, as coded...

On a general note, I would ask are there any thoughts to
modify simgear to use later, or even the trunk versions 
of OSG?

Regards,
Geoff.



--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] ..simgear(?) link error, undefined references to SGPagedLOD

2011-04-10 Thread Csaba Halász
On Sun, Apr 10, 2011 at 12:24 PM, Arnt Karlsen a...@c2i.net wrote:
 Hi,

 ..simgear(?) link error output, compile log link below:
 in function vtable for
 simgear::SGPagedLOD:SGPagedLOD.cxx(.rodata._ZTVN7simgear10SGPagedLODE+0x110):
 error: undefined reference to
 'osg::PagedLOD::removeExpiredChildren(double, int,
 std::vectorosg::ref_ptrosg::Node,
 std::allocatorosg::ref_ptrosg::Node  )'

This usually happens if you have multiple versions of OSG installed
and the build process happens to find headers for one version, while
using the libraries of another version for linking. The general advice
is, don't ever have two versions of OSG installed at the same time, no
matter what prefix.

-- 
Csaba/Jester

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] ..simgear(?) link error, undefined references to SGPagedLOD

2011-04-10 Thread ThorstenB
On 10.04.2011 13:29, Geoff McLane wrote:

 As far as I am aware we can _NOT_ presently use
 later that OSG-2.9.9 ;=((
Yes, we can. But 2.8.3 + 2.9.9 are used by the automatic download  
compile script, since these versions are known to work fine. And as we 
noticed, we have a lot of people running the FG git version right now, 
not all of them are actually FG developers or even familiar with 
building their own binaries (which is why the build script is there in 
the first place). So, it's good to have something that's stable and 
known to work for them.

 On a general note, I would ask are there any thoughts to
 modify simgear to use later, or even the trunk versions
 of OSG?
It always takes some days to adapt sg/fg to OSG changes, but right now, 
it compiles just fine, as the Hudson builds show: 
http://flightgear.simpits.org:8080/job/Simgear-with-OSG-svn/

I wouldn't recommend using OSG trunk to any normally advanced 
flightgear git user. Those who need it know what to do - and won't be 
using the convenience downloadcompile script anyway.

cheers,
Thorsten

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] ..simgear(?) link error, undefined references to SGPagedLOD

2011-04-10 Thread Geoff McLane
On Sun, 2011-04-10 at 14:34 +0200, ThorstenB wrote:
  As far as I am aware we can _NOT_ presently use
  later that OSG-2.9.9 ;=((
 Yes, we can.

Huh? Then WHY does Arnt have a LINK problem with OSG-2.9.11?

 It always takes some days to adapt sg/fg to OSG changes, but right
 now, 
 it compiles just fine, as the Hudson builds show: 
 http://flightgear.simpits.org:8080/job/Simgear-with-OSG-svn/

Yes, I know it can take 'some days', and no criticism
is intended, but 2.9.10, the first after 2.9.9 was released
3rd December, 2010, and others 2.9.11, etc later... maybe you
meant 'some MONTHS' ;=))

Both Brisa's and my script use 2.8.3 or 2.9.9, but have
a switch for 'trunk', and would code for later if workable...

When you suggest Hudson is using OSG-svn - If _NOT_ trunk
then exactly which version of OSG-svn is used by Hudson?

A little confused by your reply...

Regards,
Geoff.



--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] ..simgear(?) link error, undefined references to SGPagedLOD

2011-04-10 Thread ThorstenB
On 10.04.2011 15:02, Geoff McLane wrote:
 On Sun, 2011-04-10 at 14:34 +0200, ThorstenB wrote:
 As far as I am aware we can _NOT_ presently use
 later that OSG-2.9.9 ;=((
 Yes, we can.
 Huh? Then WHY does Arnt have a LINK problem with OSG-2.9.11?
I don't know. The error Arndt is seeing is a _linker_ error - not a 
compile error. Csaba has already given the reason in his earlier email: 
mismatching OSG header and library files (messed up local installation). 
Another possibility is an incomplete build after changing the OSG 
version (run make clean in sg/fg).
In any case, that's not our fault. If sg/fg wasn't adapted to the OSG 
version, you would get a _compile_ error - not a linker one.

 Yes, I know it can take 'some days', and no criticism
 is intended, but 2.9.10, the first after 2.9.9 was released
 3rd December, 2010, and others 2.9.11, etc later... maybe you
 meant 'some MONTHS' ;=))
No.

 Both Brisa's and my script use 2.8.3 or 2.9.9, but have
 a switch for 'trunk', and would code for later if workable...
No. After getting lots of reports and complaints due to OSG-trunk 
issues, we changed the Brisa's script to stop using OSG trunk:
http://www.gitorious.org/fg/fgmeta/blobs/master/download_and_compile.sh

 When you suggest Hudson is using OSG-svn - If _NOT_ trunk
 then exactly which version of OSG-svn is used by Hudson?
OSG trunk = OSG svn. It's compiling (and linking) fine.

cheers,
Thorsten

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] ..simgear(?) link error, undefined references to SGPagedLOD

2011-04-10 Thread Arnt Karlsen
On Sun, 10 Apr 2011 14:34:35 +0200, ThorstenB wrote in message 
4da1a3db.8000...@gmail.com:

 On 10.04.2011 13:29, Geoff McLane wrote:
 
  As far as I am aware we can _NOT_ presently use
  later that OSG-2.9.9 ;=((
 Yes, we can. But 2.8.3 + 2.9.9 are used by the automatic download  
 compile script, since these versions are known to work fine. And as
 we noticed, we have a lot of people running the FG git version right
 now, not all of them are actually FG developers or even familiar with 
 building their own binaries (which is why the build script is there
 in the first place). So, it's good to have something that's stable
 and known to work for them.
 
  On a general note, I would ask are there any thoughts to
  modify simgear to use later, or even the trunk versions
  of OSG?
 It always takes some days to adapt sg/fg to OSG changes, but right
 now, it compiles just fine, as the Hudson builds show: 
 http://flightgear.simpits.org:8080/job/Simgear-with-OSG-svn/
 
 I wouldn't recommend using OSG trunk to any normally advanced 
 flightgear git user. Those who need it know what to do - and won't be 
 using the convenience downloadcompile script anyway.

..ok, my idea was try build FlightGear-with-Debian-Sid-OSG to see what
that does with the funny ATI artifacts, right now FG does not support
ATI cards, and OSG-svn does not build on neither g++-4.6 nor g++-4.5,
which compiler version is used on the Hudson server?

-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] ..simgear(?) link error, undefined references to SGPagedLOD

2011-04-10 Thread Geoff McLane
On Sun, 2011-04-10 at 19:24 +0200, Arnt Karlsen wrote:
 ... OSG-svn does not build on neither g++-4.6 nor g++-4.5,
 which compiler version is used on the Hudson server?

Nor with my OLD g++ (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu4) ;=))

Geoff.





--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] ..simgear(?) link error, undefined references to SGPagedLOD

2011-04-10 Thread Arnt Karlsen
On Sun, 10 Apr 2011 13:30:57 +0200, Csaba wrote in message 
banlktiko296tb3aq3-dd1c_h9obzqwc...@mail.gmail.com:

 On Sun, Apr 10, 2011 at 12:24 PM, Arnt Karlsen a...@c2i.net wrote:
  Hi,
 
  ..simgear(?) link error output, compile log link below:
  in function vtable for
  simgear::SGPagedLOD:SGPagedLOD.cxx(.rodata._ZTVN7simgear10SGPagedLODE+0x110):
  error: undefined reference to
  'osg::PagedLOD::removeExpiredChildren(double, int,
  std::vectorosg::ref_ptrosg::Node,
  std::allocatorosg::ref_ptrosg::Node  )'
 
 This usually happens if you have multiple versions of OSG installed
 and the build process happens to find headers for one version, while
 using the libraries of another version for linking. The general advice
 is, don't ever have two versions of OSG installed at the same time, no
 matter what prefix.

..yup, dpkg --force-all -P libopenscenegraph65 and a wee 
rm -Rf Op* ins*/Op* in my git tree took care of that ;o),
my FG build now succeeds.

-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] ..simgear(?) link error, undefined references to SGPagedLOD

2011-04-10 Thread Alex Romosan
Arnt Karlsen a...@c2i.net writes:

  and OSG-svn does not build on neither g++-4.6 nor g++-4.5, which
 compiler version is used on the Hudson server?

what are you talking about? osg svn head builds just fine for me on
debian unstable with g++ 4.5.2 and everything just works.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] ..simgear(?) link error, undefined references to SGPagedLOD

2011-04-10 Thread Arnt Karlsen
On Sun, 10 Apr 2011 13:40:47 -0700, Alex wrote in message 
87pqotq1ps@sycorax.lbl.gov:

 Arnt Karlsen a...@c2i.net writes:
 
   and OSG-svn does not build on neither g++-4.6 nor g++-4.5, which
  compiler version is used on the Hudson server?
 
 what are you talking about? osg svn head builds just fine for me on
 debian unstable with g++ 4.5.2 and everything just works.

..you are running the Hudson build server?  

..I _believe_ I can build simgear ok(?) with system OSG: 
arnt@celsius:~/FG-git$ dpkg -l |grep openscenegraph |fmt -tu
ii libopenscenegraph-dev 2.9.11-1 3D scene graph, development files
ii libopenscenegraph71 2.9.11-1 3D scene graph, shared libs
ii openscenegraph 2.9.11-1 3D scene graph, utilities and examples
   (binaries)
ii openscenegraph-doc 2.9.11-1 3D scene graph, documentation
ii openscenegraph-examples 2.9.11-1 3D scene graph, examples (sources)
arnt@celsius:~/FG-git$ 

..fgfs builds but dies, relevant build logs committed here:
https://github.com/gasguru/flightgearthings/commit/f52bbe594b299fbf3b1deec755735acb46c9d530

..osg-svn built ok here too, until April 7'th when I got gcc-4.6 
as default gcc, I'm on Debian Sid+Experimental and have these:
arnt@celsius:~/FG-git$ dpkg -l |grep g++ |fmt -tu
ii g++ 4:4.6.0-3exp1 The GNU C++ compiler
ii g++-4.3 4.3.5-5 The GNU C++ compiler
ii g++-4.4 4.4.5-15 The GNU C++ compiler
ii g++-4.5 4.5.2-8 The GNU C++ compiler
ii g++-4.6 4.6.0-2 The GNU C++ compiler
ii g++-4.6-multilib 4.6.0-2 The GNU C++ compiler (multilib files)
ii gcc-4.6-doc 4.6-20110227-1 Documentation for the GNU compilers (gcc,
   gobjc, g++)
ii libconfig++8 1.3.2-2 parsing and manipulation of structured
   configuration files(C++ binding)
arnt@celsius:~/FG-git$ dpkg -l |grep gcc |fmt -tu
ii gcc 4:4.6.0-3exp1 The GNU C compiler
ii gcc-4.3 4.3.5-5 The GNU C compiler
ii gcc-4.3-base 4.3.5-5 The GNU Compiler Collection (base package)
ii gcc-4.4 4.4.5-15 The GNU C compiler
ii gcc-4.4-base 4.4.5-15 The GNU Compiler Collection (base package)
ii gcc-4.5 4.5.2-8 The GNU C compiler
ii gcc-4.5-base 4.5.2-8 The GNU Compiler Collection (base package)
ii gcc-4.6 4.6.0-2 The GNU C compiler
ii gcc-4.6-base 4.6.0-2 The GNU Compiler Collection (base package)
ii gcc-4.6-doc 4.6-20110227-1 Documentation for the GNU compilers (gcc,
   gobjc, g++)
ii gcc-4.6-locales 4.6.0-2 The GNU C compiler (native language support
   files)
ii gcc-4.6-multilib 4.6.0-2 The GNU C compiler (multilib files)
ii gcc-4.6-source 4.6.0-2 Source of the GNU Compiler Collection
ii gcc-avr 1:4.3.5-1+b2 The GNU C compiler (cross compiler for avr)
ii gcc-multilib 4:4.6.0-3exp1 The GNU C compiler (multilib files)
ii gccgo-4.6 4.6.0-2 The GNU Go compiler
ii gccgo-4.6-multilib 4.6.0-2 The GNU Go compiler (multilib files)
ii gccxml 0.9.0+cvs20110222-1 XML output extension to GCC
ii lib32gcc1 1:4.6.0-2 GCC support library (32 bit Version)
ii libgcc1 1:4.6.0-2 GCC support library
arnt@celsius:~/FG-git$


-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel