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
VC10 - build error #47
Comments
Also, dirent.h is not part of Visual Studio by default. scanctx.c(29): fatal error C1083: Cannot open include file: 'dirent.h': No such file or directory Regards. Hubert |
Also happens with Visual Studio 2015, see e.g. here: https://ci.appveyor.com/project/kinke/ldc/build/1.0.700/job/4y05cqr4eviabn77 |
Yes, indeed. We know it. Meanwhile, v1.5 should compile fine on VS2010 --- though it lacks the new features, of course. |
I get the same error using GCC 5.1.0:
Also when downgrading to 1.5, I noticed that |
I just cloned the repo and tried to build 1.6 (32-bit Ubuntu 14.04, gcc 4.9.3, flex 2.5.39, bison 3.02) and got the same error. I deleted lib/scanner.{c,h}, reran make and all was well. |
I have the same error as @pumaking when compiling libconfig1.6 on ARM... removing lib/scanner.{c.h} fixed the error for me as well! |
Confirmed. The re-generated lib/scanner.[ch] were not included in the commits. |
Erm, is this ever gonna get fixed? |
Please just download the 1.5 tarball from http://www.hyperrealm.com/libconfig/ |
that one doesn't work too, #65 but i guess i can modify it as said in the issue |
The tarball actually doesn't work for MSVC 2015, we (LDC) use have hardcoded the CI environment to use 7585cf6 for now. |
Same problem for me under Slackware 14.2 with GCC 5.3.0, but hopefully the workaround suggested by @scandariato works for me too, but I hope it's soon fixed upfront. |
Same problem for me under Gentoo with GCC 6.2.0, thanks to @scandariato I was able to regenerate problematic files. I'm also surprised that other autoconf generated files are stored in the repository:
These files could be regenerated with the help of "autoreconf -f -v -i". |
@hyperrealm Any progress? |
I'm getting a 500 server error when attempting to download from http://www.hyperrealm.com/libconfig/ . |
My latest commit should fix all these issues. |
Just hit this issue today. Neither release (1.5 or 1.6) currently available on github compiles, and the file for 1.5 is no longer there on the former site. |
@mboisson If you are on windows you might take a look at vcpkg. They have a portfile |
@atkawa7 nope, on Linux, GCC 5.4.0 |
Can you try the code from head? I'll do a 1.7 label soon, but I need some more time to make a few more changes. |
The head seems to be building. However, since I'm building software for a cluster shared by thousands of users, I really don't want to build the head of anything, I want a release/version number. |
Understood. I'll try to get it done ASAP. I've been neglecting this project for the past couple of years because of other things tying up my time, so apologies for that. |
@hyperrealm you do not have to apologize. It is because of guys like you who work on their free time that make this world of free and open source possible. |
On 16/10/17 22:00, hyperrealm wrote:
Understood. I'll try to get it done ASAP. I've been neglecting this
project for the past couple of years because of other things tying up
my time, so apologies for that.
Same here.
I had to take care of other --urgent-- things sometime early in 2015...
until more or less now :S
|
Hi,
I try to build libconfig-1.6 with VC10 and I got this:
scanner.l(137): warning C4047: 'function' : 'const char ' differs in levels of indirection from 'const char *'
1>scanner.l(137): warning C4024: 'scanctx_push_include' : different types for formal and actual parameter 3
1>scanner.l(137): error C2198: 'scanctx_push_include' : too few arguments for call
Thanks
Hubert
The text was updated successfully, but these errors were encountered: