Re: [Flightgear-devel] compilation problems with MSVC 2005

2007-11-05 Thread Vivian Meazza
Sergey

> Sent: 05 November 2007 15:38
> To: FlightGear developers discussions
> Subject: Re: [Flightgear-devel] compilation problems with MSVC 2005
> 
> 
> Hello Georgi,
> 
> you might want to replace your version of plib with that on 
> my site in archive
> 
> http://www.sim-ai.org/FlightGear0.9.11beta1completecode.zip
> 
> from http://www.sim-ai.org/FlightGearlesson.htm
> 
> the problem is in plib ac reader where wrong open file option is set.

I don't think so
 
> ( the only difference with you - I used beta of vs2008 so you 
> will need to keep your project files)
> 
> On 11/5/07, Georgi Ivanov <> wrote:
> > Hi
> > I am trying to compile FlightGear 0.9.10 with Visual Studio 2005. 
> > However, in fg_os.c line 141 when the following code 
> executes I get an 
> > error.
> >

Hmmm, no need for modified plib here with MSVC8. You do need the right
version of Simgear though, and then make sure that your MSVC8 is configured
correctly. Plib 1.8.4 works with 0.9.10. plib-cvs is better with 0.9.11.

Vivian 

  


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] compilation problems with MSVC 2005

2007-11-05 Thread Sergey
Hello Georgi,

you might want to replace your version of plib with that on my site in archive

http://www.sim-ai.org/FlightGear0.9.11beta1completecode.zip

from http://www.sim-ai.org/FlightGearlesson.htm

the problem is in plib ac reader where wrong open file option is set.

( the only difference with you - I used beta of vs2008 so you will
need to keep your project files)

Best regards
Sergey Kurdakov

On 11/5/07, Georgi Ivanov <> wrote:
> Hi
> I am trying to compile FlightGear 0.9.10 with Visual Studio 2005. However, in 
> fg_os.c line 141 when the following code executes I get an error.
>

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] compilation problems with MSVC 2005

2007-11-05 Thread Georgi Ivanov
Hi
I am trying to compile FlightGear 0.9.10 with Visual Studio 2005. However, in 
fg_os.c line 141 when the following code executes I get an error. 

void fgOSMainLoop() 
{ 

glutMainLoop(); 

} 

The error from Visual Studio says: 

Debug Assertion Failed! 
Program: ... 
File: _open.c 
Line: 201 
_expression_: ("Invalid file open mode",0) 



When I try to compile FlightGear 0.9.11 with Visual Studio 2005 i get the 
following errors:

