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

Windows cygwin build fails #28

Open
aagnone3 opened this issue Jun 14, 2016 · 5 comments
Open

Windows cygwin build fails #28

aagnone3 opened this issue Jun 14, 2016 · 5 comments

Comments

@aagnone3
Copy link

I'm experiencing some build issues for a windows machine with cygwin. The g++ compiler is successfully located, but still ends with several compile errors. System information is below, and I have attached the build's output.

OS: Windows 7 64-bit
Compiler: g++ v5.3
Python v3.5

Build command:
python setup.py build --compiler=cygwin > build_output.txt
build_output.txt

@deads
Copy link
Contributor

deads commented Jun 14, 2016

Thanks for the bug report. I will look into it!

@deads
Copy link
Contributor

deads commented Jun 22, 2016

As noted here, it may be that your Anaconda Python was compiled with a different compiler than the gcc used to compile ParaText. It's been ages since I have used Cygwin. You may have better success with MinGW. Have you tried it?

@aagnone3
Copy link
Author

Seeing some different issues with MinGW. They don't seem to be paratext-related, so I've asked about them on stackoverflow

@deads
Copy link
Contributor

deads commented Jun 23, 2016

Thank you for the follow-up. I never use the --compiler option, but it may work. Last time I compiled a Python extension with MinGW, I usually did something like this:

CXX=path-to-mingw-g++ CC=path-to-mingw-gcc python setup.py build

Note that setuptools uses CFLAGS not CXXFLAGS for C++.

@deads
Copy link
Contributor

deads commented Feb 20, 2017

Some recent pull requests #24, #38, #54 have improved ParaText with Windows. Can you please confirm the latest master works for you?

Thanks!

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