linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Best plaform to compile Windows EXE


From: arpit modi
Subject: Re: [Linphone-developers] Best plaform to compile Windows EXE
Date: Thu, 7 Apr 2016 18:51:45 +0530

Thanks Henrik and Leland. :)
So i found MinGW/MSYS is not useful for linux. Its only for windows to run unix commands.

I am loosing hope now, is there any other documentation or tutorial available to build and compile setup.exe on linux machine?

Please let me know.

Thanks,
Arpit Modi

On Thu, Apr 7, 2016 at 5:41 PM, Leland Green <address@hidden> wrote:
Those are tools that allow you to build Linux software on Windows, so you definitely will *not* need MinGW/MSYS.

On Thu, Apr 7, 2016 at 6:37 AM, arpit modi <address@hidden> wrote:
Hi Henrik,

Yes, i already checked linphone-deps archive, but those are different DLLs. So i think i manually have to search and download each of them one by one and place in /usr/local/bin/.

It seems to be more complex than expected. :D

Will i need MinGW or MSYS for linux? I am looking to build it with GUI.

I really appreciate all your help so far.

Thanks,
Arpit Modi

On Thu, Apr 7, 2016 at 4:16 PM, Henrik Pauli <address@hidden> wrote:
Most of those are in the linphone-deps archive you can get (see my README.md)

The paths (/usr/local/bin/...) are what Belledonne Communication's build system suspects which are correct in, for example, a Windows equipped with an MSYS environment, but they are incorrect in any other MinGW-based system (because on linux, in /usr/bin and /usr/local/bin you only ever find Linux binaries).

Also look at the make commands in my Build.sh to see what arguments it uses for Make.  I have never built setup.exe in particular.

I do not use the GUI, so I never satisfied the GTK dependency for my build of Linphone.  I only interact with linphoned.exe and linphonecsh.exe so that's all my build system cares about.


On 06/04/16 21:22, arpit modi wrote:
Hi Henrik,

Thank you very much for sharing detailed information. :)
I will definitely give it a try and let you know how it goes.

When i had tried earlier with "make setup.exe" it was throwing below errors:

