From: Sean M. <se...@se...> - 2015-04-20 12:08:30
|
Hi Rocio Sure, here is a link to the release exe for you to download and test: http://1drv.ms/1DsV3jo And here is a listing of the DLLs loaded when the release version is run: 'JSBSim.exe' (Win32): Loaded 'C:\source\temp\JSBSim\Release\JSBSim.exe'. Module was built without symbols. 'JSBSim.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file. 'JSBSim.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file. 'JSBSim.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file. 'JSBSim.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp120.dll'. Cannot find or open the PDB file. 'JSBSim.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr120.dll'. Cannot find or open the PDB file. 'JSBSim.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wsock32.dll'. Cannot find or open the PDB file. 'JSBSim.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ws2_32.dll'. Cannot find or open the PDB file. 'JSBSim.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Cannot find or open the PDB file. 'JSBSim.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nsi.dll'. Cannot find or open the PDB file. 'JSBSim.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Cannot find or open the PDB file. 'JSBSim.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Cannot find or open the PDB file. 'JSBSim.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Cannot find or open the PDB file. 'JSBSim.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Cannot find or open the PDB file. 'JSBSim.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Cannot find or open the PDB file. The program '[6824] JSBSim.exe' has exited with code 0 (0x0). And lastly I run a release version of JSBSim on my customer’s simulator PC (VSS sim for test pilot training) which doesn’t have Visual Studio installed. Cheers From: Rocío Barragán [mailto:roc...@up...] Sent: Monday, April 20, 2015 1:47 PM To: 'Development issues' Subject: Re: [Jsbsim-devel] Simpliest JSBSim version Hi Sean, Can you send me the exe Release version you created? I may test it in a computer without Visual Studio installed. Thanks De: Sean McLeod [mailto:se...@se...] Enviado el: lunes, 20 de abril de 2015 12:14 Para: Development issues Asunto: Re: [Jsbsim-devel] Simpliest JSBSim version Hi I’m not sure what is causing your issue in terms of building JSBSim for Windows. I just downloaded a snapshot of the latest JSBSim from CVS last night, decompressed the .tar.gz source code and loaded the solution file into Visual Studio 2013. I don’t have CMake installed and so I didn’t use CMake, I simply used the Visual Studio solution and project files that came in the JSBSim source code. I get a warning that the Itanium configuration isn’t supported. Not sure that there is any need to keep the Itanium configuration around. Then I selected Release – Win32 and built the project. I got the following linker error: 1>LINK : fatal error LNK1117: syntax error in option 'VERSION:1.0 Release Candidate 3' The version info for the Debug configuration is simply 1.0 so I changed the version info to 1.0 for the Release configuration and built again and it built successfully. I then also built the Debug configuration and then ran the Dumpbin program that comes with Visual Studio to confirm what C-Runtime libraries had been linked in. Dumpbin /imports JSBSim.exe Release MSVCP120.dll MSVCR120.dll Debug MSVCP120D.dll MSVCR120D.dll And so everything looks fine, the Release configuration is only linked to the Release version (non-D suffix) of the C-Runtime which is the only version installed when your users use the C-Runtime redistributable package. Cheers From: Rocío Barragán [mailto:roc...@up...] Sent: Monday, April 20, 2015 11:39 AM To: 'Development issues' Subject: Re: [Jsbsim-devel] Simpliest JSBSim version I’m afraid it doesn’t work. It still tries to access the debug dll (msvcp120d.dll). I will ask my students to install Visual Studio Express 2013 for Windows Desktop even though I will provide the .exe file created with CMake. Thanks anyway for your help. Best regards, Rocío De: Alan Teeder [mailto:ajt...@v-...] Enviado el: sábado, 18 de abril de 2015 19:40 Para: Development issues Asunto: Re: [Jsbsim-devel] Simpliest JSBSim version Are you using Cmake, or the existing JSBsim.sln? I recommend that you use Cmake. You should the have a build that reflects the components already installed on your own computer. Alan Alan From: Rocío Barragán<mailto:roc...@up...> Sent: Saturday, April 18, 2015 6:16 PM To: 'Development issues'<mailto:jsb...@li...> Subject: Re: [Jsbsim-devel] Simpliest JSBSim version I just tried starting a fresh. It states the same error messages. I wonder if we can embed the invocation to msvcp120.dll in the code to force it to use the “simple” dll instead of msvcp120d.dll, the debug one. De: Bertrand Coconnier [mailto:bco...@gm...] Enviado el: sábado, 18 de abril de 2015 13:41 Para: Development issues Asunto: Re: [Jsbsim-devel] Simpliest JSBSim version According to the few tests I conducted, MSVC is struggling to recover a proper compilation when the parameters are changed too often. Have you tried to restart from a fresh installation of JSBSim sources? Bertrand Le 18 avr. 2015 00:50, "Rocío Barragán" <roc...@up...<mailto:roc...@up...>> a écrit : No, it doesn’t work. It cannot be compiled: error LNK2001: unresolved external symbol. Neither does Debug - win32 local windows debugger nor Release - win32. Do you have any clue what other tests can I try? De: Bertrand Coconnier [mailto:bco...@gm...<mailto:bco...@gm...>] Enviado el: viernes, 17 de abril de 2015 23:45 Para: Development issues Asunto: Re: [Jsbsim-devel] Simpliest JSBSim version 2015-04-17 12:21 GMT+02:00 Rocío Barragán <roc...@up...<mailto:roc...@up...>>: Regarding the simpliest version, I update you with my latest research: Using the instructions provided by Bertrand (https://docs.google.com/presentation/d/1sfDJi1wQH59rxOBSwQbwHzt93isQBBkP0EN q27_iBug/edit?usp=sharing ) I installed Visual Studio Express 2013 for Windows Desktop. However, I didn't install CMake or Tortoise CVS, as I am not creating new code at the moment. I built a solution and exe file which runs perfectly well on my computer but it doesn't when I copy and paste it in lighter versions on the lab PCs. The reason: the program can't find msvcp12d.dll. I tried installing the runtime (redistributable packages) for MS Visual Studio 2013 in those PCs (https://www.microsoft.com/en-us/download/details.aspx?id=40784 ), it installs msvcp12.dll but it doesn't install the msvcp12d.dll. Apparently, the reason is that JSBSim.exe needs the debug version of the dll, which is not installed in the redistributable package. I tried to fix it compiling the project with different runtimes libraries (Project/Properties/Configuration Properties/C/C++/Code Generation), Multi-threated debug (Multi-threaded Debug DLL (/MDd)) by default, but also Multi-threated without debug (Multi-threaded DLL (/MD)). Also, I tried to generate different .exe files with Local Windows Debugger (Debug/Release and Win32/x64) and combination of options. It doesn't seem to work because either compiling gives an error or the jsbsim.exe generated keeps invoking msvcp12d.dll. Does anyone have an idea how to solve it without installing a full version of Visual Studio 2013? According to stackoverflow, the executable should be compiled with the /MT option (see http://stackoverflow.com/questions/21602007/how-to-leave-visual-studio-2013-dlls-dependencies-behind). "Properties->Configuration Properties->C/C++->Code Generation->Runtime library->Multi-threaded(/MT)" Does it work ? Thanks in advance, Rocío -----Mensaje original----- De: Erik Hofman [mailto:er...@eh...<mailto:er...@eh...>] Enviado el: jueves, 16 de abril de 2015 9:50 Para: Development issues Asunto: Re: [Jsbsim-devel] Simpliest JSBSim version On 04/15/2015 09:22 PM, Bertrand Coconnier wrote: > 2015-04-15 19:52 GMT+02:00 Jon S. Berndt > This one may have potential to break legacy models, true? > > > True so this means we will have to communicate about the bug fix so > that all the aircraft authors have the opportunity to fix their creation. > Keeping the bug in JSBSim is not an option, is it ? I think most modelers didn't even realize there was a problem and left it as is meaning they get a fixed configuration for free. I did however read that Simon added <sense>-1</sense> to the thruster section to reverse it himself. Maybe it would be a good idea to issue a warning when this is defined. Erik -- http://www.adalin.com - Hardware accelerated AeonWave and OpenAL for Windows and Linux - AeonWave Audio Effects software for DJ, Instrumentalist and Vocalist ---------------------------------------------------------------------------- -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Jsbsim-devel mailing list Jsb...@li...<mailto:Jsb...@li...> https://lists.sourceforge.net/lists/listinfo/jsbsim-devel _______________________________________________ The JSBSim Flight Dynamics Model project http://www.JSBSim.org _______________________________________________ ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Jsbsim-devel mailing list Jsb...@li...<mailto:Jsb...@li...> https://lists.sourceforge.net/lists/listinfo/jsbsim-devel _______________________________________________ The JSBSim Flight Dynamics Model project http://www.JSBSim.org _______________________________________________ ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Jsbsim-devel mailing list Jsb...@li...<mailto:Jsb...@li...> https://lists.sourceforge.net/lists/listinfo/jsbsim-devel _______________________________________________ The JSBSim Flight Dynamics Model project http://www.JSBSim.org _______________________________________________ ________________________________ ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF ________________________________ _______________________________________________ Jsbsim-devel mailing list Jsb...@li...<mailto:Jsb...@li...> https://lists.sourceforge.net/lists/listinfo/jsbsim-devel _______________________________________________ The JSBSim Flight Dynamics Model project http://www.JSBSim.org _______________________________________________ |