-
Notifications
You must be signed in to change notification settings - Fork 19
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
build\core.a: No such file or directory #24
Comments
Have you installed the Arduino IDE? |
It was 1.0.5;;;; |
I'm on Ubuntu 13.10 and unfortunately get the same error with recent builds of Arscons. It happens with Arduino 1.0.1 and 1.0.5. It would appear that the entry on line 404 might be to blame kyleg@wmlp1000: |
I tried on windows... but it failed because "build/core.a" not exists. |
HI! |
I have the same issue. Installed on 64 arch, set AVR_HOME to /usr/bin, then I get: |
I had the same issue, resolved it by adding a trailing forward slash to AVR_HOME option, i.e. AVR_HOME="/usr/bin/" not AVR_HOME="/usr/bin". |
Not sure if this is still an issue (although I did get the same error just now), but I think the source of the problem is that SConstruct is unable to locate the arduino "ar" utility. I found I could correct it by replacing this line: run([AVR_BIN_PREFIX + 'ar', 'rcs', str(target[0]), file]) with this: run([AVR_BIN_PREFIX + 'avr/bin/avr-ar', 'rcs', str(target[0]), file]) |
+1 ^ great fix @furious-luke thanks |
When I try
scons ARDUINO_PORT=COM5 ARDUINO_BOARD=atmega328 ARDUINO_VER=1.0.1 ARDUINO_HOME=C:\Arduino upload
I get these messages;;;
fnCompressCore(["build\core.a"], ["build\core\WInterrupts.o", "build\core\wiring
.o", "build\core\wiring_analog.o", "build\core\wiring_digital.o", "build\core\wi
ring_pulse.o", "build\core\wiring_shift.o", "build\core\CDC.o", "build\core\Hard
wareSerial.o", "build\core\HID.o", "build\core\IPAddress.o", "build\core\new.o",
"build\core\Print.o", "build\core\Stream.o", "build\core\Tone.o", "build\core\U
SBCore.o", "build\core\WMath.o", "build\core\WString.o"])
C:\Arduino\hardware/tools/avr/bin\avr-gcc -mmcu=atmega328p -Os -Wl,--gc-sections
-o sketch.elf build\sketch.o build\lib_00\LiquidCrystal\LiquidCrystal.o build\l
ib_00\NS_LCD_01\NS_LCD.o build\core.a -lm
avr-gcc: build\core.a: No such file or directory
scons: *** [sketch.elf] Error 1
scons: building terminated because of errors.
why build\core.a dosen't exists?
The text was updated successfully, but these errors were encountered: