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

Various changes toward building on windows #14

Merged
merged 3 commits into from
Dec 22, 2016
Merged

Conversation

nmittler
Copy link
Contributor

Next issue after this: poll is not supported.

Next issue after this: poll is not supported.
@@ -29,7 +29,12 @@

#define LOG_TAG "NativeCrypto"

#include <arpa/inet.h>
#ifdef _WIN32
#include <Winsock2.h>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be lowercase in case we compile against MinGW which is usually compiled with case-sensitive filesystems.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

visualCpp(VisualCpp) {
// Temporary hack for https://github.com/gradle/gradle/issues/929
installDir "C:/Program Files (x86)/Microsoft Visual Studio 14.0"
windowsSdkDir "C:/Program Files (x86)/Microsoft SDKs/Windows/v7.1A"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these have to be in this format:
file:///C:/Program%20Files%20(x86)/...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

@@ -22,8 +22,8 @@ subprojects {
toolChains {
visualCpp(VisualCpp) {
// Temporary hack for https://github.com/gradle/gradle/issues/929
installDir "C:/Program Files (x86)/Microsoft Visual Studio 14.0"
windowsSdkDir "C:/Program Files (x86)/Microsoft SDKs/Windows/v7.1A"
installDir "file:///C:/Program%20Files%20(x86)/Microsoft%20Visual Studio 14.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why stop at Visual?

@nmittler
Copy link
Contributor Author

@kruton PTAL

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

Successfully merging this pull request may close these issues.

2 participants