• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Fsx.obj ?

GHD

Messages
12,244
Country
england
I have been trying to compile the "Data Request Sample" from the SDK but it fails on linking. (I've added a link to the SDK lib in the linker settings)

Deleting intermediate files and output files for project 'SDKTest', configuration 'Debug|Win32'.

Compiling...

stdafx.cpp

Compiling...

SDKTest.cpp

Linking...

LINK : fatal error LNK1104: cannot open file 'D:\FSX.obj'

Build log was saved at "file://e:\SDKTest\Debug\BuildLog.htm"

SDKTest - 1 error(s), 0 warning(s)


I've looked everywhere for FSX.obj but cannot find it. Any ideas?

George

Note. I'm using VC++ 2003 so I cannot use the sample .vcproj as it's from 2005, however I cannot see any obvious differences.
 
It tooked some time to force your error :) . In my case the solution was:

Do not add the lib directly in the linker input. Add the lib as stated in the SDK and add the directory in the aditional library directories.

José
 
Thank you José,

I had given up on this and installed VC++ 2005 Express. This compiled the sample without a problem. It also includes the manifest so one less thing to worry about.

One thing which still concerns me. If I have the aircraft at a fixed location, SimConnect returns different values for the ground altitude for different events. All of the values are within 1mm but they are different.

George
 
Back
Top