-
Notifications
You must be signed in to change notification settings - Fork 429
Xcode not working with tidylib #751
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
Comments
I use this template for working with Tidy. I see that you're trying to link to a homebrew installed Tidy, but the linked Xcode project will statically link. Given Tidy's small size, I think it's worth it to keep up with the latest source. In any case, is there a request to the devs here? |
Hi balthisar, like I already mentioned the problem was a wrong linker flag. First you go to your xcode project and go to "Build Settings" there you add following settings:
The request would be to add this instruction to the set up section for mac installation. |
The wrong linker flag is where, though? Tidy builds using CMake, and it builds just fine on macOS, using the standard install locations. The Xcode project I provided builds just fine, too. Homebrew seems to be the outlier here. I'm happy to help, but where, specifically in the setup section would you want this? Since it seems like you're only talking about documentation, a PR would be welcome, so that I understand you completely. |
I'm running into the same issue, and @balthisar's question from Aug 29, 2018 is still valid. |
Dear Devolper Team,
I tried to get this example working:
My problem is that I get the following error all the time and I just can't fix it:
What I did?
System?
Solution
Instead of using "-ltidylib" you have to use "-ltidy"
The text was updated successfully, but these errors were encountered: