charmedlabs / pixy

pixy CMUcam5
Other
337 stars 242 forks source link

buildpixymon.sh references src directory that do not exist #8

Closed oconnelc closed 10 years ago

oconnelc commented 10 years ago

I'm trying to get the linux version to compile on Ubuntu. I forked the repo and cloned it onto my Ubuntu machine. After installing all of the dependencies defined in in the README.linux I attempted to run the buildpixymon.sh and got the following errors:

Ran this at ~/workspace/pixy/host:

Building for linux ./buildpixymon.sh: line 12: cd: src/host/pixymon: No such file or directory Cannot find file: pixymon.pro. make: Entering directory ~/workspace/pixy/host' make: *** No targets specified and no makefile found. Stop. make: Leaving directory~/workspace/pixy/host' mkdir: cannot create directory ‘bin’: File exists cp: cannot stat ‘src/host/pixymon/PixyMon’: No such file or directory strip: 'bin/PixyMon': No such file cp: cannot stat ‘src/host/pixymon/pixyflash.bin.hdr’: No such file or directory

Recommend removing the source directory from the script and moving the buildpixymon.sh up a directory. I've made this change on my fork.

richlegrand commented 10 years ago

We have a build script that copies the files in the repository into the right places to create a distribution. It's confusing the way it is--- we should fix/improve.

thanks!