# Compile and upload issues for M5StickC camera remote

**URL:** <https://forum.core-electronics.com.au/t/compile-and-upload-issues-for-m5stickc-camera-remote/10249>\
**Category:** Arduino\
**Created:** [23 May 2021 12:14 UTC](https://forum.core-electronics.com.au/t/compile-and-upload-issues-for-m5stickc-camera-remote/10249 "2021-05-23T12:14:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aaron122700](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@Aaron122700](https://forum.core-electronics.com.au/u/Aaron122700)\
**Post date:** [23 May 2021 12:14 UTC](https://forum.core-electronics.com.au/t/compile-and-upload-issues-for-m5stickc-camera-remote/10249/1 "2021-05-23T12:14:45Z")

</div>

Hello, I am trying [to do this project](https://github.com/schoolpost/BlueMagic32?fbclid=IwAR3egcogY4ola9kJTe7I492STEUvdYf2v5MbRsrJM87blTfG0SSerBpBPBw) to make[the M5Stick](https://core-electronics.com.au/m5stick-c-pico-mini-iot-development-board.html?aspx_refresh) a camera remote and having these error messages appear when I go to upload:

`Arduino: 1.8.15 (Windows Store` [`1.8.49.0`](https://1.8.49.0/) `) (Windows 10), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 115200, None"`

`c:/users/aaron/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-80-g6c4433a-5.2.0/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find crt1-sim.o: No such file or directory`

`c:/users/aaron/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-80-g6c4433a-5.2.0/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find _vectors.o: No such file or directory`

`collect2.exe: error: ld returned 1 exit status`

`exit status 1`

`Error compiling for board ESP32 Dev Module.`

I followed [these instructions](https://github.com/schoolpost/BlueMagic32?fbclid=IwAR3egcogY4ola9kJTe7I492STEUvdYf2v5MbRsrJM87blTfG0SSerBpBPBw)and [this video](https://vimeo.com/386151760) , in addition to get the M5Stick accessible I had to use [these drivers](https://ftdichip.com/drivers/vcp-drivers/).

I tired uploading other projects like flappy bird, but nothing from arduino seems to work. I can howver use the M5 Bruner software and load porjects that way.

If anyone could please help me out, I would be very grateful. I’vetried Googling the issue and making the recommended changes, but no luck so far.

---

<div class="post-metadata">

**Author:** ![James](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/james/32/4400_2.png) [@James](https://forum.core-electronics.com.au/u/James)\
**Post date:** [24 May 2021 06:44 UTC](https://forum.core-electronics.com.au/t/compile-and-upload-issues-for-m5stickc-camera-remote/10249/2 "2021-05-24T06:44:16Z")

</div>

Hey Aaron,

First thing I’d like to check, which board have you got selected in the Arduino IDE?

I’ve found a couple people with similar issues but I’ve got to do some more reading to find out whether it’s the same thing as you.

-James
