Skip to content

collect2.exe: error: ld returned 1 exit status #96

Description

@aex17devae

Troubleshooting checklist

  • I read the README (on master) thoroughly
  • I ran the MAX30100_Tester and I'm going to paste the output down below
  • c:/users/dev nagar/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\xyz\AppData\Local\Temp\arduino\sketches\2409C4F56E98BF089C28125FBD790687\libraries\Wire\Wire.cpp.o:C:\Users\xyz \AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.14\libraries\Wire\src/Wire.cpp:697: multiple definition of Wire'; C:\Users\xyz\AppData\Local\Temp\arduino\sketches\2409C4F56E98BF089C28125FBD790687\sketch\HR_SPO2_Max30100.ino.cpp.o:C:\Users\xyz\AppData\Local\Temp\.arduinoIDE-unsaved202434-17480-g1p1ww.3uuck\HR_SPO2_Max30100/HR_SPO2_Max30100.ino:26: first defined here C:\Users\xyz\AppData\Local\Temp\arduino\sketches\2409C4F56E98BF089C28125FBD790687\libraries\VEGA_MAX30100\VEGA_MAX30100.cpp.o: in function CircularBuffer<SensorReadout, (unsigned char)16>::pop()':
    c:\Users\xyz\Documents\Arduino\libraries\Arduino-MAX30100\src/CircularBuffer.tpp:85:(.text._ZN14CircularBufferI13SensorReadoutLh16EE3popEv[_ZN14CircularBufferI13SensorReadoutLh16EE3popEv]+0x8): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: UND
    collect2.exe: error: ld returned 1 exit status

Using library Wire at version 2.0.0 in folder: C:\Users\xyz\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.14\libraries\Wire

Compilation error: exit status 1

  • I filled in all the details of my setup down below

Description of the issue

i get this error only while using thish library even in example of this library

Output from MAX30100_Tester example

not compiling

Details of my setup

  • Arduino hardware: Esp 32
  • MAX30100 breakout
  • Arduino framework version: 2.+
  • MAX30100 library version:latest

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions