Arduino compile error

uzamad
uzamad Altair Community Member
edited October 2020 in Community Q&A

Hi,

 

Just installed altai embed and tried Arduino uno project Led Blink.

 

In code Generation when I click compile, lot of errors are generated. At last line the error is

avr-g++   is not recognized as internal or external command

What could be the fault?

 

The circuit arrangement is as follows:-

arduino config block

square wave generator

Arduino Uno Digital Output

 

 

 

 

 

 

Answers

  • Sreeram Mohan_20248
    Sreeram Mohan_20248 New Altair Community Member
    edited September 2019

    Can you send us a snapshot of the error log ?

     

    --sreeram 

  • João Marabisa
    João Marabisa
    Altair Employee
    edited August 2020

    Hi,

     

    I have found this topic because I was having the same error! For those who are intending to use Arduino in Embed, basically you should install Arduino IDE before Embed.

     

    I already had Embed installed and then I installed Arduino: Got the avr error on Embed (if there is some way to select after installation, would be nice).

    Anyway, I've tried to uninstall Embed and Install it again: On the installation procedure was not finding Arduino IDE directory.

     

    So I've uninstalled both, installed Arduino and then Embed: With that, Arduino directory was found on installation procedure and now is compiling. :)/emoticons/default_smile.png' srcset='/emoticons/smile@2x.png 2x' title=':)' width='20' />

  • Sreeram Mohan_20248
    Sreeram Mohan_20248 New Altair Community Member
    edited August 2020

     

    The install guide while installing Embed in fact prompts the user guide to say this but as like any other installs one would just click on next -next and be in a hurry to get to finish the install :D/emoticons/default_biggrin.png' srcset='/emoticons/biggrin@2x.png 2x' title=':D' width='20' />

     

    --sreeram