Skip to content

Hitting compile twice causes error, have to restart IDE #2574

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

Closed
NicoHood opened this issue Jan 24, 2015 · 4 comments
Closed

Hitting compile twice causes error, have to restart IDE #2574

NicoHood opened this issue Jan 24, 2015 · 4 comments
Assignees
Labels
Component: Compilation Related to compilation of Arduino sketches Component: IDE The Arduino IDE
Milestone

Comments

@NicoHood
Copy link
Contributor

Just hit the compile button when you are already compiling. The error wont disappear, you have to restart the IDE.

C:\Users\Nico\AppData\Local\Temp\build4870134429926225134.tmp/core.a(main.cpp.o): In function `main':
C:\Users\Nico\Dropbox\Arduino\sketchbook\hardware\HID\avr\cores\hid/main.cpp:32: undefined reference to `init'
C:\Users\Nico\AppData\Local\Temp\build4870134429926225134.tmp/core.a(USBCore.cpp.o): In function `USB_ClockEnable':
C:\Users\Nico\Dropbox\Arduino\sketchbook\hardware\HID\avr\cores\hid\USB-Core/USBCore.cpp:742: undefined reference to `delay'
C:\Users\Nico\AppData\Local\Temp\build4870134429926225134.tmp/core.a(USBCore.cpp.o): In function `USB_Send(unsigned char, void const*, int)':
C:\Users\Nico\Dropbox\Arduino\sketchbook\hardware\HID\avr\cores\hid\USB-Core/USBCore.cpp:316: undefined reference to `delay'
collect2: error: ld returned 1 exit status
Error compiling.
C:\Users\Nico\AppData\Local\Temp\build4870134429926225134.tmp/core.a(main.cpp.o): In function `main':
C:\Users\Nico\Dropbox\Arduino\sketchbook\hardware\HID\avr\cores\hid/main.cpp:32: undefined reference to `init'
C:\Users\Nico\AppData\Local\Temp\build4870134429926225134.tmp/core.a(USBCore.cpp.o): In function `USB_ClockEnable':
C:\Users\Nico\Dropbox\Arduino\sketchbook\hardware\HID\avr\cores\hid\USB-Core/USBCore.cpp:742: undefined reference to `delay'
C:\Users\Nico\AppData\Local\Temp\build4870134429926225134.tmp/core.a(USBCore.cpp.o): In function `USB_Send(unsigned char, void const*, int)':
C:\Users\Nico\Dropbox\Arduino\sketchbook\hardware\HID\avr\cores\hid\USB-Core/USBCore.cpp:316: undefined reference to `delay'
collect2: error: ld returned 1 exit status
Error compiling.

Using IDE 1.6 rc2 Windows 8.1 Update

@ffissore
Copy link
Contributor

Just tried with a windows 7: the error is shown but disappears when I hit compile once more after the first two compilations terminate

@ffissore ffissore added the Component: IDE The Arduino IDE label Jan 26, 2015
@NicoHood
Copy link
Contributor Author

Hm looks the same for me now with uno BUT not for leonardo boards. Try that pls.

@NicoHood
Copy link
Contributor Author

anyone?

@ffissore
Copy link
Contributor

ffissore commented Sep 8, 2015

Merged into #3771

@ffissore ffissore closed this as completed Sep 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Compilation Related to compilation of Arduino sketches Component: IDE The Arduino IDE
Projects
None yet
Development

No branches or pull requests

2 participants