You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@gkassabli plans to turn this from a rough draft into something a little bit more polished (note that it needs modification to point to yoga, so I don't think it will be merged until that can be accounted for), but here's a Buckfile one of our teams uses for ComponentKit.
Hiya I'm trying to compile ComponentKit with Buck but i have the following output ComponentKit/ComponentKit/Core/Scope/CKComponentScopeRoot.h:15:9: fatal error: 'ComponentKit/CKAnalyticsListener.h' file not found #import <ComponentKit/CKAnalyticsListener.h>
Hi Guys I have got it working... The fix was apparently to make sure that the file that is importing #import <ComponentKit/ComponentKit.h> has to be a .mm file so that it can be compiled with the c++ standard library. Fun bug.
And if anyone looking to do this here is my full BUCK file for ComponentKit
Activity
ocrickard commentedon Mar 4, 2017
This would be awesome. If anyone wants to submit a PR, I'd happily accept it.
toulouse commentedon Dec 18, 2017
@kostiadombrovsky -
@gkassabli plans to turn this from a rough draft into something a little bit more polished (note that it needs modification to point to yoga, so I don't think it will be merged until that can be accounted for), but here's a Buckfile one of our teams uses for ComponentKit.
sdkitono commentedon May 14, 2019
Hiya I'm trying to compile ComponentKit with Buck but i have the following output
ComponentKit/ComponentKit/Core/Scope/CKComponentScopeRoot.h:15:9: fatal error: 'ComponentKit/CKAnalyticsListener.h' file not found #import <ComponentKit/CKAnalyticsListener.h>This is my BUCK file
Can you guys help?
sdkitono commentedon May 14, 2019
So I kinda have something almost working now... If I do not add the exported_headers ComponentKit can be built.
Now I have this error
ComponentKit/ComponentKit/Core/ComponentUtilities.h:11:9: fatal error: 'algorithm' file not foundAny advice?
sdkitono commentedon May 14, 2019
Hi Guys I have got it working... The fix was apparently to make sure that the file that is importing
#import <ComponentKit/ComponentKit.h>has to be a .mm file so that it can be compiled with the c++ standard library. Fun bug.And if anyone looking to do this here is my full BUCK file for ComponentKit
If anyone wants a full source code, let me know and I will post a repo to Github.