Re: [Flightgear-devel] [Atlas-devel] problem linking SimGear-2.0.0 for Atlas build

2010-12-09 Thread stefan riemens
See also http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking

You might have luck using the fedora provided simgear libraries
(install the SimGear-devel package). I know there are a couple of
fedora patches applied to simgear, a.o. a patch for the linker.

Stefan

2010/12/9 Brian Schack bschack-flightg...@usa.net:
 Dave == dave perry  writes:

    Dave Hi, I just upgraded to fedora 14.  FlightGear builds OK from
    Dave yesterday's git with current svn osg and current simgear from
    Dave git.  Also fgrun builds OK.  But I have not been able to build
    Dave Atlas from yesterday's Atlas cvs.  I get the following link
    Dave error compiling SimGear-2.0.0 (from a tar) for use with Atlas
    Dave compile.

 [...]

 It seems that Fedora has made ld a lot pickier than other systems.  I
 don't have Fedora so I can't test it, but as a wild guess, try changing
 the Makefile.am in simgear/screen, adding '-ldl' to the libraries for
 TextRenderTexture:

 TestRenderTexture_LDADD = \
        libsgscreen.a \
        -ldl \
        $(top_builddir)/simgear/debug/libsgdebug.a \
        $(opengl_LIBS)

 No guarantees about whether it will work, or whether it constitutes a
 good solution to the problem.  It might be interested to see how SimGear
 GIT compares to SimGear 2.0.0.

 Brian

 --
 This SF Dev2Dev email is sponsored by:

 WikiLeaks The End of the Free Internet
 http://p.sf.net/sfu/therealnews-com
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel


--
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [Atlas-devel] problem linking SimGear-2.0.0 for Atlas build

2010-12-09 Thread dave perry
Thanks Brian and Stefan,

  Adding -ldl in screen Makefile.am did allow SimGear-2.0.0 to compile, 
but then Atlas compile failed.  I actually succeeded compiling Atlas 
using the current git simgear.

There is an issue with current Atlas.  If I close Atlas by clicking the 
X to close the window, it does not kill the Atlas process.  And if I 
relaunch Atlas, a new Atlas process is launched that will not function.  
It appears that the old process won't let go of the 5500 udp port 
although I have not confirmed that.  The new Atlas process lon. and lat. 
location is not updating.  If I kill both processes, and relaunch Atlas, 
Atlas again functions correctly.

Regards,
Dave P.

On 12/09/2010 03:51 AM, stefan riemens wrote:
 See also http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking

 You might have luck using the fedora provided simgear libraries
 (install the SimGear-devel package). I know there are a couple of
 fedora patches applied to simgear, a.o. a patch for the linker.

 Stefan

 2010/12/9 Brian Schackbschack-flightg...@usa.net:
 Dave == dave perry  writes:
 Dave  Hi, I just upgraded to fedora 14.  FlightGear builds OK from
 Dave  yesterday's git with current svn osg and current simgear from
 Dave  git.  Also fgrun builds OK.  But I have not been able to build
 Dave  Atlas from yesterday's Atlas cvs.  I get the following link
 Dave  error compiling SimGear-2.0.0 (from a tar) for use with Atlas
 Dave  compile.

 [...]

 It seems that Fedora has made ld a lot pickier than other systems.  I
 don't have Fedora so I can't test it, but as a wild guess, try changing
 the Makefile.am in simgear/screen, adding '-ldl' to the libraries for
 TextRenderTexture:

 TestRenderTexture_LDADD = \
 libsgscreen.a \
 -ldl \
 $(top_builddir)/simgear/debug/libsgdebug.a \
 $(opengl_LIBS)

 No guarantees about whether it will work, or whether it constitutes a
 good solution to the problem.  It might be interested to see how SimGear
 GIT compares to SimGear 2.0.0.

 Brian

 --
 This SF Dev2Dev email is sponsored by:

 WikiLeaks The End of the Free Internet
 http://p.sf.net/sfu/therealnews-com
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel

 --
 This SF Dev2Dev email is sponsored by:

 WikiLeaks The End of the Free Internet
 http://p.sf.net/sfu/therealnews-com
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel



--
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [Atlas-devel] problem linking SimGear-2.0.0 for Atlas build

2010-12-08 Thread Brian Schack
 Dave == dave perry  writes:

Dave Hi, I just upgraded to fedora 14.  FlightGear builds OK from
Dave yesterday's git with current svn osg and current simgear from
Dave git.  Also fgrun builds OK.  But I have not been able to build
Dave Atlas from yesterday's Atlas cvs.  I get the following link
Dave error compiling SimGear-2.0.0 (from a tar) for use with Atlas
Dave compile.

[...]

It seems that Fedora has made ld a lot pickier than other systems.  I
don't have Fedora so I can't test it, but as a wild guess, try changing
the Makefile.am in simgear/screen, adding '-ldl' to the libraries for
TextRenderTexture:

TestRenderTexture_LDADD = \
libsgscreen.a \
-ldl \
$(top_builddir)/simgear/debug/libsgdebug.a \
$(opengl_LIBS)

No guarantees about whether it will work, or whether it constitutes a
good solution to the problem.  It might be interested to see how SimGear
GIT compares to SimGear 2.0.0.

Brian

--
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel