eggrobin Posted May 9, 2019 Author Share Posted May 9, 2019 1 hour ago, N9vaivie said: Not sure if this has ever been noticed before, but I think I have discovered a strange glitch with Principia concerning gravity on aircraft. It appears to glue them to the ground? Summarizing a discussion on IRC: this is a symptom of forces being applied using RigidBody.AddForceAtPosition, instead of Part.AddForceAtPosition. The latter (added in 1.2.x) allows other mods (such as Principia) to inspect the forces that were added; Principia needs that in order to be able to integrate the overall motion of the vessel; any forces added via the former will have no net effect on the vessel. Note that rocket engines, AJE jet engines, FAR aerodynamic forces, etc. use Part.AddForceAtPosition, and work correctly. In this case, the rotor (from Airplane Plus) is powered by Firespitter. It appears that Firespitter makes heavy use of RigidBody.AddForceAtPosition, see https://github.com/snjo/Firespitter/search?l=C%23&q=addforceatposition, so that its effect is ignored as soon as you are no longer touching the ground, leading to the observed behaviour. @Snjo: the calls to RigidBody.AddForceAtPosition linked above should be changed to Part.AddForceAtPosition; a lot of them are actually part.GetComponent<Rigidbody>().AddForceAtPosition, so you can simply drop the RigidBody in the middle. Quote Link to comment Share on other sites More sharing options...
eggrobin Posted May 9, 2019 Author Share Posted May 9, 2019 It has come to our attention that there is a very active community of Chinese users of Principia; notably @王小谦同学 wrote a very detailed introduction to the mod for the Chinese audience, https://www.kerbcat.com/tutorial/md/13601/. For their convenience, in addition to the binaries hosted on Google Drive, we are experimenting with providing links to copies of the Principia Fáry binaries (and the TRAPPIST-1 patch), hosted on 腾讯微云. We welcome the feedback of the affected users on whether this makes things easier. 腾讯微云 links: Principia Fáry for 1.3.1; Principia Fáry for 1.4.x,1.5.1, and 1.6.1.; TRAPPIST-1 for Principia Fáry. Quote Link to comment Share on other sites More sharing options...
N9 Gaming Posted May 15, 2019 Share Posted May 15, 2019 Hello! This is not a bug per se, rather something I've noticed recently with Flight Planning. When a maneuver is planned, IF your history length is very low, the time to ignition will continuously reset causing the actual maneuver node to move. So distant maneuvers cannot be planned unless the history length is long enough to reach the exact moment the maneuver was created. It'd be cool if long histories were not needed for this! Cheers Quote Link to comment Share on other sites More sharing options...
pleroy Posted May 15, 2019 Share Posted May 15, 2019 2 hours ago, N9vaivie said: Hello! This is not a bug per se, rather something I've noticed recently with Flight Planning. When a maneuver is planned, IF your history length is very low, the time to ignition will continuously reset causing the actual maneuver node to move. So distant maneuvers cannot be planned unless the history length is long enough to reach the exact moment the maneuver was created. It'd be cool if long histories were not needed for this! Cheers It is actually a bug, it has been reported a few days ago (#2154) and will be fixed in the June release. Quote Link to comment Share on other sites More sharing options...
王小谦同学 Posted May 16, 2019 Share Posted May 16, 2019 On 5/10/2019 at 4:14 AM, eggrobin said: It has come to our attention that there is a very active community of Chinese users of Principia; notably @王小谦同学 wrote a very detailed introduction to the mod for the Chinese audience, https://www.kerbcat.com/tutorial/md/13601/. For their convenience, in addition to the binaries hosted on Google Drive, we are experimenting with providing links to copies of the Principia Fáry binaries (and the TRAPPIST-1 patch), hosted on 腾讯微云. We welcome the feedback of the affected users on whether this makes things easier. 腾讯微云 links: Principia Fáry for 1.3.1; Principia Fáry for 1.4.x,1.5.1, and 1.6.1.; TRAPPIST-1 for Principia Fáry. I did not expect anyone to found that out, it's a surprise to me. But somehow it's still not really finished, I still have some stuff that I want to write, and it's not on there yet, I might put them on there pretty soon. For 腾讯微云, I've tested it last night in China, and it worked well, it solved the problem of us can't access Google Drive normally, thanks. Quote Link to comment Share on other sites More sharing options...
Einstein_Cross_X1 Posted May 17, 2019 Share Posted May 17, 2019 (edited) Hello! I unfortunately have been having an issue compiling the github version of Principia on my own machine. I followed to instructions in the Setup.md file to a T except for $GitPromptSettings.RepositoriesInWhichToDisableFileStatus += join-path (gi -path .).FullName chromium Which causes this Repositories error: The property 'RepositoriesInWhichToDisableFileStatus' cannot be found on this object. Verify that the property exists and can be set. I have my error code from powershell here: "D:\Principia Custom Build\Principia\Principia.sln" (Clean;Build target) (1) -> "D:\Principia Custom Build\Principia\base\base.vcxproj.metaproj" (default target) (7:2) -> "D:\Principia Custom Build\Principia\base\base.vcxproj" (default target) (29:2) -> (ClCompile target) -> d:\principia custom build\principia\base\base32768_body.hpp(154): error C2131: expression did not evaluate to a constant (compiling source file base32768_test.cpp) [D:\Principia Custom Build\Principia\base\base.vcxproj] d:\principia custom build\principia\base\base32768_body.hpp(199): error C2131: expression did not evaluate to a constant (compiling source file base32768_test.cpp) [D:\Principia Custom Build\Principia\base\base.vcxproj] d:\principia custom build\principia\base\base32768_body.hpp(202): error C2131: expression did not evaluate to a constant (compiling source file base32768_test.cpp) [D:\Principia Custom Build\Principia\base\base.vcxproj] d:\principia custom build\principia\base\base32768_body.hpp(203): error C2131: expression did not evaluate to a constant (compiling source file base32768_test.cpp) [D:\Principia Custom Build\Principia\base\base.vcxproj] d:\principia custom build\principia\base\base32768_test.cpp(281): error C3861: 'Base32768Encode': identifier n ot found [D:\Principia Custom Build\Principia\base\base.vcxproj] d:\principia custom build\principia\base\base32768_test.cpp(283): error C3861: 'Base32768Decode': identifier n ot found [D:\Principia Custom Build\Principia\base\base.vcxproj] d:\principia custom build\principia\base\not_null_test.cpp(62): error C2280: 'std::unique_ptr<int,std::default _delete<_Ty>>::unique_ptr(const std::unique_ptr<_Ty,std::default_delete<_Ty>> &)': attempting to reference a del eted function [D:\Principia Custom Build\Principia\base\base.vcxproj] "D:\Principia Custom Build\Principia\Principia.sln" (Clean;Build target) (1) -> "D:\Principia Custom Build\Principia\physics\physics.vcxproj.metaproj" (default target) (11:2) -> "D:\Principia Custom Build\Principia\physics\physics.vcxproj" (default target) (24:2) -> c:\program files (x86)\windows kits\10\include\10.0.16299.0\ucrt\corecrt_math.h(148): fatal error C1060: compi ler is out of heap space (compiling source file discrete_trajectory_test.cpp) [D:\Principia Custom Build\Princip ia\physics\physics.vcxproj] d:\principia custom build\principia\physics\geopotential_body.hpp(298): fatal error C1060: compiler is out of heap space (compiling source file barycentric_rotating_dynamic_frame_test.cpp) [D:\Principia Custom Build\Princi pia\physics\physics.vcxproj] d:\principia custom build\principia\numerics\polynomial.hpp(161): fatal error C1060: compiler is out of heap s pace (compiling source file continuous_trajectory_test.cpp) [D:\Principia Custom Build\Principia\physics\physics .vcxproj] d:\principia custom build\principia\quantities\parser_body.hpp(144): fatal error C1060: compiler is out of hea p space (compiling source file body_centred_body_direction_dynamic_frame_test.cpp) [D:\Principia Custom Build\Pr incipia\physics\physics.vcxproj] d:\principia custom build\principia\physics\solar_system_body.hpp(402): fatal error C1060: compiler is out of heap space (compiling source file body_test.cpp) [D:\Principia Custom Build\Principia\physics\physics.vcxproj] "D:\Principia Custom Build\Principia\Principia.sln" (Clean;Build target) (1) -> "D:\Principia Custom Build\Principia\astronomy\astronomy.vcxproj.metaproj" (default target) (4:2) -> "D:\Principia Custom Build\Principia\astronomy\astronomy.vcxproj" (default target) (28:2) -> c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.16.27023\include\xmemory0(888) : fatal error C1002: compiler is out of heap space in pass 2 [D:\Principia Custom Build\Principia\astronomy\astr onomy.vcxproj] c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.16.27023\include\memory(987): fatal error C1060: compiler is out of heap space (compiling source file solar_system_dynamics_test.cpp) [D:\Prin cipia Custom Build\Principia\astronomy\astronomy.vcxproj] c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.16.27023\include\optional(326) : fatal error C1060: compiler is out of heap space (compiling source file lunar_orbit_test.cpp) [D:\Principia Cu stom Build\Principia\astronomy\astronomy.vcxproj] d:\principia custom build\principia\physics\kepler_orbit_body.hpp(97): fatal error C1060: compiler is out of h eap space (compiling source file ksp_system_test.cpp) [D:\Principia Custom Build\Principia\astronomy\astronomy.v cxproj] c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.16.27023\include\list(295): fa tal error C1060: compiler is out of heap space (compiling source file geodesy_test.cpp) [D:\Principia Custom Bui ld\Principia\astronomy\astronomy.vcxproj] d:\principia custom build\google\googletest\googlemock\include\gmock\gmock-matchers.h(3496): fatal error C1060 : compiler is out of heap space (compiling source file ksp_fingerprint_test.cpp) [D:\Principia Custom Build\Prin cipia\astronomy\astronomy.vcxproj] c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.16.27023\include\xstring(1563) : fatal error C1060: compiler is out of heap space (compiling source file ksp_resonance_test.cpp) [D:\Principia Custom Build\Principia\astronomy\astronomy.vcxproj] c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.16.27023\include\xstring(2614) : fatal error C1060: compiler is out of heap space (compiling source file standard_product_3.cpp) [D:\Principia Custom Build\Principia\astronomy\astronomy.vcxproj] cl : Command line error D8040: error creating or communicating with child process [D:\Principia Custom Build\P rincipia\astronomy\astronomy.vcxproj] "D:\Principia Custom Build\Principia\Principia.sln" (Clean;Build target) (1) -> "D:\Principia Custom Build\Principia\mathematica\mathematica.vcxproj.metaproj" (default target) (6:2) -> "D:\Principia Custom Build\Principia\mathematica\mathematica.vcxproj" (default target) (22:2) -> c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.16.27023\include\xmemory0(879) : fatal error C1002: compiler is out of heap space in pass 2 [D:\Principia Custom Build\Principia\mathematica\ma thematica.vcxproj] d:\principia custom build\principia\quantities\quantities.hpp(88): fatal error C1060: compiler is out of heap space (compiling source file main.cpp)c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\ms vc\14.16.27023\include\list(211) : fatal error C1002: compiler is out of heap space in pass 2 [D:\Principia Cust om Build\Principia\mathematica\mathematica.vcxproj] c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.16.27023\include\xtree(221): f atal error C1060: compiler is out of heap space (compiling source file retrobop_dynamical_stability.cpp)c:\progr am files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.16.27023\include\list(1322) : fatal erro r C1002: compiler is out of heap space in pass 2 [D:\Principia Custom Build\Principia\mathematica\mathematica.vc xproj] d:\principia custom build\principia\physics\rotating_body_body.hpp(174): fatal error C1060: compiler is out of heap space (compiling source file local_error_analysis.cpp) [D:\Principia Custom Build\Principia\mathematica\ma thematica.vcxproj] cl : Command line error D8040: error creating or communicating with child process [D:\Principia Custom Build\P rincipia\mathematica\mathematica.vcxproj] "D:\Principia Custom Build\Principia\Principia.sln" (Clean;Build target) (1) -> "D:\Principia Custom Build\Principia\tools\tools.vcxproj.metaproj" (default target) (2:3) -> "D:\Principia Custom Build\Principia\tools\tools.vcxproj" (default target) (18:3) -> c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.16.27023\include\xlocnum(702): fatal error C1060: compiler is out of heap space (compiling source file generate_kopernicus.cpp) [D:\Principia Custom Build\Principia\tools\tools.vcxproj] "D:\Principia Custom Build\Principia\Principia.sln" (Clean;Build target) (1) -> "D:\Principia Custom Build\Principia\journal\journal.vcxproj.metaproj" (default target) (3:2) -> "D:\Principia Custom Build\Principia\journal\journal.vcxproj" (default target) (31:2) -> "D:\Principia Custom Build\Principia\ksp_plugin\ksp_plugin.vcxproj" (default target) (26:5) -> "D:\Principia Custom Build\Principia\ksp_physics\ksp_physics.vcxproj" (default target) (30:5) -> d:\principia custom build\principia\ksp_physics\ksp_physics_lib.cpp(37): fatal error C1060: compiler is out of heap space [D:\Principia Custom Build\Principia\ksp_physics\ksp_physics.vcxproj] "D:\Principia Custom Build\Principia\Principia.sln" (Clean;Build target) (1) -> "D:\Principia Custom Build\Principia\geometry\geometry.vcxproj.metaproj" (default target) (15:2) -> "D:\Principia Custom Build\Principia\geometry\geometry.vcxproj" (default target) (21:2) -> d:\principia custom build\principia\geometry\point_test.cpp(52): fatal error C1002: compiler is out of heap sp ace in pass 2 [D:\Principia Custom Build\Principia\geometry\geometry.vcxproj] d:\principia custom build\principia\geometry\point_test.cpp(102): fatal error C1002: compiler is out of heap s pace in pass 2 [D:\Principia Custom Build\Principia\geometry\geometry.vcxproj] d:\principia custom build\principia\geometry\point_test.cpp(65): fatal error C1002: compiler is out of heap sp ace in pass 2 [D:\Principia Custom Build\Principia\geometry\geometry.vcxproj] d:\principia custom build\principia\geometry\point_test.cpp(39): fatal error C1002: compiler is out of heap sp ace in pass 2 [D:\Principia Custom Build\Principia\geometry\geometry.vcxproj] cl : Command line error D8040: error creating or communicating with child process [D:\Principia Custom Build\P rincipia\geometry\geometry.vcxproj] "D:\Principia Custom Build\Principia\Principia.sln" (Clean;Build target) (1) -> "D:\Principia Custom Build\Principia\integrators\integrators.vcxproj.metaproj" (default target) (13:2) -> "D:\Principia Custom Build\Principia\integrators\integrators.vcxproj" (default target) (23:2) -> c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.16.27023\include\memory(2298): fatal error C1002: compiler is out of heap space in pass 2 [D:\Principia Custom Build\Principia\integrators\int egrators.vcxproj] d:\principia custom build\principia\integrators\symmetric_linear_multistep_integrator_body.hpp(131): fatal err or C1002: compiler is out of heap space in pass 2 [D:\Principia Custom Build\Principia\integrators\integrators.v cxproj] cl : Command line error D8040: error creating or communicating with child process [D:\Principia Custom Build\P rincipia\integrators\integrators.vcxproj] "D:\Principia Custom Build\Principia\Principia.sln" (Clean;Build target) (1) -> "D:\Principia Custom Build\Principia\numerics\numerics.vcxproj.metaproj" (default target) (5:2) -> "D:\Principia Custom Build\Principia\numerics\numerics.vcxproj" (default target) (27:2) -> (PreBuildEvent target) -> C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.ta rgets(128,5): error MSB3073: The command "powershell -ExecutionPolicy unrestricted -File "D:\Principia Custom Bu ild\Principia\generate_version_translation_unit.ps1" "D:\Principia Custom Build\Principia\." [D:\Principia Custo m Build\Principia\numerics\numerics.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targ ets(128,5): error MSB3073: :VCEnd" exited with code -1073741819. [D:\Principia Custom Build\Principia\numerics\n umerics.vcxproj] Any advice or help would be greatly appreciated, but I understand you all have busy schedules and this is relatively low priority. If it is too much trouble I'm perfectly happy just waiting until the June release. Keep up the great work people! Edited May 17, 2019 by Einstein_Cross_X1 Quote Link to comment Share on other sites More sharing options...
Flibble Posted May 17, 2019 Share Posted May 17, 2019 The compile errors are partly because you're using a different version of VS than the code expects, you can fix it by adding the correct version of VS to the #if statements. The error about out of heap space is caused when VS tries to build too many projects at once. You can tune the number down in the VS settings. I set it to two simultaneous builds and it resolved the issue. Quote Link to comment Share on other sites More sharing options...
Einstein_Cross_X1 Posted May 20, 2019 Share Posted May 20, 2019 (edited) Are there any plans to add build support for Visual Studio 2019 now that VS2017 is no longer supported by Microsoft? Edited May 20, 2019 by Einstein_Cross_X1 Quote Link to comment Share on other sites More sharing options...
pleroy Posted May 21, 2019 Share Posted May 21, 2019 7 hours ago, Einstein_Cross_X1 said: Are there any plans to add build support for Visual Studio 2019 now that VS2017 is no longer supported by Microsoft? No longer supported? Microsoft seems to differ, Visual Studio 2017 version 15.9, which we use, has a mainstream support end date of April 12, 2022. I have started looking into Visual Studio 2019, and the migration seems quite smooth, but in the past these things have ended up taking weeks: we need to update our tooling, check for performance regressions, report any bugs that we may find, etc. While it makes sense to use the latest greatest version from Microsoft, it's not like it's tremendously useful: we can hardly use C++17, not to mention C++20, because Mac has an antiquated version of Clang and libc++, and we need to be able to build on Mac. Quote Link to comment Share on other sites More sharing options...
zeant93 Posted May 24, 2019 Share Posted May 24, 2019 Hi, does Principia works with Outer Planet Mod in the stock version of KSP? Quote Link to comment Share on other sites More sharing options...
Eriksonn Posted May 25, 2019 Share Posted May 25, 2019 On 5/24/2019 at 5:56 PM, zeant93 said: Hi, does Principia works with Outer Planet Mod in the stock version of KSP? It almost does, but not quite. First off you have to re-modify the Jool system as principia doesnt do that automatically if the planets are not stock. (see the principia faq for that) Secondly i have noticed that the sarnus system is slightly unstable. I fixed it by going into the config files for opm and changing the sarnus system a little bit like this: Eeloo: semiMajorAxis = 21105978, Slate: semiMajorAxis = 46592946 Quote Link to comment Share on other sites More sharing options...
Delay Posted May 25, 2019 Share Posted May 25, 2019 13 minutes ago, Eriksonn said: slightly unstable. ? Either it's stable or unstable. What do you mean? Quote Link to comment Share on other sites More sharing options...
Eriksonn Posted May 25, 2019 Share Posted May 25, 2019 17 minutes ago, Delay said: ? Either it's stable or unstable. What do you mean? it is stable in the sense that nothing collides or gets ejected but (as far as i can remember) both Ovok and Hale gets moved into eccentric orbits that takes them very close to sarnus itself, this leads to a huge lag spike whenever one of them gets too close to sarnus becauce principia doesnt like it when planets or moons gets too close to each other, and the orbits gets very wiggly when that happens. In short Eeloo is too close to ovok and when moving it out Slate gets in the way and it needs to move out too. Quote Link to comment Share on other sites More sharing options...
eggrobin Posted June 2, 2019 Author Share Posted June 2, 2019 For the new moon (lunation number 240), the new release (Fatou) is out. Support for KSP 1.7.0 has been added. Note that 1.7.1 was released after we built the release, so it is not supported. Also note that we have no special support for the new orbital information display, so that, like MechJeb or Kerbal Engineer Redux, it will display the largely-useless osculating elements at current time instead of mean elements for some appropriate theory. Further, note that we have no special support for the new manœuvre node editor, so that it will likely be unusable. This is the last version to support KSP 1.3.1 and 1.4.x, as Realism Overhaul and Real Solar System now support 1.6.1. The next version will only support 1.5.1 and up. The ascending and descending nodes are now shown with respect to the equator in the body-centred, body-fixed frame, and in the body-centred inertial frame if the central body is sufficiently close (#1841). Many bugs have been fixed that were introduced with the UI changes in Fáry and during the underlying restructuring of the UI code in Fano. See the change log for more details. We thank @Miracle Magician for reporting a severe bug that would otherwise have been introduced in this release. We support two sets of versions of KSP: downloads are available for 1.4.x, 1.5.1, 1.6.1, 1.7.0, and for 1.3.1. Make sure you download the right one (if you don't, the game will crash on load). For the convenience of our Chinese users, the binaries can be downloaded either from Google Drive or from 腾讯微云. Quote Link to comment Share on other sites More sharing options...
Dr. Omicron Posted June 4, 2019 Share Posted June 4, 2019 When is the 1.7.1 version comin out, I want this mod sooo badly but some of my mods are 1.7.1 and I cant live without them. Quote Link to comment Share on other sites More sharing options...
Cratzz Posted June 5, 2019 Share Posted June 5, 2019 Umm, where is the Github download...? It's impossible to navigate the topic Quote Link to comment Share on other sites More sharing options...
Eriksonn Posted June 5, 2019 Share Posted June 5, 2019 On 2/5/2014 at 1:19 AM, eggrobin said: Download the binary (Macintosh, Ubuntu, and Windows) here for 1.3.1 and here for 1.4.x, 1.5.1, 1.6.1, and 1.7.0; Here Quote Link to comment Share on other sites More sharing options...
Miracle Magician Posted June 6, 2019 Share Posted June 6, 2019 On 6/4/2019 at 3:50 PM, MarkvirsII said: When is the 1.7.1 version comin out Unfortunately you need to wait until July 3rd, since this mod only updates every new moon. Quote Link to comment Share on other sites More sharing options...
Dr. Omicron Posted June 8, 2019 Share Posted June 8, 2019 you mean "new mun"? Quote Link to comment Share on other sites More sharing options...
scimas Posted June 8, 2019 Share Posted June 8, 2019 2 hours ago, MarkvirsII said: you mean "new mun"? No, that would happen at different times based on everyone's save files. New Moon definitely happens at the same time for everyone in the world. Quote Link to comment Share on other sites More sharing options...
drake127 Posted June 9, 2019 Share Posted June 9, 2019 Hi, I want to share my experience with compiling Principia from sources. I wanted to add KSP 1.7.1 support because waiting one whole month is unbearable and I was encouraged by the fact that there are virtually no changes in KSP support since 1.4.0. There's good tutorial how to build Principia from sources on project wiki (https://github.com/mockingbirdnest/Principia/blob/master/documentation/Setup.md) but I wanted to use VS 2019 and as little dependencies as possible. It turned out quite well because in the end I only needed: VS 2019 with C++ and C# support Windows SDK 10.0.18362 .NET Framework 4.7.2 SDK (and Targeting Pack) I also noticed that recommended PS command "$GitPromptSettings..." is unnecessary (it's just an optimization). It was necessary to patch all project files (including Google dependencies) to target .NET framework v4.7.2 (was v4.5, v4.5.2 and v4.6), SDK 10.0.18362.0 instead of others, and even change platform toolset to v142 (currently v141) - i.e. it was possible to completely switch to the most beautiful VS 2019. Great thing is that it compiles and passes tests! As for the changes for 1.7.1, there aren't that many (depends how thorough you want to be). For gaming it's enough to replace all 1.7.0 to 1.7.1, 1_7_0 to 1_7_1 and fix ksp_plugin_adapter.cs on line 207 to (Versioning.version_minor == 7 && Versioning.Revision <= 1))). It compiles for some time and if it fails, you have to start from the beginning. When I managed to build Google dependencies, I commented them out (build_solutions($dependencies)) in rebuild_all_solutions.ps1 to speed things up a bit. I had to compile Principia about four times before I catched all the errors but it's definitely doable and there's no dark magic. :-) Quote Link to comment Share on other sites More sharing options...
ZAJC3W Posted June 10, 2019 Share Posted June 10, 2019 @drake127would you be so kind and share your recompiled dll's? I'm failing miserably... Quote Link to comment Share on other sites More sharing options...
drake127 Posted June 10, 2019 Share Posted June 10, 2019 5 hours ago, ZAJC3W said: @drake127would you be so kind and share your recompiled dll's? I'm failing miserably... I can but I am not sure if it's allowed here or generally a good idea. What errors did you encounter? Quote Link to comment Share on other sites More sharing options...
ZAJC3W Posted June 10, 2019 Share Posted June 10, 2019 (edited) MIT license in principia project is pretty open. I found out I need to wait for RP-1 anyway as it's 1.6.1 version is till in deep(unplayable) WIP, so no worry I'll wait for official release. Screw waiting I'm too inpatient.... Firstly you need VS enterpise edition then you have to install Windows SDK 10.0.18362 manually, VS installer won't include Windows debug tools then you will find that included build scripts expect vesion 16.2.0 preview 1 of VS( VS 2019 is in version 16.1.2 ) you load up principia.sln only to find that some source files are missing and you need references to unity dll.s that not come with KSP. after some script modification(explicitly pointing to msbuild.exe and commenting out google dependencies) i'm stuck on CustomBuild: Generating C++ files for F:\sources\Principia-2019060310-Fatou\Principia\serialization\geometry.proto The system cannot find the path specified. Generating C++ files for F:\sources\Principia-2019060310-Fatou\Principia\serialization\quantities.proto The system cannot find the path specified. Generating C++ files for F:\sources\Principia-2019060310-Fatou\Principia\serialization\physics.proto The system cannot find the path specified. Generating C++ files for F:\sources\Principia-2019060310-Fatou\Principia\serialization\ksp_plugin.proto The system cannot find the path specified. Generating C++ files for F:\sources\Principia-2019060310-Fatou\Principia\serialization\numerics.proto The system cannot find the path specified. Generating C++ files for F:\sources\Principia-2019060310-Fatou\Principia\serialization\integrators.proto The system cannot find the path specified. Generating C++ files for F:\sources\Principia-2019060310-Fatou\Principia\serialization\astronomy.proto The system cannot find the path specified. Generating C++ files for F:\sources\Principia-2019060310-Fatou\Principia\serialization\journal.proto The system cannot find the path specified. 17>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(220,5): error MSB6006: "cmd.exe" exited with code 3. [F:\sources\Principia-2019060310-Fatou\Principia\serialization\serialization.vcxproj] files are there, no idea what the heck it's winging about Edited June 11, 2019 by ZAJC3W Quote Link to comment Share on other sites More sharing options...
drake127 Posted June 11, 2019 Share Posted June 11, 2019 15 hours ago, ZAJC3W said: ... You need to build Google dependencies once - you are apparently missing protoc.exe (Google protobuf) that compiles .proto files. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.