openFrameworks-RaspberryPi / openFrameworks

This repo has migrated into the openFramworks core! Please go to http://github.com/openFrameworks/openFrameworks for the latest!
http://github.com/openFrameworks/openFrameworks
Other
104 stars 11 forks source link

Compile error, missing vchost_config.h #133

Closed astellato closed 11 years ago

astellato commented 11 years ago

Trying to get OF working on the Raspberry Pi. After following the Getting Started guide found in the wiki, attempted to build but make produces the following error:

In file included from /opt/vc/include/bcm_host.h:50:0, from ../../../libs/openFrameworks/utils/ofConstants.h:152, from ../../../libs/openFrameworks/math/ofVec2f.h:5, from ../../../libs/openFrameworks/math/ofVec3f.h:3, from ../../../libs/openFrameworks/math/ofMatrix4x4.h:13, from ../../../libs/openFrameworks/math/ofMatrix4x4.cpp:5: /opt/vc/include/interface/vmcs_host/vcgencmd.h:33:27: fatal error: vchost_config.h: No such file or directory compilation terminated. make[1]: * [../../../libs/openFrameworksCompiled/lib/linuxarmv6l/obj/Debug/libs/openFrameworks/math/ofMatrix4x4.o] Error 1 make: * [Debug] Error 2

Anyone know what I am missing?

danzeeeman commented 11 years ago

Are you on the new firmware? On Feb 20, 2013 10:23 PM, "Anthony Stellato" notifications@github.com wrote:

Trying to get OF working on the Raspberry Pi. After following the Getting Started guide found in the wiki, attempted to build but make produces the following error:

In file included from /opt/vc/include/bcm_host.h:50:0, from ../../../libs/openFrameworks/utils/ofConstants.h:152, from ../../../libs/openFrameworks/math/ofVec2f.h:5, from ../../../libs/openFrameworks/math/ofVec3f.h:3, from ../../../libs/openFrameworks/math/ofMatrix4x4.h:13, from ../../../libs/openFrameworks/math/ofMatrix4x4.cpp:5: /opt/vc/include/interface/vmcs_host/vcgencmd.h:33:27: fatal error: vchost_config.h: No such file or directory compilation terminated. make[1]: [../../../libs/openFrameworksCompiled/lib/linuxarmv6l/obj/Debug/libs/openFrameworks/math/ofMatrix4x4.o] Error 1 make: \ [Debug] Error 2

Anyone know what I am missing?

— Reply to this email directly or view it on GitHubhttps://github.com/openFrameworks-RaspberryPi/openFrameworks/issues/133.

bakercp commented 11 years ago

Yes, please check this out:

https://github.com/openFrameworks-RaspberryPi/openFrameworks/pull/128

bakercp commented 11 years ago

We probably just need to pull in that PR @jvcleave -- I haven't tested it on older firmware ... but we might just need to require the newest firmware.

danzeeeman commented 11 years ago

I'm going to pull that into develop. I was building all weekend with it. I think it should be ok?

bakercp commented 11 years ago

Yeah, I'd say go for it. When you pull it in, could you double check and make sure the wiki mentions that folks need to be updated to the latest firmware (just in case). It think it may already be in there ... but perhaps embolden / underline it :)


http://christopherbaker.net

On Wed, Feb 20, 2013 at 9:25 PM, Dan Moore notifications@github.com wrote:

I'm going to pull that into develop. I was building all weekend with it. I think it should be ok?

— Reply to this email directly or view it on GitHubhttps://github.com/openFrameworks-RaspberryPi/openFrameworks/issues/133#issuecomment-13870997.

danzeeeman commented 11 years ago

I think this pulls the new firmware run sudo wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update && sudo chmod +x /usr/bin/rpi-update

astellato commented 11 years ago

Yes, on the newest firmware, which is outlined in the wiki. #128 seems to fit.

danzeeeman commented 11 years ago

If you do 'git pull origin develop' it should pull the updates in On Feb 20, 2013 10:36 PM, "Anthony Stellato" notifications@github.com wrote:

Yes, on the newest firmware, which is outlined in the wiki. #128https://github.com/openFrameworks-RaspberryPi/openFrameworks/issues/128seems to fit.

— Reply to this email directly or view it on GitHubhttps://github.com/openFrameworks-RaspberryPi/openFrameworks/issues/133#issuecomment-13871283.

jvcleave commented 11 years ago

actually it is git pull origin develop-raspberrypi