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 *,class XMLAttributes 
const &)" ([EMAIL PROTECTED]@yasim@@UAEXPBDABVXMLAttributes@@@Z)
1>FlightgearLib.lib(FGFDM.obj) : error LNK2019: unresolved external symbol 
"public: void __thiscall yasim::Hitch::setWinchMaxForce(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::setWinchPower(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::setWinchMaxSpeed(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::setWinchPosition(double *)" ([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::setMpAutoConnectPeriod(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::setTowWeightPerM(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::setTowBreakForce(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::setTowElasticConstant(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::setTowLength(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::setForceIsCalculatedByOther(bool)" 
([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::setPosition(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: __thiscall yasim::Hitch::Hitch(char const *)" ([EMAIL 
PROTECTED]@@[EMAIL PROTECTED]@Z) referenced in function "public: virtual void 
__thiscall yasim::FGFDM::startElement(char const *,class XMLAttributes const 
&)" ([EMAIL PROTECTED]@yasim@@UAEXPBDABVXMLAttributes@@@Z)
1>FlightgearLib.lib(FGFCS.obj) : error LNK2019: unresolved external symbol 
"public: __thiscall JSBSim::FGPID::FGPID(class JSBSim::FGFCS *,class 
JSBSim::Element *)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]@1@@Z) referenced in function [EMAIL PROTECTED]@JSBSim@@[EMAIL 
PROTECTED]@@Z$0
1>FlightgearLib.lib(dialog.obj) : error LNK2019: unresolved external symbol 
"public: void __thiscall puObject::setColourScheme(float,float,float,float)" 
([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function "public: 
__thiscall puInput::puInput(int,int,int,int)" (??0puInput@@[EMAIL PROTECTED]@Z)
1>FlightgearLib.lib(puList.obj) : error LNK2001: unresolved external symbol 
"public: void __thiscall puObject::setColourScheme(float,float,float,float)" 
([EMAIL PROTECTED]@@[EMAIL PROTECTED])
1>FlightgearLib.lib(altimeter.obj) : error LNK2019: unresolved external symbol 
"public: __thiscall FGAltimeter::FGAltimeter(void)" (??0FGAltimeter@@[EMAIL 
PROTECTED]) referenced in function "public: __thiscall 
Altimeter::Altimeter(class SGPropertyNode *,double)" (??0Altimeter@@[EMAIL 
PROTECTED]@@[EMAIL PROTECTED])
1>FlightgearLib.lib(altimeter.obj) : error LNK2019: unresolved external symbol 
"public: __thiscall FGAtmoCache::~FGAtmoCache(void)" (??1FGAtmoCache@@[EMAIL 
PROTECTED]) referenced in function "public: __thiscall 
FGAltimeter::~FGAltimeter(void)" (??1FGAltimeter@@[EMAIL PROTECTED])
1>FlightgearLib.lib(ControlMap.obj) : error LNK2019: unresolved external symbol 
"public: void __thiscall yasim::Hitch::findBestAIObject(bool,bool)" ([EMAIL 
PROTECTED]@yasim@@[EMAIL PROTECTED]) referenced in function "public: void 
__thiscall yasim::ControlMap::applyControls(float)" ([EMAIL 
PROTECTED]@yasim@@[EMAIL PROTECTED])
1>FlightgearLib.lib(ControlMap.obj) : error LNK2019: unresolved external symbol 
"public: void __thiscall yasim::Hitch::setWinchPositionAuto(bool)" ([EMAIL 
PROTECTED]@yasim@@[EMAIL PROTECTED]) referenced in function "public: void 
__thiscall yasim::ControlMap::applyControls(float)" ([EMAIL 
PROTECTED]@yasim@@[EMAIL PROTECTED])
1>FlightgearLib.lib(ControlMap.obj) : error LNK2019: unresolved external symbol 
"public: void __thiscall yasim::Hitch::setOpen(bool)" ([EMAIL 
PROTECTED]@yasim@@[EMAIL PROTECTED]) referenced in function "public: void 
__thiscall yasim::ControlMap::applyControls(float)" ([EMAIL 
PROTECTED]@yasim@@[EMAIL PROTECTED])
1>FlightgearLib.lib(ControlMap.obj) : error LNK2019: unresolved external symbol 
"public: void __thiscall yasim::Hitch::setWinchRelSpeed(float)" ([EMAIL 
PROTECTED]@yasim@@[EMAIL PROTECTED]) referenced in function "public: void 
__thiscall yasim::ControlMap::applyControls(float)" ([EMAIL 
PROTECTED]@yasim@@[EMAIL PROTECTED])
1>Simgear.lib(lex.obj) : error LNK2019: unresolved external symbol _naLexUtf8C 
referenced in function _charLiteral
1>Debug\FlightGear.exe : fatal error LNK1120: 35 unresolved externals
1>Build log was saved at 
"file://d:\libs\FlightGear-0.9.11-pre1\projects\VC8\Debug\BuildLog.htm"
1>FlightGear - 39 error(s), 2 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
 
Could you help me to fix the problems?
Best Regards,
Georgi Ivanov

-----------------------------------------------------------------
Стани Survivor OnLine! Сподели свое видео или снимки! 
http://robinson.btv.bg/isurvive/

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

Reply via email to