ofxGrt icon indicating copy to clipboard operation
ofxGrt copied to clipboard

'GRT/GRT.h' file not found

Open JunguGuo opened this issue 6 years ago • 9 comments

install it and run the example but the this error

JunguGuo avatar Dec 01 '17 01:12 JunguGuo

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

AndreasRef avatar Jan 24 '18 00:01 AndreasRef

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!

vvzen avatar Mar 06 '18 13:03 vvzen

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

nickgillian avatar Apr 28 '18 20:04 nickgillian

@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 :-)

AndreasRef avatar Jun 13 '18 10:06 AndreasRef

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 avatar Apr 08 '19 22:04 rachelmax

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

rachelmax avatar Apr 10 '19 09:04 rachelmax

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

AndreasRef avatar Apr 10 '19 09:04 AndreasRef

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 avatar Apr 10 '19 15:04 rachelmax

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

rachelmax avatar May 02 '19 12:05 rachelmax