1>pui_d.lib(puSlider.obj) : error LNK2005: "public: void __thiscall 
puSlider::setSliderFraction(float)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) 
already defined in FlightgearLib.lib(puList.obj)
1>FlightgearLib.lib(NasalSys.obj) : error LNK2019: unresolved external symbol 
_naInit_utf8 referenced in function "public: virtual void __thiscall 
FGNasalSys::init(void)" ([EMAIL PROTECTED]@@UAEXXZ)
1>FlightgearLib.lib(NasalSys.obj) : error LNK2019: unresolved external symbol 
FlightGear 0.9.10 with Visual Studio 2005in function "public: virtual void 
__thiscall FGNasalSys::init(void)" ([EMAIL PROTECTED]@@UAEXXZ)
1>FlightgearLib.lib(NasalSys.obj) : error LNK2019: unresolved external symbol 
_naInit_io referenced in function "public: virtual void __thiscall 
FGNasalSys::init(void)" ([EMAIL PROTECTED]@@UAEXXZ)
1>FlightgearLib.lib(NasalSys.obj) : error LNK2019: unresolved external symbol 
_naInit_bits referenced in function "public: virtual void __thiscall 
FGNasalSys::init(void)" ([EMAIL PROTECTED]@@UAEXXZ)
1>FlightgearLib.lib(props.obj) : error LNK2019: unresolved external symbol 
"public: int __thiscall netAddress::getPort(void)const " ([EMAIL 
PROTECTED]@@QBEHXZ) referenced in function "public: virtual void __thiscall 
FGProps::handleAccept(void)" ([EMAIL PROTECTED]@@UAEXXZ)
1>FlightgearLib.lib(httpd.obj) : error LNK2001: unresolved external symbol 
"public: int __thiscall netAddress::getPort(void)const " ([EMAIL 
PROTECTED]@@QBEHXZ)
1>FlightgearLib.lib(Model.obj) : error LNK2019: unresolved external symbol 
"public: __thiscall yasim::Hitch::~Hitch(void)" ([EMAIL PROTECTED]@@[EMAIL 
PROTECTED]) referenced in function "public: void * __thiscall 
yasim::Hitch::`scalar deleting destructor'(unsigned int)" ([EMAIL 
PROTECTED]@@[EMAIL PROTECTED])
1>FlightgearLib.lib(Model.obj) : error LNK2019: unresolved external symbol 
"public: void __thiscall yasim::Hitch::integrate(float)" ([EMAIL 
PROTECTED]@yasim@@[EMAIL PROTECTED]) referenced in function "public: void 
__thiscall yasim::Model::initIteration(void)" ([EMAIL PROTECTED]@yasim@@QAEXXZ)
1>FlightgearLib.lib(Model.obj) : error LNK2019: unresolved external symbol 
"public: void __thiscall yasim::Hitch::setGlobalGround(double *,float *)" 
([EMAIL PROTECTED]@yasim@@[EMAIL PROTECTED]) referenced in function "public: 
void __thiscall yasim::Model::updateGround(struct yasim::State *)" ([EMAIL 
PROTECTED]@yasim@@[EMAIL PROTECTED]@@Z)
1>FlightgearLib.lib(Model.obj) : error LNK2019: unresolved external symbol 
"public: void __thiscall yasim::Hitch::getPosition(float *)" ([EMAIL 
PROTECTED]@yasim@@[EMAIL PROTECTED]) referenced in function "public: void 
__thiscall yasim::Model::updateGround(struct yasim::State *)" ([EMAIL 
PROTECTED]@yasim@@[EMAIL PROTECTED]@@Z)
1>FlightgearLib.lib(Model.obj) : error LNK2019: unresolved external symbol 
"public: void __thiscall yasim::Hitch::getForce(float *,float *)" ([EMAIL 
PROTECTED]@yasim@@[EMAIL PROTECTED]) referenced in function "public: virtual 
void __thiscall yasim::Model::calcForces(struct yasim::State *)" ([EMAIL 
PROTECTED]@yasim@@[EMAIL PROTECTED]@@Z)
1>FlightgearLib.lib(Model.obj) : error LNK2019: unresolved external symbol 
"public: void __thiscall yasim::Hitch::calcForce(class yasim::Ground *,class 
yasim::RigidBody *,struct yasim::State *)" ([EMAIL PROTECTED]@yasim@@[EMAIL 
PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@Z) referenced in function 
"public: virtual void __thiscall yasim::Model::calcForces(struct yasim::State 
*)" ([EMAIL PROTECTED]@yasim@@[EMAIL PROTECTED]@@Z)
1>FlightgearLib.lib(FGFDM.obj) : error LNK2019: unresolved external symbol 
"public: void __thiscall yasim::Hitch::setWinchMinTowLength(float)" ([EMAIL 
PROTECTED]@yasim@@[EMAIL PROTECTED]) referenced in function "public: virtual 
void __thiscall yasim::FGFDM::startElement(char const *,class XMLAttributes 
const &)" ([EMAIL PROTECTED]@yasim@@UAEXPBDABVXMLAttributes@@@Z)
1>FlightgearLib.lib(FGFDM.obj) : error LNK2019: unresolved external symbol 
"public: void __thiscall yasim::Hitch::setWinchMaxTowLength(float)" ([EMAIL 
PROTECTED]@yasim@@[EMAIL PROTECTED]) referenced in function "public: virtual 
void __thiscall yasim::FGFDM::startElement(char const *,class XMLAttributes 
const &)" ([EMAIL PROTECTED]@yasim@@UAEXPBDABVXMLAttributes@@@Z)
1>FlightgearLib.lib(FGFDM.obj) : error LNK2019: unresolved external symbol 
"public: void __thiscall yasim::Hitch::setWinchInitialTowLength(float)" ([EMAIL 
PROTECTED]@yasim@@[EMAIL PROTECTED]) referenced in function "public: virtual 
void __thiscall yasim::FGFDM::startElement(char const *,clas