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

library not found for -lMyLibraryKitMobile #1

Open
Deminem opened this issue Sep 15, 2010 · 2 comments
Open

library not found for -lMyLibraryKitMobile #1

Deminem opened this issue Sep 15, 2010 · 2 comments

Comments

@Deminem
Copy link

Deminem commented Sep 15, 2010

Hey Jeffery,

Thanks for making such useful niche utility, I always thinking about to separate all the libraries from core project and this really helps me a lot! Just a quick question I’ve followed up your instructions and made new project which creates two static lib[ProjectName]Mobile.a library and [ProjectName]Mobile bundle but when tried to compile it gives the below error:

Project Name: MyLibraryKit
Error: Id: library not found for -lMyLibraryKitMobile

I guess it’s looking for the wrong static library name prefix “-l”. Can you please let me know what’s happening here.

Thanks,
Deminem

@iamamused
Copy link
Owner

It's possible that this could be because you haven't added any additional headers to the library. I was getting a similar error when I first tried to build a project with an "empty" library but I haven't had a chance to look into why.

@Deminem
Copy link
Author

Deminem commented Sep 21, 2010

Hey Jeff,

Sorry for getting back on this late coz busy around some other projects. Yes that's right I missed to include any additional headers to the library and when tried to build the project compiler doesn't produce the static library file. Another important point to be note that it's necessary to include both (h, m) to the library otherwise compiler still won't generate the static library file.

There's a slight difference between your template and coca pre-installed template, which automatically include (h, m) to the library whenever you create/add new file inside static library.

Thanks,
Deminem

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