-
Notifications
You must be signed in to change notification settings - Fork 319
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
error when compiling on Windows 7 #59
Comments
@dch Any idea where assert.h lives on Windows? @tomhoward87 That should be a system include somewhere. I'm not at all familiar with Windows or its various compilers to know where to even look for it though. |
@davisp it should be part of the std library, e.g. http://msdn.microsoft.com/en-us/library/9sb57dw4.aspx and on my std couch build box
@tomhoward87 what shell & setup are you using ? Usually the issue is that your unix shell has one set of path expectations and the windows side a different set (e.g. INCLUDE in unix shell is not the same as Include in windows shell). While my example might not be right this should at least point you on the right track. A quick check here has jiffy compiling, using SDK 7.1 (pretty close to VC 10.0), R14B04, and recent rebar, without a unix shell in between. For jiffy, I'd assume it will work correctly with either gcc OR cl but not necessarily mixing shells + compilers. YMMV, I know mine has in the past with this combo :-) |
I should mention that I couldn't get this to run on my config, in fact not even the old |
I've been using Git Bash which is MinGW, but I also tried using the windows shell (cmd and powershell) and got the same result. I tried adding both the include and the crt\src folders to my path but no luck. It looks like I'm using cl from the rebar.config. |
+1 (Windows - dead)))) |
Recent reports suggests windows builds are working so I'm gonna close this. Though I will note that I think they're only working with Visual Studio or whatever that thing is called. |
I'm getting an error when I try to compile on Windows 7 - I have rebar installed and on my path, along with cl from Visual Studio 2010 (which I understand should be recent enough). However it seems that the file "assert.h" is missing:
$ rebar compile
==> jiffy (compile)
Compiling c_src/decoder.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.
decoder.c
c_src/decoder.c(4) : fatal error C1083: Cannot open include file: 'assert.h': No such file or directory
ERROR: compile failed while processing c:/Users/gbhowarto/code/orca/deps/jiffy: rebar_abort
The text was updated successfully, but these errors were encountered: