Vivian Meazza wrote:
> Geoff Air
>
>
>>Sent: 06 August 2007 12:47
>>To: [email protected]
>>Subject: [Flightgear-devel] MSVC8 link problem - Missing
>>function ingnnode.cxx?
>>
>>
>>Hi Durk,
>>
>>The file src/Airports/gnnode.hxx declares a function -
>>
>>FGTaxiNode(double, double, int);
>>
>>Then in parking.hxx, you added -
>>: FGTaxiNode(lat,lon,idx);
>>about July 5 from the CVS logs ...
>>
>>In WIN32, MSVC8 can NOT locate this function, and marks it as
>>a missing
>>external.
>>
>>It seems obvious from the code that this should be something
>>like - FGTaxiNode::FGTaxiNode(double lat, double lon, int idx) {
>> setIndex(idx);
>> setLatitude(lat);
>> setLongitude(lon);
>>}
>>which I added to gnnode.cxx, and got my clean link, but
>>really wonder why
>>this has not come up on other systems. How can they resolve
>>FGTaxiNode(lat,lon,idx);???
>>
>>Or have I missed something here? The src/Airports/makefile.am
>>seems to
>>include both parking.cxx and gnnode.cxx since about mid-July ...
>>
>>Regards,
>>
>>Geoff.
>>
>
>
> Hmmm, compiles as is under MSVC8 here, although I would agree that there
> does seem to be a typo. Can't explain why MSVC8 doesn't mind, though. I can
> click on the method FGTaxiNode(lat,lon,idx), and MSVC8 seems happy to find
> it.
>
> Vivian
>
It (from CVS head) also builds with VC8 for me with no problem.
I looked in gnnode.cxx and found the following:
FGTaxiNode::FGTaxiNode()
{
}
which seems to satsify the linker here. Can't see why it wouldn't for
you also.
--
Reagan Thomas
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel