[Flightgear-devel] Compiler error FlightGear 2.4 in VS2008

2011-11-04 Thread 金承德
Hi All,

 

I download the source code in official page, the tgz file but not from git,
I compiler the source code but some error in FligtGear project

 

Fatal error C1083: cannot open file “Include/no_version.h” : No such file
or directory

 

So, has anybody meet this problem before?

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Compiler error FlightGear 2.4 in VS2008

2011-11-04 Thread Frederic Bouvier
Hi,

please read the README.MSVC files in Docs-mini/

Regards,
-Fred

- Mail original -

 Hi All,

 I download the source code in official page, the tgz file but not
 from git, I compiler the source code but some error in FligtGear
 project

 Fatal error C1083: cannot open file “Include/no_version.h” : No such
 file or directory

 So, has anybody meet this problem before?
 --
 RSA(R) Conference 2012
 Save $700 by Nov 18
 Register now
 http://p.sf.net/sfu/rsa-sfdev2dev1
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel
--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Compiler Error with Special simgear folder in Linux

2011-04-06 Thread Jin.Chengde

On 04/05/2011 09:15 PM, Roland Häder wrote:

I use a prefix and out-of-source tree builds to install plib/osg/sg and
fgfs itself.

Here is plib configuration:

../../plib/configure --prefix=/opt


Here is how I configured sg:

../../simgear/configure --with-jpeg-factory --prefix=/opt
--with-osg=/opt


And finally fgfs:

../../fgfs-base/flightgear/configure --with-osg=/opt --with-eventinput \
   --with-logging --enable-osgviewer --enable-sp-fdms --prefix=/opt \
   --datarootdir=/opt/fgdata


This assumes that OSG is installed with same prefix /opt.

You should really do out-of-source tree builds to keep your working
copy (there where you checked out the code from repository) clean from
modifications done by configure.

This can be really easy archived by creating a separate build
directory which is outside of the source code tree.

Regards,
Roland

On Tue, 2011-04-05 at 21:58 +0800, Jin.Chengde wrote:

I put the simgear folder in the path of
/home/kent/FlightGear/simgear/include and make it
then configure the FlightGear source code
./configure --with-simgear=/home/kent/FlightGear/simgear
then make



--
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

Thanks, Roland Häder:
but you use

../../fgfs-base/flightgear/configure --with-osg=/opt --with-eventinput \
  --with-logging --enable-osgviewer --enable-sp-fdms --prefix=/opt \
  --datarootdir=/opt/fgdata

to configure your flightgear last, but where is your simgear? do you 
special your simgear folder or just make install it in default folder(/opt)?
--
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


[Flightgear-devel] Compiler Error with Special simgear folder in Linux

