|
From: | Leland Green |
Subject: | Re: [Linphone-developers] Best plaform to compile Windows EXE |
Date: | Thu, 7 Apr 2016 09:01:47 -0500 |
Hi Leland,Yeah, your assumption is right. I am looking to modify source code and then compile but before that at least i want default source to be compiled. :)I was able to generate linux executable by compiling but not an .exe :(Do you know any other easier way to generate .exe using source?Thanks,
Arpit ModiOn Thu, Apr 7, 2016 at 6:58 PM, Leland Green <address@hidden> wrote:Arpit,You will not have an ".exe" under Linux. The executable will be called linphone, or linphonec, the latter being the console version. It won't have the .exe.As for building it, you have to build a lot of other projects, too, but I'd have to look that up. (I did it once and thought I had problems, which in retrospect I think was the config settings, so I removed it. However, I think I'll reinstall to rebuild so I *can* debug some things.)You know you can just install it with 'apt-get install linphone', right? (For Debian/apt-based systems.) Unless you're changing code, this is the way to go. But I assume since you found this mailing list, you're a developer. :)HTH,Leland...On Thu, Apr 7, 2016 at 8:21 AM, arpit modi <address@hidden> wrote:Please let me know.I am loosing hope now, is there any other documentation or tutorial available to build and compile setup.exe on linux machine?Thanks Henrik and Leland. :)So i found MinGW/MSYS is not useful for linux. Its only for windows to run unix commands.Thanks,
Arpit ModiOn 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:It seems to be more complex than expected. :DHi 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/.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 ModiOn 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:
So above DLLs are missing, and finally ended up with below error which i guess is theme its trying to find.When i had tried earlier with "make setup.exe" it was throwing below errors:I will definitely give it a try and let you know how it goes.Hi Henrik,Thank you very much for sharing detailed information. :)
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
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.Jokes apart,
But i am not even getting a pig, that is why looking for a proper way here. :D
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:
Is there any changes to compile in Ubuntu linux and generate exe?Do you prefer any specific version of Windows OS or any version will be good?Hi Amit,Thanks for your valuable response.
Thanks,
Arpit Modi
On Wed, Apr 6, 2016 at 5:13 PM, Amit Bagga <address@hidden> wrote:
ABThank You,Hello,Please use a windows machine with VS 2015 installed with the command line tools for C++.
On Wed, Apr 6, 2016 at 4:25 PM, arpit modi <address@hidden> wrote:
_______________________________________________Error log: http://pastebin.com/fSyP0BUXIf yes, then where do i get missing files which are showing while executing "make setup.exe".Can anyone please let me know if its possible to generate windows setup.exe file by compiling linphone on Ubuntu 12.04.5 LTS?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.
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
_______________________________________________
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
[Prev in Thread] | Current Thread | [Next in Thread] |