OSE / ceb-controller

Controller for the CEB press
http://opensourceecology.org/wiki/CEB_Press_Control_Code
14 stars 6 forks source link

scons wont build #4

Open queglay opened 10 years ago

queglay commented 10 years ago

When running scons from the specified folder I get an error and not sure where to go from here- can anyone point me ion the right direction on how to fix it?

audios-mbp:cebController Audio$ scons scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... scons: building associated VariantDir targets: build /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -o build/cebController.o -c -ffunction-sections -fdata-sections -fno-exceptions -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -mmcu=atmega328p -DARDUINO=22 -DF_CPU=16000000L -Ibuild/core build/cebController.cpp In file included from build/cebController.cpp:1: build/core/Arduino.h:213:26: error: pins_arduino.h: No such file or directory scons: *\ [build/cebController.o] Error 1 scons: building terminated because of errors. audios-mbp:cebController Audio$

dwiel commented 10 years ago

There seems to be a pattern with this code:

1) someone new comes and writes some code 2) code is taken to "90%" completion (ie: there is still 90% left to do) , it isn't documented well enough, etc 3) that person leaves 4) ??? 5) new person comes and decides to re-write everything since they don't understand the existing code and they don't know who to ask questions to 6) repeat

I think we are currently at step 4.

I had a very stable, well documented and reliable controller in this repo that I wrote for my CEB Press last summer (with 150-200 hours of reliable operation), but it seems to have been nuked by step 5.

Let me know if you want that version, I still have it in my own repo, or could dig it out of the git history of this one.

Sorry I can't help you with the 'master' version of this code.

zach

On Sat, Apr 19, 2014 at 10:38 PM, queglay notifications@github.com wrote:

When running scons from the specified folder I get an error and not sure where to go from here- can anyone point me ion the right direction on how to fix it?

audios-mbp:cebController Audio$ scons scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... scons: building associated VariantDir targets: build /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -o build/cebController.o -c -ffunction-sections -fdata-sections -fno-exceptions -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -mmcu=atmega328p -DARDUINO=22 -DF_CPU=16000000L -Ibuild/core build/cebController.cpp In file included from build/cebController.cpp:1: build/core/Arduino.h:213:26: error: pins_arduino.h: No such file or directory scons: *\ [build/cebController.o] Error 1 scons: building terminated because of errors. audios-mbp:cebController Audio$

— Reply to this email directly or view it on GitHubhttps://github.com/OSE/ceb-controller/issues/4 .

queglay commented 10 years ago

Thanks Zach, I have the last code used by James Slade. If we have successful tests with modifications ill update with that. I'm only making changes, I have no interest in reinventing the wheel.

dwiel commented 10 years ago

cool, do you know which version of the code he was using?

queglay commented 10 years ago

This version here.

Andrew Graham

http://www.vimeo.com/houdinifx/showreel

On Sun, Apr 27, 2014 at 9:18 AM, Zach Dwiel notifications@github.comwrote:

cool, do you know which version of the code he was using?

— Reply to this email directly or view it on GitHubhttps://github.com/OSE/ceb-controller/issues/4#issuecomment-41497748 .

dwiel commented 10 years ago

Are you sure its the version here now? A few months ago, the code here was completely replaced. I was working with him last fall/winter and he was using the code 'here', but the code 'here' has since changed and no longer is at all the same code as was being used in the fall 2013. Has he updated his code in the last few months? If not, I'll resurect the working code he and OSE and I were all using and get rid of this old and broken version that was kept.

zach

On Sun, Apr 27, 2014 at 10:21 AM, queglay notifications@github.com wrote:

This version here.

Andrew Graham

http://www.vimeo.com/houdinifx/showreel

On Sun, Apr 27, 2014 at 9:18 AM, Zach Dwiel notifications@github.comwrote:

cool, do you know which version of the code he was using?

— Reply to this email directly or view it on GitHub< https://github.com/OSE/ceb-controller/issues/4#issuecomment-41497748> .

— Reply to this email directly or view it on GitHubhttps://github.com/OSE/ceb-controller/issues/4#issuecomment-41497829 .

queglay commented 10 years ago

This is what he gave me, and was running on the brick press for the latest microhouse build I believe. I am also updating it to add a smaller brick pressing ability with a button press.

Andrew Graham

http://www.vimeo.com/houdinifx/showreel

On Sun, Apr 27, 2014 at 9:30 AM, Zach Dwiel notifications@github.comwrote:

Are you sure its the version here now? A few months ago, the code here was completely replaced. I was working with him last fall/winter and he was using the code 'here', but the code 'here' has since changed and no longer is at all the same code as was being used in the fall 2013. Has he updated his code in the last few months? If not, I'll resurect the working code he and OSE and I were all using and get rid of this old and broken version that was kept.

zach

On Sun, Apr 27, 2014 at 10:21 AM, queglay notifications@github.com wrote:

This version here.

Andrew Graham

http://www.vimeo.com/houdinifx/showreel

On Sun, Apr 27, 2014 at 9:18 AM, Zach Dwiel notifications@github.comwrote:

cool, do you know which version of the code he was using?

— Reply to this email directly or view it on GitHub< https://github.com/OSE/ceb-controller/issues/4#issuecomment-41497748> .

— Reply to this email directly or view it on GitHub< https://github.com/OSE/ceb-controller/issues/4#issuecomment-41497829> .

