Author Topic: Any Users Trying WIP?  (Read 1377 times)

AQUAR

  • Hero Member
  • *****
  • Posts: 1014
Any Users Trying WIP?
« on: November 29, 2016, 09:32:03 AM »
Notice that Mean has started a new thread about creating a M$ windows ADM build environment.
And with using visual studio as the compiler.

Shall be following that thread with great interest.
Hope that other windows based users will also see the merit of building their own ADM and join in.

Thanks Mean 

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 1380
Re: Any Users Trying WIP?
« Reply #1 on: November 29, 2016, 09:43:13 PM »
After sorting out a few issues in cross compiling scripts, it turned out to be so reliable, easy and fast to build a fully-featured Avidemux for Windows on Debian with MXE that setting up this environment in a virtual machine running on a Windows host would meet the needs of Windows based users quite fine IMHO (unless the goal is to avoid Linux at any cost).

mean

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10946
Re: Any Users Trying WIP?
« Reply #2 on: November 30, 2016, 06:46:36 AM »
The problem is debugging
cross compiler generates executable that are very hard to debug

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 1380
Re: Any Users Trying WIP?
« Reply #3 on: November 30, 2016, 09:17:09 AM »
Thank you for clarifying the technical reasons for taking this route.

AQUAR

  • Hero Member
  • *****
  • Posts: 1014
Re: Any Users Trying WIP?
« Reply #4 on: November 30, 2016, 10:58:58 AM »
My original attempt to build ADM on windows was just to find out why the windows version would crash.
At the time, there were some end users (including me!) that got exception errors whilst using ADM.

I failed badly because there was just to much of a knowledge gap for me to bridge (and too little time to spend on this).
Still have an entire windows 7 installation just for trying to natively build ADM.
My interest in this hasn't waned, so hence the enthusiasm for Mean's new "Work In Progress" thread on this topic.

In the old days (pre 2.6) we had people like Gruntster to compile windows ADM natively (there was even an Australian site to DL these versions).


« Last Edit: November 30, 2016, 11:03:44 AM by AQUAR »

AQUAR

  • Hero Member
  • *****
  • Posts: 1014
Re: Any Users Trying WIP?
« Reply #5 on: December 09, 2016, 10:37:07 AM »
DL'd Visual studio, Winbuild and from previous attempt Msys,  Cmake and Mingw64.

Is there anything else I need to get my hands on to give this a go?

mean

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10946
Re: Any Users Trying WIP?
« Reply #6 on: December 09, 2016, 12:14:15 PM »
zlib, sqlite3 winpthread, yasm,
mingw/msys : bash, tar, patch, gip, make

That's it

It's slightly broken at the moment, but you should be able to compile core without too much problems





AQUAR

  • Hero Member
  • *****
  • Posts: 1014
Re: Any Users Trying WIP?
« Reply #7 on: December 10, 2016, 10:00:40 AM »
Thanks,

Will be interesting to play with.

AQUAR

  • Hero Member
  • *****
  • Posts: 1014
Re: Any Users Trying WIP?
« Reply #8 on: August 16, 2017, 11:28:25 AM »
@ Mean
Were there any advances/changes to the "WIP" process described at http://avidemux.org/smif/index.php/topic,17302.msg78247.html#msg78247 ?

Pity, I lost the HDD with my earlier attempts to build ADM natively on windows 7 64 using MSYS and MINGW.
It never really worked without brutally changing/killing any code that was objectionable.
 
The "WIP" thread on building a minimal ADM with Visual Studio and MSYS peaked my interest, but unfortunately no time to pursue it then.
Got WIN 7 64 bit in a virtual box just to try it out.
If any end user has tried this (or any build root on windows!) I'd be interested in the experience.

 
 

 

mean

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10946
Re: Any Users Trying WIP?
« Reply #9 on: August 17, 2017, 06:34:56 AM »
It mostly works

AQUAR

  • Hero Member
  • *****
  • Posts: 1014
Re: Any Users Trying WIP?
« Reply #10 on: August 17, 2017, 10:28:37 AM »
Mostly works - that's ominous!

Lost VS2015 community along with the HDD failure.
Microsoft links to it no longer work but found a third party site with copy of it.

« Last Edit: August 17, 2017, 12:05:02 PM by AQUAR »

AQUAR

  • Hero Member
  • *****
  • Posts: 1014
Re: Any Users Trying WIP?
« Reply #11 on: August 19, 2017, 09:57:01 AM »
Didn't realise this:
VS2015 enterprise edition (30 day trial) needed over 14GB of free HDD space to install the bare minimum plus visual C++.
I presume visual C++ needs to be installed for access to the C++ compiler.
My VirtualBox machine with win7 failed to install VS2015 due to it running out of disk space.

The failed install process took over 4 hours and seems to want internet connectivity (presume to install updates!).
Never installed anything that took sooo long (even in a virtual machine!). 

Consequently I suggest a decent virtual disk of at least 45GB is needed to try building ADM core natively with VS "AnatV".
Have since found VS2015 community with update 3 included (hopefully the install will be a lot speedier with this ISO).

« Last Edit: August 19, 2017, 10:34:50 AM by AQUAR »

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 1380
Re: Any Users Trying WIP?
« Reply #12 on: August 19, 2017, 11:17:39 AM »
VS2015 enterprise edition (30 day trial) needed over 14GB of free HDD space to install the bare minimum plus visual C++. [...]

Consequently I suggest a decent virtual disk of at least 45GB is needed to try building ADM core natively with VS "AnatV".

Wow, twice the space is needed for a VM with Fedora and MXE (64bit only for now) I use to cross-compile Avidemux win64. It has taken also much less time to set up and produces almost fully-featured (no avsproxy and no twolame though) builds. The VM is VirtualBox running on Windows 10.

AQUAR

  • Hero Member
  • *****
  • Posts: 1014
Re: Any Users Trying WIP?
« Reply #13 on: August 19, 2017, 01:24:35 PM »
IIRC the MINGW/MSYS build root for ADM that I set up previously (on windows 7) was under 25GB.

I was kind off surprised with the size of the VS IDE, and it is even bigger when including the last update (and a patch on top of that!).
There is at least 10GB left on the 45GB Virtual HDD for all the other requirements - no idea if that is enough.
 
Compiling (& xcompliling) in a Linux environment is well covered by various programmers like Mean, Koolaidman, Yourself and others.
I am just curious to do it natively for the windows version, like it was done back in the day of ADM 2.5.

My biggest issue is that every hiccup becomes a tangent process that diverts the main game.
Not being a software programmer there are a lot of tangents!

Why don't you try compiling windows ADM natively?

 

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 1380
Re: Any Users Trying WIP?
« Reply #14 on: August 20, 2017, 12:01:09 AM »
Why don't you try compiling windows ADM natively?

Because it would not help me to contribute to Avidemux, i.e. in my case it would be a waste of time and effort. BTW, every time I hear "MSYS", I feal nothing but blank horror.

(Nothing, absolutely nothing against you trying to build Avidemux natively on Windows. Good luck!)