ex-egll
Newbie
- Joined
- Dec 10, 2014
- Messages
- 5
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,283
- Activity points
- 1,341
mksketch -C pro328 -N atmega328p -F 8000000 ../main.ino
Can't change to Arduino core directory
make: *** [main.cpp] Error 1
Error code 2
/* Main.ino file generated by New Project wizard
*
* Created: Thu Sep 5 2013
* Processor: ATmega328P
* Compiler: Arduino AVR
*/
void setup() {
// initialize the digital pin as an output.
// Pin 13 has an LED connected on most Arduino boards:
pinMode(13, OUTPUT);
}
void loop() {
digitalWrite(13, HIGH); // set the LED on
delay(1000); // wait for a second
digitalWrite(13, LOW); // set the LED off
delay(1000); // wait for a second
}
mksketch -C pro328 -N atmega328p -F 16000000 ../main.ino
Can't change to Arduino core directory
make: *** [main.cpp] Error 1
Error code 2
Compiler configuration file is modified. Please load default project settings (Project settings - Compiler - Defaults).
Thank you. It worked for me by uninstalling and re-installing Arduino. I installed Arduino prior to installing Proteus. After Proteus installation, it detected Arduino right away but resulted on the compiling error mentioned. So what I did, was uninstall Arduino and use Proteus to download and install Arduino, worked like a charm
Can you breifly explain how did you solve this problem ?
Arduino installed on default directory "C:\Program Files\Arduino"In System / Compilers Configuration just after installing the latest Compiler manually click the Check button and it will auto check for the Arduino path and assign it. Install Arduino manually for default path.
Detecting compiler Arduino AVR
Compiler not detected.
Compiler detection summary
Not Found:
Arduino AVR:
i do that but not workThis is the path where Proteus installed Arduino for me. C:\Program Files (x86)\Arduino
I then clicked Check and Check All buttons and it found the Compiler. If you want latest Compiler then do like this
Install Arduino from Proteus. Let it install whatever version it wants after downloading. Then click check and check All buttons and let Proteus assign the path for Arduino. Now close Proteus and delete Arduino directory and install the 1.5.9 or latest version of Arduino to the same default directory. Now open Proteus project and do your work.
I am using Win 8.1 Enterprise x64.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?