Skip to content

document download procedure #12

Closed
merlos opened this Issue Feb 25, 2012 · 1 comment

2 participants

@merlos
merlos commented Feb 25, 2012

I have downloaded the library:

git clone https://github.com/groue/GRMustache
make

I got this error:

... ... 
GRMustache/Classes/GRMustacheNSUndefinedKeyExceptionGuard.m:24:9: fatal error: 'JRSwizzle.h' file not found [2]
 #import "JRSwizzle.h"
         ^
1 error generated.
... ...

Solution

The problem is that the file belongs to other project jrswizzle that somehow althought is linked in github is not downloaded

The issue is solved just downloading the project:

cd GRMustache/Libs/groue/
git clone https://github.com/groue/jrswizzle.git

If there is a better way to download the project from git it would be great if it is documented.

Anyway, thank you for the library!

@groue groue added a commit that referenced this issue Feb 25, 2012
@groue Document git submodules for issue #12 cca1d30
@groue
Owner
groue commented Feb 25, 2012

Yes, there is a better solution.

GRMustache has git submodules, as the .gitmodules file tells you. You should thus delete your manually-crafted Libs/groue/jrswizzle folder, and run this command instead:

git submodule update --init

This will download all repositories GRMustache depends on, and allow you to build the library.

BTW, just to make things clear: GRMustache ships with already-built libraries : you don't need to run the make command, unless you have changed GRMustache's code. In order to use GRMustache, read guides/embedding.md. If you plan to change it, read guides/forking.md.

Happy GRMustache!

@groue groue closed this Feb 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.