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

Build error on v5.7 (OS X 10.12.3, Xcode 8.2.1) #35

Closed
alexreg opened this issue Feb 6, 2017 · 12 comments
Closed

Build error on v5.7 (OS X 10.12.3, Xcode 8.2.1) #35

alexreg opened this issue Feb 6, 2017 · 12 comments

Comments

@alexreg
Copy link

alexreg commented Feb 6, 2017

https://gist.github.com/76219f9acafc6624f529faa86ab65dad

What's going on here?

@arqbackup
Copy link
Owner

Closing this issue because alexreg isn't responding with more information.

@alexreg
Copy link
Author

alexreg commented May 29, 2017

You didn't ask for more info?

@arqbackup
Copy link
Owner

I commented on your gist Feb 6: https://gist.github.com/anonymous/76219f9acafc6624f529faa86ab65dad

@alexreg
Copy link
Author

alexreg commented May 29, 2017

Ah, okay.

What command did you use to produce this output?

xcodebuild -configuration Release

@arqbackup
Copy link
Owner

OK. Don't know why you're getting that. I don't get an error when I compile it that way. Maybe something changed in the intervening 3 months.

@alexreg
Copy link
Author

alexreg commented May 29, 2017

Nope. It still happens now... same error.

@arqbackup
Copy link
Owner

I have MacOS 10.12.5 and Xcode 8.3.2.
Doesn't happen for me, so I don't know how to reproduce it.
This is the output for 'clean' and then build:

https://gist.github.com/arqbackup/fac1800e16c1a0f3fcaffdd89aa4f8f9

@alexreg
Copy link
Author

alexreg commented May 29, 2017

Well, can't you debug it from the error message? Anyway, what environmental configuration are you doing before running those commands, if any at all?

@arqbackup
Copy link
Owner

I don't understand the error message you get. It says the header file can't be found, but the header file exists. I don't set any special environment variables. Looks like you reset HEADER_SEARCH_PATHS and LIBRARY_SEARCH_PATHS though, overriding the values in the Xcode project. Maybe stop doing that.

@alexreg
Copy link
Author

alexreg commented May 29, 2017

Yeah... if I don't set those environment variables, I get these errors however.

https://gist.github.com/d49f557fed13b6be6aee9e079d93b1ae

@arqbackup
Copy link
Owner

Have you looked at the Xcode project at all? It expects the OpenSSL library in /usr/local/ssl.

@alexreg
Copy link
Author

alexreg commented May 29, 2017

Ah. Well, I don't have anything there. That directory doesn't exist, and indeed it's non-standard. Homebrew installs the library to to /usr/local/opt/openssl. I think you may want to allow for a configurable path, or just use pkgconfig.

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