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

Compilation error #7

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/builde9de60503ec2bbf4a41a0402e214313f.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "/Users/work/Development/Chipkit-LED-Cube/The_Big_Show_V2_2/The_Big_Show_V2_2.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/builde9de60503ec2bbf4a41a0402e214313f.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "/Users/work/Development/Chipkit-LED-Cube/The_Big_Show_V2_2/The_Big_Show_V2_2.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/builde9de60503ec2bbf4a41a0402e214313f.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/builde9de60503ec2bbf4a41a0402e214313f.tmp/sketch/The_Big_Show_V2_2.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/builde9de60503ec2bbf4a41a0402e214313f.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/builde9de60503ec2bbf4a41a0402e214313f.tmp/sketch/The_Big_Show_V2_2.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/builde9de60503ec2bbf4a41a0402e214313f.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/builde9de60503ec2bbf4a41a0402e214313f.tmp/sketch/The_Big_Show_V2_2.ino.cpp" -o "/var/folders/66/n36pf6cd27s6dx2x_jlj6jhm0000gn/T/builde9de60503ec2bbf4a41a0402e214313f.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/builde9de60503ec2bbf4a41a0402e214313f.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/builde9de60503ec2bbf4a41a0402e214313f.tmp -mprocessor=32MX340F512H -DF_CPU=80000000L -DARDUINO=10608 -D_BOARDUC32 -DMPIDEVER=16777998 -DMPIDE=150 -DIDE=Arduino "-G1024" -I/var/folders/66/n36pf6cd27s6dx2x_jlj6jhm0000gn/T/builde9de60503ec2bbf4a41a0402e214313f.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/builde9de60503ec2bbf4a41a0402e214313f.tmp/sketch/The_Big_Show_V2_2.ino.cpp" -o "/var/folders/66/n36pf6cd27s6dx2x_jlj6jhm0000gn/T/builde9de60503ec2bbf4a41a0402e214313f.tmp/sketch/The_Big_Show_V2_2.ino.cpp.o" /Users/work/Development/Chipkit-LED-Cube/The_Big_Show_V2_2/m_Animations.ino: In function 'void displayCube(int, int, int, int, int)': m_Animations:109: error: assigning to an array from an initializer list mySprite.place = {x, y, z}; ^ /Users/work/Development/Chipkit-LED-Cube/The_Big_Show_V2_2/m_Animations.ino: In function 'void bounceCube(int, int, int, int, int)': m_Animations:118: error: assigning to an array from an initializer list mySprite.place = {x, y, z}; ^ m_Animations:119: error: assigning to an array from an initializer list mySprite.motion = {1, 2, -1}; // gives my sprite an initial direction of motion ^ /Users/work/Development/Chipkit-LED-Cube/The_Big_Show_V2_2/m_Animations.ino: In function 'void RollingBall()': m_Animations:142: error: assigning to an array from an initializer list mySprite.place = {-1, 1, 1}; ^ /Users/work/Development/Chipkit-LED-Cube/The_Big_Show_V2_2/m_Animations.ino: In function 'void Helicopter()': m_Animations:362: error: assigning to an array from an initializer list heli.place = { // set up its initial location ^ m_Animations:364: error: assigning to an array from an initializer list heli.motion = { // set up its initial motion ^ m_Animations:366: error: assigning to an array from an initializer list heli.description = { // define the shape and color of the helicopter. ^ /Users/work/Development/Chipkit-LED-Cube/The_Big_Show_V2_2/m_Animations.ino: In function 'void TheOrnament()': m_Animations:655: error: assigning to an array from an initializer list mySprite.description = { // define the shape and color. ^ m_Animations:687: error: assigning to an array from an initializer list mySprite.place = {3, 3, 1}; ^ m_Animations:725: error: assigning to an array from an initializer list mySprite.place = {3, 3, 1}; ^ m_Animations:726: error: assigning to an array from an initializer list mySprite.motion = {0, 0, 1}; ^ m_Animations:738: error: assigning to an array from an initializer list mySprite.place = {3, 3, 1}; ^ m_Animations:739: error: assigning to an array from an initializer list mySprite.motion = {0, 0, 1}; ^ m_Animations:745: error: assigning to an array from an initializer list mySprite.place = {3, 3, 1}; ^ /Users/work/Development/Chipkit-LED-Cube/The_Big_Show_V2_2/m_Animations.ino: In function 'void Multi_Swirl()': m_Animations:907: error: assigning to an array from an initializer list LED1.place = {5, 4, 3}; ^ m_Animations:908: error: assigning to an array from an initializer list LED1.motion = {1, -2, 1}; ^ m_Animations:912: error: assigning to an array from an initializer list LED2.place = {3, 4, 5}; ^ m_Animations:913: error: assigning to an array from an initializer list LED2.motion = {2, 1, -2}; ^ m_Animations:917: error: assigning to an array from an initializer list LED3.place = {2, 6, 3}; ^ m_Animations:918: error: assigning to an array from an initializer list LED3.motion = {1, -1, -1}; ^ m_Animations:922: error: assigning to an array from an initializer list LED4.place = {5, 1, 2}; ^ m_Animations:923: error: assigning to an array from an initializer list LED4.motion = {2, 1, -1}; ^ m_Animations:927: error: assigning to an array from an initializer list LED5.place = {1, 2, 3}; ^ m_Animations:928: error: assigning to an array from an initializer list LED5.motion = {1, 1, 2}; ^ m_Animations:932: error: assigning to an array from an initializer list LED6.place = {5, 1, 2}; ^ m_Animations:933: error: assigning to an array from an initializer list LED6.motion = {2, 1, -1}; ^ /Users/work/Development/Chipkit-LED-Cube/The_Big_Show_V2_2/m_Animations.ino: In function 'void Flip_and_Roll()': m_Animations:959: error: assigning to an array from an initializer list Sprite1.place = {1, 1, 1}; ^ m_Animations:960: error: assigning to an array from an initializer list Sprite1.description = { // just a simple red green green line across 3 layers ^ m_Animations:978: error: assigning to an array from an initializer list Sprite2.place = {4, 4, 5}; ^ m_Animations:979: error: assigning to an array from an initializer list Sprite2.description = { // just a simple red green green line across 3 layers ^ m_Animations:997: error: assigning to an array from an initializer list Sprite3.place = {1, 4, 3}; ^ m_Animations:998: 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/The_Big_Show_V2_2/m_Animations.ino: In function 'void FlyingBoxes()': m_Animations:1057: 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_Animations:1059: error: assigning to an array from an initializer list mySprite.motion = {2, 1, 1}; // gives my sprite an initial direction of motion ^ m_Animations:1063: 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_Animations:1065: error: assigning to an array from an initializer list mySprite2.motion = {2, 1, 1}; // gives my sprite an initial direction of motion ^ m_Animations:1069: 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_Animations:1071: 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/The_Big_Show_V2_2/m_Animations.ino: In function 'void Eyes()': m_Animations:1915: error: assigning to an array from an initializer list Sprite1.place = {0, 0, 3}; ^ m_Animations:1916: error: assigning to an array from an initializer list Sprite1.motion = {1, 2, -1}; ^ m_Animations:1917: 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/The_Big_Show_V2_2/m_Animations.ino: In function 'void Single_Swirl()': m_Animations:1963: error: assigning to an array from an initializer list LED1.place = {5, 4, 3}; ^ m_Animations:1964: error: assigning to an array from an initializer list LED1.motion = {1, -2, 1}; ^ m_Animations:1968: error: assigning to an array from an initializer list LED2.place = {3, 4, 5}; ^ m_Animations:1969: error: assigning to an array from an initializer list LED2.motion = {1, 1, -2}; ^ m_Animations:1973: error: assigning to an array from an initializer list LED3.place = {2, 6, 3}; ^ m_Animations:1974: error: assigning to an array from an initializer list LED3.motion = {1, -1, -2}; ^ m_Animations:1978: error: assigning to an array from an initializer list LED4.place = {5, 1, 2}; ^ m_Animations:1979: error: assigning to an array from an initializer list LED4.motion = {2, 1, -1}; ^ m_Animations:1983: error: assigning to an array from an initializer list LED5.place = {1, 2, 3}; ^ m_Animations:1984: error: assigning to an array from an initializer list LED5.motion = {1, 1, 2}; ^ /Users/work/Development/Chipkit-LED-Cube/The_Big_Show_V2_2/m_Animations.ino: In function 'void Basketball_Dribble()': m_Animations:2016: error: assigning to an array from an initializer list mySprite.place = { // set up its initial location ^ m_Animations:2018: error: assigning to an array from an initializer list mySprite.motion = { // set up its initial motion ^ m_Animations:2020: error: assigning to an array from an initializer list mySprite.description = { // define the shape and color of a red ball. ^ exit status 255 assigning to an array from an initializer list

Cabalist commented 8 years ago

Fixed @ 7d2c160ad64d9569dff795b35762037267c9bf36