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

Compiling on Windows using MSYS / gfortran #4

Closed
lcota opened this issue Dec 9, 2014 · 6 comments
Closed

Compiling on Windows using MSYS / gfortran #4

lcota opened this issue Dec 9, 2014 · 6 comments

Comments

@lcota
Copy link

lcota commented Dec 9, 2014

gfortran does not pass the compile checks - how do you build this on windows?

image

@zholos
Copy link
Owner

zholos commented Dec 10, 2014

You can build it with Cygwin tools and the MinGW compilers. Install Cygwin and the packages listed
on the wiki page: Compiling on Windows.

I'm looking into using MSYS tools.

@lcota
Copy link
Author

lcota commented Dec 12, 2014

Thanks - I'll have a go with mingw64 when I can set that up.
On Wed, Dec 10, 2014 at 10:38 AM Andrey Zholos notifications@github.com
wrote:

You can build it with Cygwin tools and the MinGW compilers. Install Cygwin
and the packages listed
on the wiki page: Compiling on Windows
http://../wiki/Compiling-on-Windows.

I'm looking into using MSYS tools.


Reply to this email directly or view it on GitHub
#4 (comment).

@zholos
Copy link
Owner

zholos commented Dec 12, 2014

Looks like the original issue was that gfortran was not installed at all. I made the messages clearer in this situation, but if something similar happens you can check conftest.out and conftest.err for details.

I made some changes to the qml build system to support MSYS and added relevant instructions to the wiki page.

The end result should be the same regardless of whether Cygwin or MSYS is used to run configure and make. The binaries are compiled with MinGW-w64 in either case.

@lcota
Copy link
Author

lcota commented Dec 12, 2014

Yes, that's correct - i had my path setup incorrectly. Now the error message is different.

image

@zholos
Copy link
Owner

zholos commented Dec 12, 2014

Don't forget to update qml to 0.5.3 and you need to install MinGW-w64 (see bottom of Compiling on Windows) and set up the path to it. The detected compilers should be called i686-w64-mingw32-gcc and i686-w64-mingw32-gfortran.

@zholos zholos closed this as completed Dec 23, 2014
@lcota
Copy link
Author

lcota commented Mar 10, 2015

thanks - will give this a shot and report back.

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