Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How did you get libraries compiled on Windows? #36

Open
nick7ikin opened this issue Sep 26, 2013 · 1 comment
Open

How did you get libraries compiled on Windows? #36

nick7ikin opened this issue Sep 26, 2013 · 1 comment

Comments

@nick7ikin
Copy link

Hello, Kyle

I see here compiled binaries of liberror, libassuan, ligpgme. My question is how did you get them compiled on Windows? My goal is to update gpgme with custom functionality. I've updated gpgme sources and successfully rebuild gpgme library on linux, but I can't do the same on windows.

All these libs (liberror, libassuan, ligpgme) are open-source projects based on gnu make utility. And none of them includes VC++ project files.

The most obvious way to build them is to run "./configure && make" in MinGW or Cygwin environment. But I doubt if I can use binaries compiled with gcc/g++ in VC++ projects (here is a question from a guy who met this issue).

The next option I see is to create VC++ project manually by adding all *.h, *.c, *.cpp files into the project. I think it is very shaky approach.

It would be great if there is way to pass Makefile directly to vc++ compiler, but I didn't manage to find it. Also this approach will require to run "./configure" script in order to get Makefile. I don't think this is possible in the Windows CLI.

Thanks in advance for your help

@kylehuff
Copy link
Owner

Sorry for the late response, I've been having some email issues of late...

IIRC, I compiled those libraries using MinGW on Windows XP. I don't remember needing to do anything spectacular to get them to compile. If you need, I could try to reproduce my results and throw together a HOWO guide. Just let me know.

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

No branches or pull requests

2 participants