Cabalist / Chipkit-LED-Cube

Github mirror of Doug Domke's code for the Chipkit UNO/uC32 8x8x8 RGB LED Cube
1 stars 0 forks source link

Complilation Error #4

Closed Cabalist closed 8 years ago

Cabalist commented 8 years ago

Arduino: 1.6.8 (Mac OS X), Board: "chipKIT uC32"

/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware "/Applications/Arduino.app/Contents/Java/hardware" -hardware "/Users/work/Library/Arduino15/packages" -tools "/Applications/Arduino.app/Contents/Java/tools-builder" -tools "/Applications/Arduino.app/Contents/Java/hardware/tools/avr" -tools "/Users/work/Library/Arduino15/packages" -built-in-libraries "/Applications/Arduino.app/Contents/Java/libraries" -libraries "/Users/work/Documents/Arduino/libraries" -fqbn=chipKIT:pic32:chipkit_uc32 -ide-version=10608 -build-path "/var/folders/66/n36pf6cd27s6dx2x_jlj6jhm0000gn/T/builda533407a9a950491af915ed788f37829.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "/Users/work/Development/Chipkit-LED-Cube/RGB_8x8x8_CubeAppTemplateV6_1/RGB_8x8x8_CubeAppTemplateV6_1.ino" /Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware "/Applications/Arduino.app/Contents/Java/hardware" -hardware "/Users/work/Library/Arduino15/packages" -tools "/Applications/Arduino.app/Contents/Java/tools-builder" -tools "/Applications/Arduino.app/Contents/Java/hardware/tools/avr" -tools "/Users/work/Library/Arduino15/packages" -built-in-libraries "/Applications/Arduino.app/Contents/Java/libraries" -libraries "/Users/work/Documents/Arduino/libraries" -fqbn=chipKIT:pic32:chipkit_uc32 -ide-version=10608 -build-path "/var/folders/66/n36pf6cd27s6dx2x_jlj6jhm0000gn/T/builda533407a9a950491af915ed788f37829.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "/Users/work/Development/Chipkit-LED-Cube/RGB_8x8x8_CubeAppTemplateV6_1/RGB_8x8x8_CubeAppTemplateV6_1.ino" "/Users/work/Library/Arduino15/packages/chipKIT/tools/pic32-tools/4.8.3-pic32gcc/bin/pic32-g++" -c -g -O2 -w -mno-smart-io -fno-exceptions -ffunction-sections -fdata-sections -mdebugger -Wcast-align -fno-short-double -ftoplevel-reorder -w -x c++ -E -CC -mprocessor=32MX340F512H -DF_CPU=80000000L -DARDUINO=10608 -D_BOARDUC32 -DARDUINO_ARCH_PIC32 -DMPIDEVER=16777998 -DMPIDE=150 -DIDE=Arduino -G1024 -I/var/folders/66/n36pf6cd27s6dx2x_jlj6jhm0000gn/T/builda533407a9a950491af915ed788f37829.tmp/sketch "-I/Users/work/Library/Arduino15/packages/chipKIT/hardware/pic32/1.1.0/cores/pic32" "-I/Users/work/Library/Arduino15/packages/chipKIT/hardware/pic32/1.1.0/variants/uC32" "/var/folders/66/n36pf6cd27s6dx2x_jlj6jhm0000gn/T/builda533407a9a950491af915ed788f37829.tmp/sketch/RGB_8x8x8_CubeAppTemplateV6_1.ino.cpp" -o "/dev/null" "/Users/work/Library/Arduino15/packages/chipKIT/tools/pic32-tools/4.8.3-pic32gcc/bin/pic32-g++" -c -g -O2 -w -mno-smart-io -fno-exceptions -ffunction-sections -fdata-sections -mdebugger -Wcast-align -fno-short-double -ftoplevel-reorder -w -x c++ -E -CC -mprocessor=32MX340F512H -DF_CPU=80000000L -DARDUINO=10608 -D_BOARDUC32 -DARDUINO_ARCH_PIC32 -DMPIDEVER=16777998 -DMPIDE=150 -DIDE=Arduino -G1024 -I/var/folders/66/n36pf6cd27s6dx2x_jlj6jhm0000gn/T/builda533407a9a950491af915ed788f37829.tmp/sketch "-I/Users/work/Library/Arduino15/packages/chipKIT/hardware/pic32/1.1.0/cores/pic32" "-I/Users/work/Library/Arduino15/packages/chipKIT/hardware/pic32/1.1.0/variants/uC32" "/var/folders/66/n36pf6cd27s6dx2x_jlj6jhm0000gn/T/builda533407a9a950491af915ed788f37829.tmp/sketch/RGB_8x8x8_CubeAppTemplateV6_1.ino.cpp" -o "/dev/null" "/Users/work/Library/Arduino15/packages/chipKIT/tools/pic32-tools/4.8.3-pic32gcc/bin/pic32-g++" -c -g -O2 -w -mno-smart-io -fno-exceptions -ffunction-sections -fdata-sections -mdebugger -Wcast-align -fno-short-double -ftoplevel-reorder -w -x c++ -E -CC -mprocessor=32MX340F512H -DF_CPU=80000000L -DARDUINO=10608 -D_BOARDUC32 -DARDUINO_ARCH_PIC32 -DMPIDEVER=16777998 -DMPIDE=150 -DIDE=Arduino -G1024 -I/var/folders/66/n36pf6cd27s6dx2x_jlj6jhm0000gn/T/builda533407a9a950491af915ed788f37829.tmp/sketch "-I/Users/work/Library/Arduino15/packages/chipKIT/hardware/pic32/1.1.0/cores/pic32" "-I/Users/work/Library/Arduino15/packages/chipKIT/hardware/pic32/1.1.0/variants/uC32" "/var/folders/66/n36pf6cd27s6dx2x_jlj6jhm0000gn/T/builda533407a9a950491af915ed788f37829.tmp/sketch/RGB_8x8x8_CubeAppTemplateV6_1.ino.cpp" -o "/var/folders/66/n36pf6cd27s6dx2x_jlj6jhm0000gn/T/builda533407a9a950491af915ed788f37829.tmp/preproc/ctags_target_for_gcc_minus_e.cpp" "/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino10/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/var/folders/66/n36pf6cd27s6dx2x_jlj6jhm0000gn/T/builda533407a9a950491af915ed788f37829.tmp/preproc/ctags_target_for_gcc_minus_e.cpp" "/Users/work/Library/Arduino15/packages/chipKIT/tools/pic32-tools/4.8.3-pic32gcc/bin/pic32-g++" -c -g -O2 -w -mno-smart-io -fno-exceptions -ffunction-sections -fdata-sections -mdebugger -Wcast-align -fno-short-double -ftoplevel-reorder -MMD -I/var/folders/66/n36pf6cd27s6dx2x_jlj6jhm0000gn/T/builda533407a9a950491af915ed788f37829.tmp -mprocessor=32MX340F512H -DF_CPU=80000000L -DARDUINO=10608 -D_BOARDUC32 -DMPIDEVER=16777998 -DMPIDE=150 -DIDE=Arduino "-G1024" -I/var/folders/66/n36pf6cd27s6dx2x_jlj6jhm0000gn/T/builda533407a9a950491af915ed788f37829.tmp/sketch "-I/Users/work/Library/Arduino15/packages/chipKIT/hardware/pic32/1.1.0/cores/pic32" "-I/Users/work/Library/Arduino15/packages/chipKIT/hardware/pic32/1.1.0/variants/uC32" "/var/folders/66/n36pf6cd27s6dx2x_jlj6jhm0000gn/T/builda533407a9a950491af915ed788f37829.tmp/sketch/RGB_8x8x8_CubeAppTemplateV6_1.ino.cpp" -o "/var/folders/66/n36pf6cd27s6dx2x_jlj6jhm0000gn/T/builda533407a9a950491af915ed788f37829.tmp/sketch/RGB_8x8x8_CubeAppTemplateV6_1.ino.cpp.o" /Users/work/Development/Chipkit-LED-Cube/RGB_8x8x8_CubeAppTemplateV6_1/m_Bouncing_Ball.ino: In function 'void bouncing_ball()': m_Bouncing_Ball:26: error: assigning to an array from an initializer list mySprite.place = { // set up its initial location ^ m_Bouncing_Ball:28: error: assigning to an array from an initializer list mySprite.motion = { // set up its initial motion ^ m_Bouncing_Ball:30: error: assigning to an array from an initializer list mySprite.description = { // define the shape and color of a red ball. ^ /Users/work/Development/Chipkit-LED-Cube/RGB_8x8x8_CubeAppTemplateV6_1/m_Eyes.ino: In function 'void eyes()': m_Eyes:27: error: assigning to an array from an initializer list Sprite1.place = {0, 0, 3}; ^ m_Eyes:28: error: assigning to an array from an initializer list Sprite1.motion = {1, 2, -1}; ^ m_Eyes:29: error: assigning to an array from an initializer list Sprite1.description = { // just a simple red green green line across 3 layers ^ /Users/work/Development/Chipkit-LED-Cube/RGB_8x8x8_CubeAppTemplateV6_1/m_Flip_and_Roll.ino: In function 'void flip_and_roll()': m_Flip_and_Roll:26: error: assigning to an array from an initializer list Sprite1.place = {1, 1, 1}; ^ m_Flip_and_Roll:27: error: assigning to an array from an initializer list Sprite1.description = { // just a simple red green green line across 3 layers ^ m_Flip_and_Roll:45: error: assigning to an array from an initializer list Sprite2.place = {4, 4, 5}; ^ m_Flip_and_Roll:46: error: assigning to an array from an initializer list Sprite2.description = { // just a simple red green green line across 3 layers ^ m_Flip_and_Roll:64: error: assigning to an array from an initializer list Sprite3.place = {1, 4, 3}; ^ m_Flip_and_Roll:65: error: assigning to an array from an initializer list Sprite3.description = { // just a simple red green green line across 3 layers ^ /Users/work/Development/Chipkit-LED-Cube/RGB_8x8x8_CubeAppTemplateV6_1/m_Flying_Boxes.ino: In function 'void flyingBoxes()': m_Flying_Boxes:25: error: assigning to an array from an initializer list mySprite.place = {3, 5, 3}; // locate it in the lower, back corner of the cube ^ m_Flying_Boxes:27: error: assigning to an array from an initializer list mySprite.motion = {2, 1, 1}; // gives my sprite an initial direction of motion ^ m_Flying_Boxes:31: error: assigning to an array from an initializer list mySprite2.place = {0, 3, 2}; // locate it in the lower, back corner of the cube ^ m_Flying_Boxes:33: error: assigning to an array from an initializer list mySprite2.motion = {2, 1, 1}; // gives my sprite an initial direction of motion ^ m_Flying_Boxes:37: error: assigning to an array from an initializer list mySprite3.place = {4, 2, 4}; // locate it in the lower, back corner of the cube ^ m_Flying_Boxes:39: error: assigning to an array from an initializer list mySprite3.motion = {2, 1, 1}; // gives my sprite an initial direction of motion ^ /Users/work/Development/Chipkit-LED-Cube/RGB_8x8x8_CubeAppTemplateV6_1/m_Helicopter.ino: In function 'void helicopter()': m_Helicopter:32: error: assigning to an array from an initializer list mySprite.place = { // set up its initial location ^ m_Helicopter:34: error: assigning to an array from an initializer list mySprite.motion = { // set up its initial motion ^ m_Helicopter:36: error: assigning to an array from an initializer list mySprite.description = { // define the shape and color of the helicopter. ^ /Users/work/Development/Chipkit-LED-Cube/RGB_8x8x8_CubeAppTemplateV6_1/m_Simple_Demos.ino: In function 'void simple_demos()': m_Simple_Demos:28: error: assigning to an array from an initializer list Sprite1.description = { // this is the description of our Sprite 1 ^ m_Simple_Demos:45: error: assigning to an array from an initializer list Sprite2.description = { // this is the description of our Sprite 2 ^ m_Simple_Demos:63: error: assigning to an array from an initializer list mySprite.place = {1, 2, 1}; // locate it in the lower, back corner of the cube ^ m_Simple_Demos:64: error: assigning to an array from an initializer list Sprite1.place = {5, 2, 5}; // Here we specify the initial location of Sprite 1 ^ m_Simple_Demos:65: error: assigning to an array from an initializer list Sprite1.motion = {-1, 1, -1}; // Here we specify motion of Sprite 1 ^ m_Simple_Demos:67: error: assigning to an array from an initializer list Sprite2.place = {0, 1, 0}; // Here we specify the initial location of Sprite 2 ^ m_Simple_Demos:68: error: assigning to an array from an initializer list Sprite2.motion = {1, 2, -1}; // Here we specify motion of Sprite 2 ^ m_Simple_Demos:73: error: assigning to an array from an initializer list mySprite.motion = {2, 1, 1}; // gives my sprite an initial direction of motion ^ m_Simple_Demos:88: error: assigning to an array from an initializer list Sprite1.motion = {1, -1, 1}; // reverse direction ^ /Users/work/Development/Chipkit-LED-Cube/RGB_8x8x8_CubeAppTemplateV6_1/m_Single_Swirl.ino: In function 'void single_swirl()': m_Single_Swirl:26: error: assigning to an array from an initializer list LED1.place = {5, 4, 3}; ^ m_Single_Swirl:27: error: assigning to an array from an initializer list LED1.motion = {1, -2, 1}; ^ m_Single_Swirl:31: error: assigning to an array from an initializer list LED2.place = {3, 4, 5}; ^ m_Single_Swirl:32: error: assigning to an array from an initializer list LED2.motion = {1, 1, -2}; ^ m_Single_Swirl:36: error: assigning to an array from an initializer list LED3.place = {2, 6, 3}; ^ m_Single_Swirl:37: error: assigning to an array from an initializer list LED3.motion = {1, -1, -2}; ^ m_Single_Swirl:41: error: assigning to an array from an initializer list LED4.place = {5, 1, 2}; ^ m_Single_Swirl:42: error: assigning to an array from an initializer list LED4.motion = {2, 1, -1}; ^ m_Single_Swirl:46: error: assigning to an array from an initializer list LED5.place = {1, 2, 3}; ^ m_Single_Swirl:47: error: assigning to an array from an initializer list LED5.motion = {1, 1, 2}; ^ /Users/work/Development/Chipkit-LED-Cube/RGB_8x8x8_CubeAppTemplateV6_1/m_multi_swirl.ino: In function 'void multi_swirl()': m_multi_swirl:26: error: assigning to an array from an initializer list LED1.place = {5, 4, 3}; ^ m_multi_swirl:27: error: assigning to an array from an initializer list LED1.motion = {1, -2, 1}; ^ m_multi_swirl:31: error: assigning to an array from an initializer list LED2.place = {3, 4, 5}; ^ m_multi_swirl:32: error: assigning to an array from an initializer list LED2.motion = {2, 1, -2}; ^ m_multi_swirl:36: error: assigning to an array from an initializer list LED3.place = {2, 6, 3}; ^ m_multi_swirl:37: error: assigning to an array from an initializer list LED3.motion = {1, -1, -1}; ^ m_multi_swirl:41: error: assigning to an array from an initializer list LED4.place = {5, 1, 2}; ^ m_multi_swirl:42: error: assigning to an array from an initializer list LED4.motion = {2, 1, -1}; ^ m_multi_swirl:46: error: assigning to an array from an initializer list LED5.place = {1, 2, 3}; ^ m_multi_swirl:47: error: assigning to an array from an initializer list LED5.motion = {1, 1, 2}; ^ m_multi_swirl:51: error: assigning to an array from an initializer list LED6.place = {5, 1, 2}; ^ m_multi_swirl:52: error: assigning to an array from an initializer list LED6.motion = {2, 1, -1}; ^ exit status 255 assigning to an array from an initializer list

Cabalist commented 8 years ago

fixed @ 4e7aa3ea18f319aa105a9090be3f4a6bbccc02dc