thejotax

Hi i have a big compilation problem.

the following error appears
Board Intel:i586:izmir_fd no define el ajuste ‘build.board’. Auto-ajuste a: I586_IZMIR_FD
Board Intel:i586:izmir_fg no define el ajuste ‘build.board’. Auto-ajuste a: I586_IZMIR_FG
Board Intel:i686:izmir_ec no define el ajuste ‘build.board’. Auto-ajuste a: I686_IZMIR_EC
C:\Users\jjpp9_000\Desktop\corto tx rx\Receiver\Receiver.ino:1:25: fatal error: VirtualWire.h: No such file or directory

#include <VirtualWire.h>
^

compilation terminated.

exit status 1
Error de compilación

how can I solve that?
it hapend in all the code that have #include <VirtualWire.h>

#include <VirtualWire.h>

void setup()
{
pinMode(13,OUTPUT);
digitalWrite(13,LOW);

vw_setup(2000);
vw_set_rx_pin(7);
vw_rx_start();
}

void loop()
{
uint8_t buflen = VW_MAX_MESSAGE_LEN;
uint8_t buf[buflen];

if(vw_get_message(buf, &buflen))
{
for(int i = 0;i < buflen;i++)
{
if(buf == ‘1’)

  • {*
  • digitalWrite(13,HIGH);*
  • }*
    _ else if(buf == ‘0’)_
    * {*
    * digitalWrite(13,LOW);*
    * }*
    * }*
    * }*
    }

how can I solve that?

Post your code!

And give your post a meaningful title!!

We should not have to open the post to see what it is about.

Weedpharma

C:\Users\jjpp9_000\Desktop\corto tx rx\Receiver\Receiver.ino:1:25: fatal error: VirtualWire.h: No such file or directory

Usual cause of this is using quotes instead of angle brackets, but because you have not posted your code - IN CODE TAGS - there’s no way to be sure.

But, try using angle brackets instead of quotes, see if it works

#include <VirtualWire.h>

PaulMurrayCbr:
Usual cause of this is using quotes instead of angle brackets, but because you have not posted your code - IN CODE TAGS - there’s no way to be sure.

But, try using angle brackets instead of quotes, see if it works

#include <VirtualWire.h>

He already did this, according to his (inline) error message.

The second most common cause is not actually having the library installed.
@thejotax, have you correctly installed the “VirtualWire” library?