Jump to content


Photo

[WIP] How to build ModOrganizer using Modorganizer-Umbrella


  • Please log in to reply
26 replies to this topic

#1 LePresidente

LePresidente

    Prisoner

  • Mod Authors
  • 49 posts

Posted 10 September 2017 - 11:41 PM

Background on Modorganizer-Umbrella:

 

USE MY REPO: https://github.com/L...anizer-umbrella

 

Unimake was designed by Tannin to be a fully isolated build environment, That will build all the dependencies in the correct order and allow you to rebuild certain parts just by deleting a txt file in the progress folder.

 

Here are the dependency graphs that currently unimake takes care of.

 

MASTER:

https://imgur.com/TT7TFGg.png

 

 

If you wish to rebuild only modorganizer once everything is complete, you simply delete the relevant txt file in the progress folder, e.g

E:\MO2\progress\modorganizer_complete_cmake modorganizer.txt

Then rerun  python.exe unimake.py -d "E:/MO2" and it will rebuild the relevant project.

 

Software Requirements: (Master)

 

  1. Windows Machine (64Bit) since MO2 is a 64bit binary
  2. Python 2.7.13 (64Bit) Link: https://www.python.o....7.13.amd64.msi
  3. CMake (latest 64bit)  Link: https://cmake.org/fi...2-win64-x64.msi
  4. 7zip (Latest 64Bit) Link: http://www.7-zip.org/a/7z1700-x64.exe
  5. Git Link: https://github.com/g...14.1-64-bit.exe
  6. Qt 5.9.1 http://download.qt.i...-x86-online.exe (Qt Packages: msvc2015-64,qtwebengine,qtscript)

Only for Master Branch:

  1. MSVC 2015 Community (Install with default options) Link: https://www.visualst...lder-downloads/

    Custom Installation options for MSVC 2015 Community After Installation:

  1. Go to control panel -> Programs and Features
  2. Find "Microsoft Visual Studio Community 2015", Right Click and click change, Then click modify.
  3. Make sure "Common Tools for Visual C++ 2015" is ticked.
    lYPfCKA.png
  4. Make sure "Windows 10 SDK (10.0.10240)" is ticked.
    k9c1jaH.png
  5. Click Next then Update.

Install this Optionally if you wish to build the MSVC2013 Branch (Currently used for MO2 V2.08 and possibly MO1 Branch in the future)

  1. MSVC 2013 Community  (Install with default options) Link: https://www.visualst...lder-downloads/

 

Build Instructions:

 

Master Branch:

 

*** NOTE where you clone modorganizer-umbrella to, must be on the same drive as your output folder,

E.g if modorganizer-umbrella is at "E:/DEV/modorganizer-umbrella" your output folder should be "E:/MO2" ***

  1. Clone modorganizer-umbrella to a folder of your choice, closer to the drive letter the better e.g: E:/modorganizer-umbrella
  2. Open up a cmd window and run the following in the modorganizer-umbrella folder: python.exe unimake.py -d "E:/MO2"

That should be it, Should take an hour or two since we using the QT 5.9.1 binary install. If there are any issues please open an issue. The issues are normally related to paths not being set correctly, by unimake for the relevant developer pc's due to other software installed.

 

The Master branch is the most up to date so build fixes happen here alot faster then then the legacy build branches.

 

Known issues:

 

*** NONE AT THE TIME OF WRITING ***


Edited by LePresidente, 29 October 2017 - 11:28 PM.

  • 0

#2 GrantSP

GrantSP

    The antipodean

  • Super Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,012 posts

Posted 11 September 2017 - 12:03 AM

Oooh goody, though if it was as convoluted as last time I may pass.



#3 LePresidente

LePresidente

    Prisoner

  • Mod Authors
  • 49 posts

Posted 11 September 2017 - 04:53 AM

I'm currently build the MSVC2013 branch so i'll update known issues for that when I encounter an error. Using my work pc so I've never built it before.


  • 0

#4 Freso

Freso

    Prisoner

  • Members
  • 14 posts

Posted 11 September 2017 - 05:31 AM

I'm curious if anyone has tried this process under Linux or another *nix using MinGW (or similar)? Python, CMake, 7zip, ... are all readily available on all common (and pretty much all uncommon) distributions, so only the MSVC bit stands in the way of being cross-compiled.
  • 0

#5 LePresidente

LePresidente

    Prisoner

  • Mod Authors
  • 49 posts

Posted 11 September 2017 - 06:17 AM