— Reply to this email directly or view it on GitHubhttps://github.com/OSE/ceb-controller/issues/4#issuecomment-41498081 .

queglay commented 10 years ago

Personally I found all the scons stuff a barrier and I have no idea why someone wouldn't just use the arduino software.

Andrew Graham

http://www.vimeo.com/houdinifx/showreel

On Sun, Apr 27, 2014 at 9:34 AM, Andrew Graham queglay@gmail.com wrote:

This is what he gave me, and was running on the brick press for the latest microhouse build I believe. I am also updating it to add a smaller brick pressing ability with a button press.

Andrew Graham

http://www.vimeo.com/houdinifx/showreel

On Sun, Apr 27, 2014 at 9:30 AM, Zach Dwiel notifications@github.comwrote:

Are you sure its the version here now? A few months ago, the code here was completely replaced. I was working with him last fall/winter and he was using the code 'here', but the code 'here' has since changed and no longer is at all the same code as was being used in the fall 2013. Has he updated his code in the last few months? If not, I'll resurect the working code he and OSE and I were all using and get rid of this old and broken version that was kept.

zach

On Sun, Apr 27, 2014 at 10:21 AM, queglay notifications@github.com wrote:

This version here.

Andrew Graham

http://www.vimeo.com/houdinifx/showreel

On Sun, Apr 27, 2014 at 9:18 AM, Zach Dwiel notifications@github.comwrote:

cool, do you know which version of the code he was using?

— Reply to this email directly or view it on GitHub< https://github.com/OSE/ceb-controller/issues/4#issuecomment-41497748> .

— Reply to this email directly or view it on GitHub< https://github.com/OSE/ceb-controller/issues/4#issuecomment-41497829> .

— Reply to this email directly or view it on GitHubhttps://github.com/OSE/ceb-controller/issues/4#issuecomment-41498081 .

queglay commented 10 years ago

http://opensourceecology.org/wiki/File:CEB_code.rar

That's the latest I used. On Apr 27, 2014 9:34 AM, "Andrew Graham" queglay@gmail.com wrote:

This is what he gave me, and was running on the brick press for the latest microhouse build I believe. I am also updating it to add a smaller brick pressing ability with a button press.

Andrew Graham

http://www.vimeo.com/houdinifx/showreel

On Sun, Apr 27, 2014 at 9:30 AM, Zach Dwiel notifications@github.comwrote:

Are you sure its the version here now? A few months ago, the code here was completely replaced. I was working with him last fall/winter and he was using the code 'here', but the code 'here' has since changed and no longer is at all the same code as was being used in the fall 2013. Has he updated his code in the last few months? If not, I'll resurect the working code he and OSE and I were all using and get rid of this old and broken version that was kept.

zach

On Sun, Apr 27, 2014 at 10:21 AM, queglay notifications@github.com wrote:

This version here.

Andrew Graham

http://www.vimeo.com/houdinifx/showreel

On Sun, Apr 27, 2014 at 9:18 AM, Zach Dwiel notifications@github.comwrote:

cool, do you know which version of the code he was using?

— Reply to this email directly or view it on GitHub< https://github.com/OSE/ceb-controller/issues/4#issuecomment-41497748> .

— Reply to this email directly or view it on GitHub< https://github.com/OSE/ceb-controller/issues/4#issuecomment-41497829> .

— Reply to this email directly or view it on GitHubhttps://github.com/OSE/ceb-controller/issues/4#issuecomment-41498081 .

dwiel commented 10 years ago

yeah ok. That isn't at all what is here in the repo. The wrong code was removed in the 'cleanup' a few months ago.

On Sun, Apr 27, 2014 at 10:37 AM, queglay notifications@github.com wrote:

http://opensourceecology.org/wiki/File:CEB_code.rar

That's the latest I used. On Apr 27, 2014 9:34 AM, "Andrew Graham" queglay@gmail.com wrote:

This is what he gave me, and was running on the brick press for the latest microhouse build I believe. I am also updating it to add a smaller brick pressing ability with a button press.

Andrew Graham

http://www.vimeo.com/houdinifx/showreel

On Sun, Apr 27, 2014 at 9:30 AM, Zach Dwiel notifications@github.comwrote:

Are you sure its the version here now? A few months ago, the code here was completely replaced. I was working with him last fall/winter and he was using the code 'here', but the code 'here' has since changed and no longer is at all the same code as was being used in the fall 2013. Has he updated his code in the last few months? If not, I'll resurect the working code he and OSE and I were all using and get rid of this old and broken version that was kept.

zach

On Sun, Apr 27, 2014 at 10:21 AM, queglay notifications@github.com wrote:

This version here.

Andrew Graham

http://www.vimeo.com/houdinifx/showreel

On Sun, Apr 27, 2014 at 9:18 AM, Zach Dwiel notifications@github.comwrote:

cool, do you know which version of the code he was using?

— Reply to this email directly or view it on GitHub< https://github.com/OSE/ceb-controller/issues/4#issuecomment-41497748>

.

— Reply to this email directly or view it on GitHub< https://github.com/OSE/ceb-controller/issues/4#issuecomment-41497829> .

— Reply to this email directly or view it on GitHub< https://github.com/OSE/ceb-controller/issues/4#issuecomment-41498081> .

— Reply to this email directly or view it on GitHubhttps://github.com/OSE/ceb-controller/issues/4#issuecomment-41498249 .