From: Reagan T. <tho...@gm...> - 2011-04-05 15:04:45
|
On 4/4/2011 7:14 AM, Geoff McLane wrote: > Hi Jin, > >> So I don't know where is the simgear_config.h file? > As Erik points out this is an auto-tool generated > file in linux/unix, BUT it is also needed in Windows > (MSVC) compile, and you have up to 3 HAND generated files > to choose from :- > > simgear_config.h.vc5 > simgear_config.h-msvc71 > simgear_config.h-msvc90 > > They are all very similar, and _ONE_ needs to be renamed, > or copied to simgear_config.h ... as simple as > that... > > There is a Pre-Build step in the MSVC vcproj file to > do this COPY for you, and that is obviously failing... > hence the message "System can not find the file > specified." > > Open Properties -> Property Pages -> Build Events -> > Pre-Build Event and check which of the above files, > and where is it trying to copy it from... > > You can either fix this Pre-Build step, or manually > copy one to simgear_config.h, and clean out this > build event - it only needs to be done once... > > HTH, > Geoff. > > ...and, since Jin Chengde is using VS 2008, they will want to copy the VC90 file, simgear_config.h-msvc90. |