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

Compiling with Platform.io in VSCode Error #17

Open
Azshurith opened this issue Aug 1, 2024 · 0 comments
Open

Compiling with Platform.io in VSCode Error #17

Azshurith opened this issue Aug 1, 2024 · 0 comments

Comments

@Azshurith
Copy link

Any idea on how to compile the code in platform.io? I already fixed the library issues.

`

  • Executing task in folder AutonomousFollowMe: C:\Users\rnylz.platformio\penv\Scripts\platformio.exe run

Processing uno (platform: atmelavr; board: uno; framework: arduino)

Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/uno.html
PLATFORM: Atmel AVR (5.0.0) > Arduino Uno
HARDWARE: ATMEGA328P 16MHz, 2KB RAM, 31.50KB Flash
DEBUG: Current (avr-stub) External (avr-stub, simavr)
PACKAGES:

  • framework-arduino-avr @ 5.2.0
  • toolchain-atmelavr @ 1.70300.191015 (7.3.0)
    LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
    LDF Modes: Finder ~ chain, Compatibility ~ soft
    Found 10 compatible libraries
    Scanning dependencies...
    Dependency Graph
    |-- Adafruit Unified Sensor @ 1.1.14
    |-- Servo @ 1.2.2
    |-- Adafruit HMC5883 Unified @ 1.2.3
    |-- Wire @ 1.0
    Building in release mode
    Linking .pio\build\uno\firmware.elf
    C:\Users\user\AppData\Local\Temp\cc1HPLnT.ltrans0.ltrans.o: In function main': <artificial>:(.text.startup+0x86): undefined reference to setup'
    :(.text.startup+0x8e): undefined reference to `loop'
    collect2.exe: error: ld returned 1 exit status
    *** [.pio\build\uno\firmware.elf] Error 1
    ============================================================================== [FAILED] Took 2.60 seconds ==============================================================================
  • The terminal process "C:\Users\user.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.
  • Terminal will be reused by tasks, press any key to close it.
    `
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