-
Notifications
You must be signed in to change notification settings - Fork 320
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
I can compile DLCImagePicker project from my project, but can't compile the project itself #49
Comments
Tom, few thing you can try in that case. I notice a pod warning say it can't properly build because of the arch settings. If ur trying to use this from a pod that might be the issue, u need to change the arch settings of the cocoapod project in your workspace to something that works with your project. Then rebuild. If your not using a pod and u are importing it directly.... It looks like it can't find that file. Locate that class.m file in your workspace and open up the right side drawer. It should show you the target membership of that file and the target your building for should be checked. If not then it's not imported properly. I would search google for kind that need to be imported a similar way that have instructions and follow them. Welcome to the wonderful world of dealing with Xcode and it's eccentricies |
Tom, I'm not completely sure but it looks like you might need to build that In the top of Xcode where your target says vinpin, u can choose another Hope that does it On Monday, December 16, 2013, Tommy Bergeron wrote:
|
Hmmm it appears that this library isn't meant to be compiled like that. If I think that your going to want to follow instructions somewhere online Try following instructions for adding the three20 framework and replace Greg On Monday, December 16, 2013, Tommy Bergeron wrote:
|
Here's the workspace archive in case anybody would like to try to run it. I carefully followed GPUImage installation instructions, and I would have followed DLCImagePickerController own install instructions if there would have been any! I also recursively added SRCROOT/DLCImagePickerController/ in header paths. Here's the project: http://cl.ly/1N3g0f3G2f3h/TestDLCImagePickerControllerProject.zip It'd be great if somebody could find the issue, I'm not asking you @boland25 for it as you've already did plenty enough to help me! haha Thanks everybody |
Just had the exact same problem with another library I cloned from GitHub. So it's 100% my fault here, but I need to know what I'm doing wrong please anybody point me in the right direction :( Thanks |
you can try this: 1.go to project's Build Setting in XCode5, choose "Basic", "Combined" for change setting quickly; because your libpods.a didn't support 64-bit ------------------ Original ------------------ Subject: [DLCImagePickerController] I can compile DLCImagePicker proejct frommy project, but can't compile the project itself (#49) Hi, I installed DLCImagePickerController, follow GPUImage instructions, etc. It looks like this within my project: When I select DLCImagePickerController as my target, it builds flawlessly. I can #import <> the library but as soon as I try to alloc it I get this: I know it's not a 100% related problem but mostly as project linking issue but I'd really need some help figuring this out. I've spent almost 2 days figuring it out and I'm still scratching my head on it. If this can be of any help here's more screenshots: Also any usage example anywhere? I'm sure it's simple enough but it'd be great to know what to look for when testing if the library is working. Thanks a lot and have a nice day. ¡ª |
@asmore thanks for the help but I already have those settings: There's no arm64 anywhere to be found. :-/ |
I had to create a new target (static library) and drag all .m and .h and leave resources in my project, set it up with the proper frameworks and I got it fixed and working. |
Tom, Glad to hear u got it working. In the future if you run into a github lib Good luck and hope you've learned a lot through this exp Greg On Tuesday, December 17, 2013, Tommy Bergeron wrote:
|
Thanks for the insight, I kept on using that library because it's the only one that does so much for camera filters, etc (that I know of). I 110% agree about GitHub and support, that's the strongest part of the platform and yet some devs just don't give a damn about their libs users or are just too busy. Anyways, thanks a lot to you as you've been of great help! Things are running smoothly now that I know how to properly handle static libraries, etc. So I ended up this experience with better knowledge which is always worth the trouble! :P |
Hi,
I installed DLCImagePickerController, follow GPUImage instructions, etc.
It looks like this within my project:
![](https://camo.githubusercontent.com/415da6328ff00f41c2c5861e96f6af2a9dbdeb95b1342bea45d4fa286c167797/687474703a2f2f636c2e6c792f696d6167652f3252315231523331317032432f53637265656e25323053686f74253230323031332d31322d31362532306174253230312e35382e3333253230504d2e706e67)
When I select DLCImagePickerController as my target, it builds flawlessly.
I can
![](https://camo.githubusercontent.com/8ebab443a10588728a5830867b7e1126b46402276d2e817b8875277bf3b9d08c/687474703a2f2f636c2e6c792f696d6167652f33693330326f3171337133472f53637265656e25323053686f74253230323031332d31322d31362532306174253230322e30352e3232253230504d2e706e67)
#import <>
the library but as soon as I try toalloc
it I get this:I know it's not a 100% related problem but mostly as project linking issue but I'd really need some help figuring this out. I've spent almost 2 days figuring it out and I'm still scratching my head on it.
If this can be of any help here's more screenshots:
Build Settings
Build Phases
Also any usage example anywhere? I'm sure it's simple enough but it'd be great to know what to look for when testing if the library is working.
Thanks a lot and have a nice day.
The text was updated successfully, but these errors were encountered: