Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

leovxhq: 'iivxReport_t' does not name a type + Various "not declared in this scope" errors #3

Closed
Espionage724 opened this issue Dec 5, 2016 · 1 comment

Comments

@Espionage724
Copy link
Contributor

Arduino: 1.6.13 (Windows 7), Board: "Arduino/Genuino Uno"

C:\Users\Espionage724\Downloads\arduino-1.6.13-windows\arduino-1.6.13\arduino-builder -dump-prefs -logger=machine -hardware C:\Users\Espionage724\Downloads\arduino-1.6.13-windows\arduino-1.6.13\hardware -tools C:\Users\Espionage724\Downloads\arduino-1.6.13-windows\arduino-1.6.13\tools-builder -tools C:\Users\Espionage724\Downloads\arduino-1.6.13-windows\arduino-1.6.13\hardware\tools\avr -built-in-libraries C:\Users\Espionage724\Downloads\arduino-1.6.13-windows\arduino-1.6.13\libraries -libraries C:\Users\Espionage724\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X8036 -ide-version=10613 -build-path C:\Users\ESPION~1\AppData\Local\Temp\arduino_build_732012 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Users\Espionage724\Downloads\arduino-1.6.13-windows\arduino-1.6.13\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Users\Espionage724\Downloads\arduino-1.6.13-windows\arduino-1.6.13\hardware\tools\avr -verbose C:\Users\Espionage724\Downloads\iivx-master\leoo\leovxhq\leovxhq.ino
C:\Users\Espionage724\Downloads\arduino-1.6.13-windows\arduino-1.6.13\arduino-builder -compile -logger=machine -hardware C:\Users\Espionage724\Downloads\arduino-1.6.13-windows\arduino-1.6.13\hardware -tools C:\Users\Espionage724\Downloads\arduino-1.6.13-windows\arduino-1.6.13\tools-builder -tools C:\Users\Espionage724\Downloads\arduino-1.6.13-windows\arduino-1.6.13\hardware\tools\avr -built-in-libraries C:\Users\Espionage724\Downloads\arduino-1.6.13-windows\arduino-1.6.13\libraries -libraries C:\Users\Espionage724\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X8036 -ide-version=10613 -build-path C:\Users\ESPION~1\AppData\Local\Temp\arduino_build_732012 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Users\Espionage724\Downloads\arduino-1.6.13-windows\arduino-1.6.13\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Users\Espionage724\Downloads\arduino-1.6.13-windows\arduino-1.6.13\hardware\tools\avr -verbose C:\Users\Espionage724\Downloads\iivx-master\leoo\leovxhq\leovxhq.ino
Using board 'uno' from platform in folder: C:\Users\Espionage724\Downloads\arduino-1.6.13-windows\arduino-1.6.13\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Users\Espionage724\Downloads\arduino-1.6.13-windows\arduino-1.6.13\hardware\arduino\avr
Detecting libraries used...
"C:\Users\Espionage724\Downloads\arduino-1.6.13-windows\arduino-1.6.13\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10613 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\Espionage724\Downloads\arduino-1.6.13-windows\arduino-1.6.13\hardware\arduino\avr\cores\arduino" "-IC:\Users\Espionage724\Downloads\arduino-1.6.13-windows\arduino-1.6.13\hardware\arduino\avr\variants\standard" "C:\Users\ESPION~1\AppData\Local\Temp\arduino_build_732012\sketch\leovxhq.ino.cpp" -o "nul"
Using cached library dependencies for file: C:\Users\ESPION~1\AppData\Local\Temp\arduino_build_732012\sketch\HID.cpp
Using cached library dependencies for file: C:\Users\ESPION~1\AppData\Local\Temp\arduino_build_732012\sketch\iivx_leo.cpp
Generating function prototypes...
"C:\Users\Espionage724\Downloads\arduino-1.6.13-windows\arduino-1.6.13\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10613 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\Espionage724\Downloads\arduino-1.6.13-windows\arduino-1.6.13\hardware\arduino\avr\cores\arduino" "-IC:\Users\Espionage724\Downloads\arduino-1.6.13-windows\arduino-1.6.13\hardware\arduino\avr\variants\standard" "C:\Users\ESPION~1\AppData\Local\Temp\arduino_build_732012\sketch\leovxhq.ino.cpp" -o "C:\Users\ESPION~1\AppData\Local\Temp\arduino_build_732012\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Users\Espionage724\Downloads\arduino-1.6.13-windows\arduino-1.6.13\tools-builder\ctags\5.8-arduino10/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\ESPION~1\AppData\Local\Temp\arduino_build_732012\preproc\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
Using previously compiled file: C:\Users\ESPION~1\AppData\Local\Temp\arduino_build_732012\sketch\HID.cpp.o
Using previously compiled file: C:\Users\ESPION~1\AppData\Local\Temp\arduino_build_732012\sketch\iivx_leo.cpp.o
"C:\Users\Espionage724\Downloads\arduino-1.6.13-windows\arduino-1.6.13\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10613 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\Espionage724\Downloads\arduino-1.6.13-windows\arduino-1.6.13\hardware\arduino\avr\cores\arduino" "-IC:\Users\Espionage724\Downloads\arduino-1.6.13-windows\arduino-1.6.13\hardware\arduino\avr\variants\standard" "C:\Users\ESPION~1\AppData\Local\Temp\arduino_build_732012\sketch\leovxhq.ino.cpp" -o "C:\Users\ESPION~1\AppData\Local\Temp\arduino_build_732012\sketch\leovxhq.ino.cpp.o"
leovxhq:2: error: 'iivxReport_t' does not name a type

 iivxReport_t report; 

 ^

C:\Users\Espionage724\Downloads\iivx-master\leoo\leovxhq\leovxhq.ino: In function 'void loop()':

leovxhq:95: error: 'report' was not declared in this scope

       report.buttons |= (uint16_t)1 << i;

       ^

leovxhq:97: error: 'report' was not declared in this scope

       report.buttons &= ~((uint16_t)1 << i);

       ^

leovxhq:101: error: 'report' was not declared in this scope

   report.xAxis = (uint8_t)((int32_t)(encL / ENCODER_SENSITIVITY) % 256);

   ^

leovxhq:107: error: 'iivx_led' was not declared in this scope

     lights(iivx_led);

            ^

leovxhq:126: error: 'iivx' was not declared in this scope

   iivx.setState(&report);

   ^

exit status 1
'iivxReport_t' does not name a type
@Espionage724 Espionage724 changed the title 'iivxReport_t' does not name a type + Various "not declared in this scope" errors leovxhq: 'iivxReport_t' does not name a type + Various "not declared in this scope" errors Dec 5, 2016
@Espionage724
Copy link
Contributor Author

Had the wrong board selected; no issues with compiling now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant