Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

"Compilation error: Error: 2 UNKNOWN: exit status 1" error message is unnecessarily cryptic #151

Closed
Assignees
Labels
@TheAnton205

Description

Describe the bug
Any program I run and attempt to compile I get this error:

c:/users/anton/appdata/local/arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/lib/avr5/crtatmega328p.o:(.init9+0x0): undefined reference to `main'
collect2.exe: error: ld returned 1 exit status
Compilation error: Error: 2 UNKNOWN: exit status 1

  • I recently got the beta and no matter what I do I had this (yes I restarted my pc) and I even download the latest Git (2.30.1) 64-bit.

To Reproduce
Steps to reproduce the behavior:

  1. Open any code
  2. Click compile

Expected behavior
Expected for the code to compile.

Desktop (please complete the following information):

  • OS: Windows 10 Pro 64-bit
  • Version: 2.0.0-beta3

Additional context
This could be due to from when some notification occurred which I couldn't figure out what it was for. I do remember that it led to this link. However, I don't see this notification anymore?

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /