nickgillian / ofxGrt

OpenFrameworks extension for the Gesture Recognition Toolkit
119 stars 27 forks source link

'GRT/GRT.h' file not found #27

Open JunguGuo opened 6 years ago

JunguGuo commented 6 years ago

install it and run the example but the this error

AndreasRef commented 6 years ago

Might be related to this issue: https://github.com/nickgillian/ofxGrt/issues/16 ?

vvzen commented 6 years ago

As @AndreasRef rightly pointed out in the linked issue, go the ofxGrt folder and run the following commands (obviously you need to have cloned the repo through git):

git submodule init git submodule update

In my case it fixed the error!

nickgillian commented 6 years ago

@JunguGuo, can you confirm if the suggestions above fixed your issue or do you still see the same error?

AndreasRef commented 6 years ago

@nickgillian can I ask why git submode init and update is needed? Would it not be easier to provide everything working out of the box for people without git experience? Btw, love your addon :-)

rachelmax commented 5 years ago

hi - I'm sort of new to Github. If I downloaded the master and installed the Add-on how do I fix this issue. I downloaded the master 2x tonight - no joy. Thanks.

rachelmax commented 5 years ago

@nickgillian - any advice for a newbie on how to fix the GRT/GRT.h' file not found when working with a download? Thanks - Rachel

AndreasRef commented 5 years ago

Hi Rachel

Assuming you have git you need to clone the ofxGrt repo into the addons folder of where you placed openFrameworks on your harddrive, and then in terminal (assuming your current directory is ofxGrt) type git submodule init press enter

type git submodule update press enter

if that does not work I have an old version of ofxGrt stored here, where you don't need to do all the git submodule stuff. It is a few years old, so not sure it works anymore, but try it out if the first option fails.

Best Andreas

rachelmax commented 5 years ago

Thanks Andreas. I have only been downloading Addons and adding them manually. I need to embrace Github. I'll try to sort it out. Thanks for the links. There is also info here if anyone stumbles onto this post in a similar situation. Cheers, Rachel

rachelmax commented 5 years ago

Thank Andreas - I finally figured out how to clone an add-on and run these commands in the terminal. Cheers!