2011-04-05 Thread Jin.Chengde
I put the simgear folder in the path of 
/home/kent/FlightGear/simgear/include and make it
then configure the FlightGear source code
./configure --with-simgear=/home/kent/FlightGear/simgear
then make
the Error info :
libMain.a(renderer.o): In function `~FGRenderer':
/home/kent/FlightGear/FlightGear/src/Main/renderer.cxx:399: undefined 
reference to `jpgRenderFrame'
/home/kent/FlightGear/FlightGear/src/Main/renderer.cxx:399: undefined 
reference to `jpgRenderFrame'
libMain.a(renderer.o): In function `FGRenderer':
/home/kent/FlightGear/FlightGear/src/Main/renderer.cxx:391: undefined 
reference to `jpgRenderFrame'
/home/kent/FlightGear/FlightGear/src/Main/renderer.cxx:391: undefined 
reference to `jpgRenderFrame'
../../src/Network/libNetwork.a(jpg-httpd.o): In function 
`HttpdImageChannel::foundTerminator()':
/home/kent/FlightGear/FlightGear/src/Network/jpg-httpd.cxx:117: 
undefined reference to `trJpgFactory::render()'
/home/kent/FlightGear/FlightGear/src/Network/jpg-httpd.cxx:208: 
undefined reference to `trJpgFactory::destroy(int)'
../../src/Network/libNetwork.a(jpg-httpd.o): In function 
`HttpdImageChannel':
/home/kent/FlightGear/FlightGear/src/Network/jpg-httpd.hxx:74: undefined 
reference to `trJpgFactory::trJpgFactory()'
/home/kent/FlightGear/FlightGear/src/Network/jpg-httpd.hxx:75: undefined 
reference to `trJpgFactory::init(int, int)'
../../src/Network/libNetwork.a(jpg-httpd.o): In function 
`~HttpdImageChannel':
/home/kent/FlightGear/FlightGear/src/Network/jpg-httpd.hxx:79: undefined 
reference to `trJpgFactory::destroy(int)'
/home/kent/FlightGear/FlightGear/src/Network/jpg-httpd.hxx:80: undefined 
reference to `trJpgFactory::~trJpgFactory()'
/home/kent/FlightGear/FlightGear/src/Network/jpg-httpd.hxx:79: undefined 
reference to `trJpgFactory::destroy(int)'
/home/kent/FlightGear/FlightGear/src/Network/jpg-httpd.hxx:80: undefined 
reference to `trJpgFactory::~trJpgFactory()'
collect2: ld returned 1 exit status
make[2]: *** [fgfs] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

if i make and make install the simgear , then configure and make the 
flightgear's source code, no error happened, So any body have any idle? 
it looks like have some link error with plib's network?


--
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] Compiler Error with Special simgear folder in Linux

2011-04-05 Thread Roland Häder
I use a prefix and out-of-source tree builds to install plib/osg/sg and
fgfs itself.

Here is plib configuration:

../../plib/configure --prefix=/opt


Here is how I configured sg:

../../simgear/configure --with-jpeg-factory --prefix=/opt
--with-osg=/opt


And finally fgfs:

../../fgfs-base/flightgear/configure --with-osg=/opt --with-eventinput \
  --with-logging --enable-osgviewer --enable-sp-fdms --prefix=/opt \
  --datarootdir=/opt/fgdata


This assumes that OSG is installed with same prefix /opt.

You should really do out-of-source tree builds to keep your working
copy (there where you checked out the code from repository) clean from
modifications done by configure.

This can be really easy archived by creating a separate build
directory which is outside of the source code tree.

Regards,
Roland

On Tue, 2011-04-05 at 21:58 +0800, Jin.Chengde wrote:
 I put the simgear folder in the path of 
 /home/kent/FlightGear/simgear/include and make it
 then configure the FlightGear source code
 ./configure --with-simgear=/home/kent/FlightGear/simgear
 then make



signature.asc
Description: This is a digitally signed message part
--
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] Compiler Error with Special simgear folder in Linux

2011-04-05 Thread Csaba Halász
On Tue, Apr 5, 2011 at 3:58 PM, Jin.Chengde jinchen...@gmail.com wrote:

 ../../src/Network/libNetwork.a(jpg-httpd.o): In function
 `HttpdImageChannel::foundTerminator()':
 /home/kent/FlightGear/FlightGear/src/Network/jpg-httpd.cxx:117:
 undefined reference to `trJpgFactory::render()'

 if i make and make install the simgear , then configure and make the
 flightgear's source code, no error happened, So any body have any idle?
 it looks like have some link error with plib's network?

This is the usual problem of changing simgear configuration from jpeg
factory enabled to disabled, without cleaning out the installed
headers.
FG's configure checks for the presence of the jpgfactory.hxx in the
installed simgear headers. However, if you reconfigure simgear with
jpeg factory disabled, that just means it won't install the mentioned
jpgfactory.hxx, but it won't delete it either. Thus you end up with
simgear libs without jpeg factory code, but the header is still there
so FG thinks it can use them, resulting in link failure.

-- 
Cheers,
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] Compiler error

2010-10-09 Thread Frederic Bouvier
 Hi m,

Le 07/10/2010 17:12, fiers...@zonnet.nl a écrit :
 I used OSG version 2.9.10. The error probably has something to do with a 
 recent change, because yesterday's compilation was fine.
 I guess I could roll back to an older version of OSG, like you 
 suggested, but I was rather hoping my message would ring a bell with 
 someone that committed a change between yesterday and today.

 Am I missing the point?
Tim already replied, but if you'd have check the commit log at Gitorious
( http://gitorious.org/fg ), you'd have seen that there was no commit to
the code in the period.

Regards,
-Fred

-- 
Frédéric Bouvier
http://my.fotolia.com/frfoto/  Photo gallery - album photo
http://www.youtube.com/user/fgfred64   Videos


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Compiler error

2010-10-07 Thread fierst42

Hi all,

I am compiling fgfs with download_and_compile.sh on Ubuntu 10.04.

Latest GIT (one hour ago) is giving errors in hud.cxx:

hud.cxx: In function 'void fgUpdateHUDVirtual(osg::State*)':
hud.cxx:348: error: 'gluPerspective' was not declared in this scope
hud.cxx:361: error: 'gluLookAt' was not declared in this scope
hud.cxx: In function 'void fgUpdateHUD(osg::State*, GLfloat, GLfloat, 
GLfloat, GLfloat)':

hud.cxx:397: error: 'gluOrtho2D' was not declared in this scope

m

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Compiler error

2010-10-07 Thread fierst42
I used OSG version 2.9.10. The error probably has something to do with a 
recent change, because yesterday's compilation was fine.
I guess I could roll back to an older version of OSG, like you 
suggested, but I was rather hoping my message would ring a bell with 
someone that committed a change between yesterday and today.

Am I missing the point?

m


Op 07-10-10 16:19, willie schreef:
 On 07/10/10 14:09, fiers...@zonnet.nl wrote:

 Hi all,

 I am compiling fgfs with download_and_compile.sh on Ubuntu 10.04.

 Latest GIT (one hour ago) is giving errors in hud.cxx:

 hud.cxx: In function ‘void fgUpdateHUDVirtual(osg::State*)’:
 hud.cxx:348: error: ‘gluPerspective’ was not declared in this scope
 hud.cxx:361: error: ‘gluLookAt’ was not declared in this scope
 hud.cxx: In function ‘void fgUpdateHUD(osg::State*, GLfloat, GLfloat,
 GLfloat, GLfloat)’:
 hud.cxx:397: error: ‘gluOrtho2D’ was not declared in this scope

  
 please check the version of OpenSceneGraph you are using.
 /bin/osgversion in your OSG install dir


 I think that script is slightly flawed in that it grabs the SVN version
 of OSG which may have been correct when the script was written but not now.

 Download a stable version of OSG (2.9.8 works for me) and try again,
 please. Let us know how it goes.




--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Compiler error

2010-10-07 Thread Tim Moore
On Thu, Oct 7, 2010 at 5:12 PM, fiers...@zonnet.nl wrote:

 I used OSG version 2.9.10. The error probably has something to do with a
 recent change, because yesterday's compilation was fine.
 I guess I could roll back to an older version of OSG, like you
 suggested, but I was rather hoping my message would ring a bell with
 someone that committed a change between yesterday and today.

 Am I missing the point?

 Sort of. The problem is due to a change in OSG between yesterday and today.

Tim

 m


 Op 07-10-10 16:19, willie schreef:
  On 07/10/10 14:09, fiers...@zonnet.nl wrote:
 
  Hi all,
 
  I am compiling fgfs with download_and_compile.sh on Ubuntu 10.04.
 
  Latest GIT (one hour ago) is giving errors in hud.cxx:
 
  hud.cxx: In function ‘void fgUpdateHUDVirtual(osg::State*)’:
  hud.cxx:348: error: ‘gluPerspective’ was not declared in this scope
  hud.cxx:361: error: ‘gluLookAt’ was not declared in this scope
  hud.cxx: In function ‘void fgUpdateHUD(osg::State*, GLfloat, GLfloat,
  GLfloat, GLfloat)’:
  hud.cxx:397: error: ‘gluOrtho2D’ was not declared in this scope
 
 
  please check the version of OpenSceneGraph you are using.
  /bin/osgversion in your OSG install dir
 
 
  I think that script is slightly flawed in that it grabs the SVN version
  of OSG which may have been correct when the script was written but not
 now.
 
  Download a stable version of OSG (2.9.8 works for me) and try again,
  please. Let us know how it goes.
 
 



 --
 Beautiful is writing same markup. Internet Explorer 9 supports
 standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
 Spend less time writing and  rewriting code and more time creating great
 experiences on the web. Be a part of the beta today.
 http://p.sf.net/sfu/beautyoftheweb
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Compiler error

2010-10-07 Thread Norman Vine

On Oct 7, 2010, at 11:16 AM, Tim Moore wrote:

 
 
 On Thu, Oct 7, 2010 at 5:12 PM, fiers...@zonnet.nl wrote:
 I used OSG version 2.9.10. The error probably has something to do with a
 recent change, because yesterday's compilation was fine.
 I guess I could roll back to an older version of OSG, like you
 suggested, but I was rather hoping my message would ring a bell with
 someone that committed a change between yesterday and today.
 
 Am I missing the point?
 
 Sort of. The problem is due to a change in OSG between yesterday and today.

Robert merged glu* functions into the osg namespace today

e.g.  try  osg::gluLookAt(..)  etc


I have now moved the subset of glu functions that are now part of the
core OSG library into the osg namespace, so the likes of gluScaleImage
now would be used osg::gluScaleImage.


HTH

Norman

 
 Tim 
 m
 
 
 Op 07-10-10 16:19, willie schreef:
  On 07/10/10 14:09, fiers...@zonnet.nl wrote:
 
  Hi all,
 
  I am compiling fgfs with download_and_compile.sh on Ubuntu 10.04.
 
  Latest GIT (one hour ago) is giving errors in hud.cxx:
 
  hud.cxx: In function ‘void fgUpdateHUDVirtual(osg::State*)’:
  hud.cxx:348: error: ‘gluPerspective’ was not declared in this scope
  hud.cxx:361: error: ‘gluLookAt’ was not declared in this scope
  hud.cxx: In function ‘void fgUpdateHUD(osg::State*, GLfloat, GLfloat,
  GLfloat, GLfloat)’:
  hud.cxx:397: error: ‘gluOrtho2D’ was not declared in this scope
 
 
  please check the version of OpenSceneGraph you are using.
  /bin/osgversion in your OSG install dir
 
 
  I think that script is slightly flawed in that it grabs the SVN version
  of OSG which may have been correct when the script was written but not now.
 
  Download a stable version of OSG (2.9.8 works for me) and try again,
  please. Let us know how it goes.
 
 
 
 
 --
 Beautiful is writing same markup. Internet Explorer 9 supports
 standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
 Spend less time writing and  rewriting code and more time creating great
 experiences on the web. Be a part of the beta today.
 http://p.sf.net/sfu/beautyoftheweb
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel
 
 --
 Beautiful is writing same markup. Internet Explorer 9 supports
 standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
 Spend less time writing and  rewriting code and more time creating great
 experiences on the web. Be a part of the beta today.
 http://p.sf.net/sfu/beautyoftheweb___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel