Re: [Flightgear-devel] 答复: SimGear Compiler Question in VS 2008 Express
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. -- Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] 答复: SimGear Compiler Question in VS 2008 Express
On Mon, 2011-04-04 at 09:34 +0800, Chengde Jin wrote: So I don't know where is the simgear_config.h file? Maybe that is generation by compiler. Does any relation with the VS 2008 config? simgear_config.h is generated by autotools (autogen.sh, configure, etc) and is not used for MSVC as far as I know. You should be able to use cmake in the git evrsion of SimGear or use one of the MSVC project files located in the projects directory of SimGear. Erik -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] 答复: SimGear Compiler Question in VS 2008 Express
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. -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] 答复: SimGear Compiler Question in VS 2008 Express
So I don't know where is the simgear_config.h file? Maybe that is generation by compiler. Does any relation with the VS 2008 config? -邮件原件- 发件人: Arnt Karlsen [mailto:a...@c2i.net] 发送时间: 2011年4月4日 4:00 收件人: flightgear-devel@lists.sourceforge.net 主题: Re: [Flightgear-devel] SimGear Compiler Question in VS 2008 Express On Sun, 3 Apr 2011 23:21:08 +0800, Chengde wrote in message 395281372DA944E98255F70369FF0429@b9b11736cd184f3: 1-- Build started: Project: SimGear, Configuration: Debug Win32 1-- 1Generation of simgear_config.h 1系统找不到指定的文件。 ..System can not find the file specified.??? (from KDE's translatoid.) 1Project : error PRJ0019: A tool returned an error code from 1Generation of simgear_config.h ..you found it? 1Creating browse information file... 1Microsoft Browse Information Maintenance Utility Version 9.00.30729 1Copyright (C) Microsoft Corporation. All rights reserved. 1BSCMAKE: error BK1506 : cannot open file 1'.\Win32\Debug\logstream.sbr': No such file or directory 1Build log was saved at file://c:\FlightGear\SimGear\projects\VC90\Win32\Debug\BuildLog.htm 1SimGear - 2 error(s), 0 warning(s) == Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped == -- ..med vennlig hilsen = with Kind Regards from Arnt Karlsen ...with a number of polar bear hunters in his ancestry... Scenarios always come in sets of three: best case, worst case, and just in case. -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel