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

raspberrypi_hello_world error #131

Closed ramosdavid closed 11 years ago

ramosdavid commented 11 years ago

hi all, i am a new user. I have followed the instructions on this page https://github.com/openFrameworks-RaspberryPi/openFrameworks/wiki/Raspberry-Pi-Getting-Started

it was going on ok, but when i got in to the folder $(OF_ROOT)/apps/devApps/raspberrypi_hello_world/ and type "make" i got the following error: ../../../libs/openFrameworksCompiled/project/makefileCommon/config.project.make FILE NOT FOUND.

I was checking and changed: "config.project.make" in "config.project.mk" and now it gives me another error: OF_ADDONS_PATH is not defined.

I tried to defined in the Makefile: OF_ADDONS_PATH=$(of_root)/addons and now it gives error: ABI_LIB_SUBPATH is not defined

i don't know how to solve it, please help me. thanks.

fishkingsin commented 11 years ago
cp ../../../scripts/linux/template/linuxarmv6l/Makefile . 

into your project folder to ensure the right build script on rpi

fishkingsin commented 11 years ago

in "devApps" and "examples" projects some of the Makefile are old and try to checkout the lastes raspberrypi-develop branch

ramosdavid commented 11 years ago

the Makefiles seem the same but the right one is with the include ..../COMPILE.project.mk i have just done, both "hello_world" projects compile. i will try the others examples thanks.

pikilipita commented 11 years ago

I had the same issue, you should amend the doc: "If the Makefiles are not present in these projets lets copy our Makefiles from our home directory into these projects" ( remove the "if" condition )

fishkingsin commented 11 years ago

actually it posted on https://github.com/openFrameworks-RaspberryPi/openFrameworks/wiki/Raspberry-Pi-Getting-Started

pikilipita commented 11 years ago

I was quoting the same page actually

ramosdavid commented 11 years ago

you're right, i read the same "If the Makefiles..." therefore i didn't copy the makefile :)

Now i have another problem with the opencvExample, please can you help me? (i have made another issue, check it)

danzeeeman commented 11 years ago

We need to update the makefiles as they changed and were not changed in those projects. I'll update them today. On Feb 21, 2013 4:46 AM, "ramosdavid" notifications@github.com wrote:

you're right, i read the same "If the Makefiles..." therefore i didn't copy the makefile :)

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

ramosdavid commented 11 years ago

It's ok, i've already solved this problem. thanks

jvcleave commented 11 years ago

@danthemellowman I've updated the Makefiles in develop-raspberrypi https://github.com/openFrameworks-RaspberryPi/openFrameworks/commit/7a0b837eecff8d482dbde93570481ae975f44fc4

danzeeeman commented 11 years ago

thanks I completely spaced about it. too busy getting ready for

ArtHackDay and other work.

On Mon, Feb 25, 2013 at 5:53 PM, Jason Van Cleave notifications@github.comwrote:

@danthemellowman https://github.com/danthemellowman I've updated the Makefiles in develop-raspberrypi 7a0b837https://github.com/openFrameworks-RaspberryPi/openFrameworks/commit/7a0b837eecff8d482dbde93570481ae975f44fc4

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

"I believe in science. Unlike mathematical theorems, scientific results can't be proved. They can only be tested again and again, until only a fool would not believe them.

I cannot prove that electrons exist, but I believe fervently in their existence. And if you don't believe in them, I have a high voltage cattle prod I'm willing to apply as an argument on their behalf. Electrons speak for themselves."

-- Seth Lloyd: Quantum Mechanical Engineer, MIT

/.