I'm curious if anyone has tried this process under Linux or another *nix using MinGW (or similar)? Python, CMake, 7zip, ... are all readily available on all common (and pretty much all uncommon) distributions, so only the MSVC bit stands in the way of being cross-compiled.

 

been discussed before I took over. https://github.com/T...rella/issues/16


  • 0

#6 LePresidente

LePresidente

    Prisoner

  • Mod Authors
  • 49 posts

Posted 21 September 2017 - 05:30 AM

Will hopefully be pushing a commit shortly to allow the use of the precompiled Qt install. Should avoid very long build times using umbrella.


  • 0

#7 Langmans

Langmans

    Prisoner

  • Members
  • 6 posts

Posted 03 October 2017 - 02:49 PM

I had an issue where the build process stopped because networkx 2.0 was installed (error about digraph node_iter or whatever it was called). Managed to fix it for myself even tho I don't usually code in python :D

 

https://github.com/T...rella/issues/42


  • 0

#8 Langmans

Langmans

    Prisoner

  • Members
  • 6 posts

Posted 03 October 2017 - 03:22 PM

I had an issue where the build process stopped because networkx 2.0 was installed (error about digraph node_iter or whatever it was called). Managed to fix it for myself even tho I don't usually code in python :D

 

https://github.com/T...rella/issues/42

Aaaannnddd... Ignore that, I used tanninone's repo....


  • 0

#9 Helidoc

Helidoc

    Citizen

  • Mod Authors
  • Pip
  • 61 posts

Posted 05 October 2017 - 07:51 PM

Ok this is a PITA (pain in the ass) can't seem to get past the fact that QT5 in the build doesn't build Qt5WebEngineWidgets so it fails when it gets called in the cmake for mo in the initial build under the umbrella. Might make some changes there, already forked it to my GitHub from Tanninone's  umbrella which is where LePresidente is pointing to. Keep in mind last time I coded it was CoBol and Fortran and that was over 25 years ago and my schooling was over 40 years ago :p Seems to be a good project for my "golden" years. Think I'll do a manual install of qt5.8 and a few edits and see where that takes me. I know the folks over at Chromium made a few changes lately with win 10 and all which is perhaps why this is called out in this program, see ( https://chromium.goo...d#Visual-Studio) for details if your interested, so it may take so updates for this. :)


  • 0

#10 GrantSP

GrantSP

    The antipodean

  • Super Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,012 posts

Posted 05 October 2017 - 08:06 PM

If it's any consolation I too had those sort of issues with Qt dependencies last time I tried. Could be we're both "old farts"?



#11 Helidoc

Helidoc

    Citizen

  • Mod Authors
  • Pip
  • 61 posts

Posted 05 October 2017 - 08:20 PM

I believe so GrantSP :P but what the hell MO2 is like an old ex that keeps yapping in my ear and I just want to do something..... I just about fell over when I seen all the dependencies of MO2 talk about the mother of builds, I started looking for my punch cards :) https://youtu.be/KG2M4ttzBnY


Edited by Helidoc, 05 October 2017 - 08:26 PM.

  • 0

#12 Helidoc

Helidoc

    Citizen

  • Mod Authors
  • Pip
  • 61 posts

Posted 05 October 2017 - 09:03 PM

Computers of my generation https://youtu.be/wIjgZhAjQS4  :rofl:  :wacko:  :dancingbanana:


  • 0

#13 LePresidente

LePresidente

    Prisoner

  • Mod Authors
  • 49 posts

Posted 06 October 2017 - 05:50 AM

Ok so i stopped pushing commits to tannins Repo, My bad.

 

Currently my Master branch uses the QT Binary install so that should help you out alot. 


Edited by LePresidente, 06 October 2017 - 05:50 AM.

  • 0

#14 Helidoc

Helidoc

    Citizen

  • Mod Authors
  • Pip
  • 61 posts

Posted 06 October 2017 - 08:26 AM

Ok so i stopped pushing commits to tannins Repo, My bad.

 

Currently my Master branch uses the QT Binary install so that should help you out alot. 

How are you handling Networkx 1.11 vs 2.0 my system wants to use 2.0 by default?


  • 0

#15 LePresidente

LePresidente

    Prisoner

  • Mod Authors
  • 49 posts

Posted 06 October 2017 - 08:30 AM

How are you handling Networkx 1.11 vs 2.0 my system wants to use 2.0 by default?

 

my Master branch only uses Networkx 2.0 now, Though its for the drawing of the graphs which is not really required for the build process so I might just remove it.


  • 0


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users