Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Building under Windows #2

Closed
doosterkamp opened this issue Jun 12, 2012 · 6 comments
Closed

Building under Windows #2

doosterkamp opened this issue Jun 12, 2012 · 6 comments

Comments

@doosterkamp
Copy link
Contributor

Hi Fritz ...

First: Love the work you're doing on the webclient!

Then my question:
Can you please post a small manual on how to compile this code under Windows? (and what the prerequisites for this is)

@felfert
Copy link
Member

felfert commented Jun 12, 2012

Sorry, but I never have tried that. At least, you would need a full MinGW/MSYS development system installed on Windows.
Before you can even start, you first need to build the latest FreeRDP libs (from GIT) as well as EHS (http://sourceforge.net/projects/ehs/). After that you can try.
However:
Neither EHS nor wsgate are currently prepared to be build in a native MinGW environment (only cross-build).
If you are an experienced developer with knowledge of autotools you might be able to adapt the configure.ac of both packages.

My advice:
Get Fedora Linux, install it in VirtualBox, then in that VM: install Fedora's standard mingw32 packages, plus my mingw32 packages of EHS and FreeRDP and you are set to go. Building wsgate is then just a matter of 3 steps after git checkout:

make -f Makefile.am
mingw32-configure --with-dllpath=/usr/i686-pc-mingw32/sys-root/mingw/bin
make dist-platform

@doosterkamp
Copy link
Contributor Author

Hi Fritz ..

Thanx for your answer ...

I stated my question wrong. I ment to ask how to compile for Windows.
So if the above is all to it, then that will do.

Thanks

PS. If I have some change suggestions or additions for your code, do I post them here? I want to use the webconnect in a personal project, but for that I want to make it also suitable for the Android tabs and the iPad ...

@Shumen
Copy link

Shumen commented Jun 20, 2012

How could I generate the install wizard, namely the Setup.exe installer?
I compiled but no idea where to put those files. Thanks.

@felfert
Copy link
Member

felfert commented Jun 20, 2012

make dist-platform

@Shumen
Copy link

Shumen commented Jul 2, 2012

Hi Fritz, what did you do to compile FreeRDP successfully with mingw32?
FreeRDP won't be compiled with mingw32, mingw64 is OK.

Thank you very much.

@felfert
Copy link
Member

felfert commented Jul 2, 2012

If it built ok for you with mingw64, it should build for mingw32 as well. For me, neither mingw64 nor mingw32 were ok (cross-build on Fedora 16) and I simply fixed all issues. I also sent Marc a patch a while ago, but he was too busy at the time. Due to the massive changes regarding winpr, that patch is now obsolete. We agreed, that I will commit the changes next week, when winpr is settling down. After that - FreeRDP should cross-build for mingw32 and -64 out of the box.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants