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

Errors when trying to build on Windows with MSYS2 #41

Closed
UndarkAido opened this issue Apr 1, 2017 · 2 comments
Closed

Errors when trying to build on Windows with MSYS2 #41

UndarkAido opened this issue Apr 1, 2017 · 2 comments

Comments

@UndarkAido
Copy link
Contributor

Here's a Gist of the build log.
Here's my repo I'm trying to compile

Does anyone know what's going on? Cmake loads properly, but then I get all the stuff seen in the gist. I don't even know where to start!

@cronnosli
Copy link

The curlpp has changed since the versioned link you are using, several bugs was corrected. I would advise you to change the version that you link on your repository.

The file config.win32.h try to define STDC_HEADERS

/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS

But it was already defined by
C:/msys64/mingw64/include/c++/6.2.0/x86_64-w64-mingw32/bits/c++config.h:1328

#define STDC_HEADERS 1

If change to a more recent curlpp clone is not possible, you could clone that version to your repository and change the code in config.win32.h to:

#ifndef STDC_HEADERS
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS
#endif /* STDC_HEADERS */

@UndarkAido
Copy link
Contributor Author

Woops. I forget that submodules don't automatically update.

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