cp: cannot stat `/usr/local/bin/freetype6.dll': No such file or directory
cp: cannot stat `/usr/local/bin/intl.dll': No such file or directory
cp: cannot stat `/usr/local/bin/libasprintf-0.dll': No such file or directory
cp: cannot stat `/usr/local/bin/libatk-1.0-0.dll': No such file or directory
cp: cannot stat `/usr/local/bin/libcairo-2.dll': No such file or directory
cp: cannot stat `/usr/local/bin/libcairo-gobject-2.dll': No such file or directory
cp: cannot stat `/usr/local/bin/libcairo-script-interpreter-2.dll': No such file or directory
cp: cannot stat `/usr/local/bin/libexpat-1.dll': No such file or directory
cp: cannot stat `/usr/local/bin/libfontconfig-1.dll': No such file or directory
cp: cannot stat `/usr/local/bin/libgailutil-18.dll': No such file or directory
cp: cannot stat `/usr/local/bin/libgcc_s_dw2-1.dll': No such file or directory
cp: cannot stat `/usr/local/bin/libgdk-win32-2.0-0.dll': No such file or directory
cp: cannot stat `/usr/local/bin/libgdk_pixbuf-2.0-0.dll': No such file or directory
cp: cannot stat `/usr/local/bin/libgio-2.0-0.dll': No such file or directory
cp: cannot stat `/usr/local/bin/libglib-2.0-0.dll': No such file or directory
cp: cannot stat `/usr/local/bin/libgmodule-2.0-0.dll': No such file or directory
cp: cannot stat `/usr/local/bin/libgobject-2.0-0.dll': No such file or directory
cp: cannot stat `/usr/local/bin/libgthread-2.0-0.dll': No such file or directory
cp: cannot stat `/usr/local/bin/libgtk-win32-2.0-0.dll': No such file or directory
cp: cannot stat `/usr/local/bin/libpango-1.0-0.dll': No such file or directory
cp: cannot stat `/usr/local/bin/libpangocairo-1.0-0.dll': No such file or directory
cp: cannot stat `/usr/local/bin/libpangoft2-1.0-0.dll': No such file or directory
cp: cannot stat `/usr/local/bin/libpangowin32-1.0-0.dll': No such file or directory
cp: cannot stat `/usr/local/bin/libpng14-14.dll': No such file or directory
cp: cannot stat `/usr/local/bin/zlib1.dll': No such file or directory

So above DLLs are missing, and finally ended up with below error which i guess is theme its trying to find.

make[1]: *** [gtk-cherrypick] Error 1

===============================

If you have any idea about above errors, please share.

Moreover, Can you please let me know if you were able to see phone GUI after installing the build .exe in windows machine?




Thanks,
Arpit Modi

On Wed, Apr 6, 2016 at 8:45 PM, Henrik Pauli <address@hidden> wrote:
It really is rather complex and I'm not sure if it still works...  I did this on a Fedora 21, with its mingw64-32 stuff, with Linphone 3.8.5.

The entirety of my Linphone stuff lived under ~/win32, so the build script makes assumptions about that.

I didn't make proper patches for the things mentioned in README.md, but they have very straightforward instructions I think.

I manually collected the external, run-time DLL dependencies into a directory, which I figured out after trying to run the compiled Linphone a dozen times... and they are the following:

~/win32/LinphoneDLLs$ ls
iconv.dll  libantlr3c.dll  libbzrtp-0.dll  libgcc_s_sjlj-1.dll  libgsm-1.dll  libintl-8.dll  libopus-0.dll  libpolarssl-0.dll  libspeex-1.dll  libspeexdsp-1.dll  libsqlite3-0.dll  libwinpthread-1.dll  libxml2-2.dll  zlib1.dll

Build.sh also assumes these directories, but it's easy to change if you want.

I have no idea what I had to install onto my Fedora to make the cross-compilation work at all.

Good luck :)


On 06/04/16 14:51, arpit modi wrote:
@Amit, yeah actually i wanted to do some customization in default linphone and generate .exe for the same.

@Henrik, That's really impressive. Can i please get those patches and steps? It will be really appreciated.

Thanks,
Arpit Modi

On Wed, Apr 6, 2016 at 6:14 PM, Henrik Pauli <address@hidden> wrote:
It is possible, but not without some considerable patching to the automake stuff, in particular the paths that assume MSYS environment rather than a generic MinGW one (eg. it expects to load Windows libs from /usr/lib rather than from wherever MinGW is, as on Linux /usr/lib contains only Linux libraries).  I have built the console part of Linphone and some plugins in the past.  I vaguely remember posting some of my patches related to this to this mailing list in the past (and a lot of thanks goes to one of the other members for his help in pointing me in the right direction when I got stuck)


On 06/04/16 14:38, arpit modi wrote:
Well yeah, you are right.
But i am not even getting a pig, that is why looking for a proper way here. :D

Jokes apart,

I have already tried with Windows 8.1 and it did not go right.

Is Linux (ubuntu) is able to generate .exe by compiling linphone source?





Thanks,
Arpit Modi

On Wed, Apr 6, 2016 at 5:37 PM, Amit Bagga <address@hidden> wrote:
Use what ever OS.

You can't get a dog from a pig.

Thank you,
AB


On Wednesday 6 April 2016, arpit modi <address@hidden> wrote:
Hi Amit,

Thanks for your valuable response.

Do you prefer any specific version of Windows OS or any version will be good?

Is there any changes to compile in Ubuntu linux and generate exe?


Thanks,
Arpit Modi

On Wed, Apr 6, 2016 at 5:13 PM, Amit Bagga <address@hidden> wrote:
Hello,

Please use a windows machine with VS 2015 installed with the command line tools for C++.

Thank You,
AB


On Wed, Apr 6, 2016 at 4:25 PM, arpit modi <address@hidden> wrote:
Dear Team,

I wanted to build and compile windows exe setup for linphone.

I am referring steps mentioned in README file.

I have tried multiple ways and platforms but not succeeded so far.
I am pretty much sure, i might be doing something wrong.

Can anyone please let me know if its possible to generate windows setup.exe file by compiling linphone on Ubuntu 12.04.5 LTS?

If yes, then where do i get missing files which are showing while executing "make setup.exe".
Error log: http://pastebin.com/fSyP0BUX

If no, then which is the best OS to compile and generate windows setup.exe?

Looking forward to some positive responses.



Thanks,
Arpit Modi

_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers



_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers



_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers




_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers




_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers




_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers



_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers



_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers



reply via email to

[Prev in Thread] Current Thread [Next in Thread]