News:

--

Main Menu

Any Users Trying WIP?

Started by AQUAR, November 29, 2016, 09:32:03 AM

Previous topic - Next topic

AQUAR

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

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

The problem is debugging
cross compiler generates executable that are very hard to debug

eumagga0x2a

Thank you for clarifying the technical reasons for taking this route.

AQUAR

#4
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).



AQUAR

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

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

Thanks,

Will be interesting to play with.

AQUAR

@ 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


AQUAR

#10
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.


AQUAR

#11
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).


eumagga0x2a

Quote from: AQUAR on August 19, 2017, 09:57:01 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

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

Quote from: AQUAR on August 19, 2017, 01:24:35 PM
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!)