-
Notifications
You must be signed in to change notification settings - Fork 53
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
Don't know how to compile first-stage/PARSE/swig/wrapper.C [Microsoft Visual C Compiler] #48
Comments
Just a shot in the dark: maybe it doesn't know what the |
Thanks! You are correct on both points.
nologo /Ox /W3 /GL /DNDEBUG /MD -Ifirst-stage/PARSE/ -IC:\Users\XXX\AppData\L |
What happens if you try that command with |
Thanks! "C:\Program Files (x86)\Microsoft Visual |
Thanks for looking into this. I'm not sure if those errors are |
yes, I was able to run on Linux in a VM. |
Great, glad to hear that works! I'm going to close this issue for now since there's a workaround, though would gladly accept a pull-request which fixes it. |
Reopening since we didn't really resolve the issue -- apologies for closing it! |
HI, My Setup: Windows 10 64 Bit, Python 64 Bit What I've tried so far:
Now I'm trying to investigate this problems. My Original Error Log:
|
I changed a little bit in
Now I'm getting another error, yeah :-)
I will try further methods to fix the problem and mabye as a result a PR. |
I didn't got it to work with 'cmd', but with msys2. I had to change the compiler options from Line 148 in f83be9f
(see https://stackoverflow.com/a/22167294/6068675). I think this has to be done, because |
Just wondering if there is any update or movement on this, as I am currently having almost an identical issue (Windows 10, python 3.7). The package installs just fine on my mac (High Sierra 10.13, Python 2.7). I'm currently trying to follow your steps above (as you got it to work in the end!?) but wondering if the PR ever happened :) |
When I try to build it on Windows 7 with Python 3.5 (from anaonda) and swig-3.0.8, I get the error below. Any idea about it?
Thanks!
Installing collected packages: bllipparser
Running setup.py install for bllipparser ... error
Complete output from command C:\Users\XXX\AppData\Local\Continuum\Anacond
a3\python.exe -u -c "import setuptools, tokenize;file='C:\Users\XXX\Ap
pData\Local\Temp\pip-build-xk8jp9i2\bllipparser\setup.py';exec(compile(geta
ttr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'e
xec'))" install --record C:\Users\XXX\AppData\Local\Temp\pip-kqz1g4fw-record
install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.5
creating build\lib.win-amd64-3.5\bllipparser
copying python\bllipparser\CharniakParser.py -> build\lib.win-amd64-3.5\blli
pparser
copying python\bllipparser\JohnsonReranker.py -> build\lib.win-amd64-3.5\bll
ipparser
copying python\bllipparser\ModelFetcher.py -> build\lib.win-amd64-3.5\bllipp
arser
copying python\bllipparser\ParsingShell.py -> build\lib.win-amd64-3.5\bllipp
arser
copying python\bllipparser\RerankerFeatureCorpus.py -> build\lib.win-amd64-3
.5\bllipparser
copying python\bllipparser\RerankingParser.py -> build\lib.win-amd64-3.5\bll
ipparser
copying python\bllipparser\Utility.py -> build\lib.win-amd64-3.5\bllipparser
r
copying python\bllipparser__main__.py -> build\lib.win-amd64-3.5\bllipparse
r
running build_ext
building 'bllipparser._CharniakParser' extension
error: Don't know how to compile first-stage/PARSE/swig/wrapper.C
The text was updated successfully, but these errors were encountered: