NFC Library error

I am trying to use the upload basic code example for NFC chip using Arduino UNO.

I am using Arduino v1.8.5. Which library to be included to make it work.

2)where i can get library associated with it.

  1. where to paste in library.
    Like in older version v1.0.1 if i download any library i could able to paste in
    E:\arduino-1.0.1\libraries path like this . when i restart libaray will be included. But if i do same thing PN532 library will not be added in v 1.8.5

With current version

/* PN532 NFC RFID module V3 (PN532) [S192] : http://rdiot.tistory.com/173 [RDIoT Demo] */

#include <Wire.h>
#include <PN532_I2C.h>
#include <PN532.h>
#include <NfcAdapter.h>
  
PN532_I2C pn532i2c(Wire);
PN532 nfc(pn532i2c);
  
void setup(void) {
  Serial.begin(115200);
  Serial.println("Hello!");

  nfc.begin();

  uint32_t versiondata = nfc.getFirmwareVersion();
  if (! versiondata) {
    Serial.print("Didn't find PN53x board");
    while (1); // halt
  }
  
  // Got ok data, print it out!
  Serial.print("Found chip PN5"); Serial.println((versiondata>>24) & 0xFF, HEX); 
  Serial.print("Firmware ver. "); Serial.print((versiondata>>16) & 0xFF, DEC); 
  Serial.print('.'); Serial.println((versiondata>>8) & 0xFF, DEC);
  
  // Set the max number of retry attempts to read from a card
  // This prevents us from waiting forever for a card, which is
  // the default behaviour of the PN532.
  nfc.setPassiveActivationRetries(0xFF);
  
  // configure board to read RFID tags
  nfc.SAMConfig();
    
  Serial.println("Waiting for an ISO14443A card");
}

void loop(void) {
  boolean success;
  uint8_t uid[] = { 0, 0, 0, 0, 0, 0, 0 };  // Buffer to store the returned UID
  uint8_t uidLength;                        // Length of the UID (4 or 7 bytes depending on ISO14443A card type)
  
  // Wait for an ISO14443A type cards (Mifare, etc.).  When one is found
  // 'uid' will be populated with the UID, and uidLength will indicate
  // if the uid is 4 bytes (Mifare Classic) or 7 bytes (Mifare Ultralight)
  success = nfc.readPassiveTargetID(PN532_MIFARE_ISO14443A, &uid[0], &uidLength);
  
  if (success) {
    Serial.println("Found a card!");
    Serial.print("UID Length: ");Serial.print(uidLength, DEC);Serial.println(" bytes");
    Serial.print("UID Value: ");
    String hex_value = "";
    for (uint8_t i=0; i < uidLength; i++) 
    {
      Serial.print(" 0x");Serial.print(uid[i], HEX);       
      //Serial.print(" ");Serial.print(uid[i], HEX);       
      hex_value += (String)uid[i];
    }

    Serial.println(", value="+hex_value);

    if(hex_value == "16517722582") {
      Serial.println("This is Key Tag. ");
    }
    else if(hex_value == "230522426") {
      Serial.println("This is Card Tag. ");
    }
    else if(hex_value == "63156295") {
      Serial.println("This is Phone Tag. ");
    }
    else
      Serial.println("I don't know.");

    Serial.println("");
    // Wait 1 second before continuing
    delay(1000);
  }
  else
  {
    // PN532 probably timed out waiting for a card
    Serial.println("Waiting for a card...");
  }
}

E:\Projects\NFC communication\Test_Method\basic_test\basic_test.ino:4:23: fatal error: PN532_I2C.h: No such file or directory

#include <PN532_I2C.h>

^

compilation terminated.

Multiple libraries were found for “Wire.h”
Used: C:\Program Files\Arduino\hardware\arduino\avr\libraries\Wire
Not used: C:\Program Files\Arduino\libraries\Wire
exit status 1
Error compiling for board Arduino/Genuino Uno.

Your libraries should all be in My Documents\Arduino\libraries\

specifically My Documents\Arduino\libraries\PN532_I2C\

If it’s not there, it won’t be found (not 100% true but close enough).

I used samsung galaxy note. I found NFC tags Keep changing the values. How can i make Any new NFC tag generated identified & turn on LED

In below example. tag1 and tag2 has fixed identity and Tag3 is mobile . Its changing value every time. How can i make unique or how to read variable values

#include <Wire.h>
#include <PN532_I2C.h>
#include <PN532.h>
#include <NfcAdapter.h>

PN532_I2C pn532i2c(Wire);
PN532 nfc(pn532i2c);


void setup(void) {
  Serial.begin(115200);
  Serial.println("Hello!");
  pinMode(2, OUTPUT);
  pinMode(3, OUTPUT);
  nfc.begin();

  uint32_t versiondata = nfc.getFirmwareVersion();
  if (! versiondata) {
    Serial.print("Didn't find PN53x board");
    while (1); // halt
  }

  // Got ok data, print it out!
  Serial.print("Found chip PN5"); Serial.println((versiondata >> 24) & 0xFF, HEX);
  Serial.print("Firmware ver. "); Serial.print((versiondata >> 16) & 0xFF, DEC);
  Serial.print('.'); Serial.println((versiondata >> 8) & 0xFF, DEC);

  // Set the max number of retry attempts to read from a card
  // This prevents us from waiting forever for a card, which is
  // the default behaviour of the PN532.
  nfc.setPassiveActivationRetries(0xFF);

  // configure board to read RFID tags
  nfc.SAMConfig();

  Serial.println("Waiting for an ISO14443A card");
}

void loop(void) {
  boolean success;
  uint8_t uid[] = { 0, 0, 0, 0, 0, 0, 0 };  // Buffer to store the returned UID
  uint8_t uidLength;                        // Length of the UID (4 or 7 bytes depending on ISO14443A card type)

  // Wait for an ISO14443A type cards (Mifare, etc.).  When one is found
  // 'uid' will be populated with the UID, and uidLength will indicate
  // if the uid is 4 bytes (Mifare Classic) or 7 bytes (Mifare Ultralight)
  success = nfc.readPassiveTargetID(PN532_MIFARE_ISO14443A, &uid[0], &uidLength);

  if (success) {
    Serial.println("Found a card!");
    Serial.print("UID Length: "); Serial.print(uidLength, DEC); Serial.println(" bytes");
    Serial.print("UID Value: ");
    String hex_value = "";
    for (uint8_t i = 0; i < uidLength; i++)
    {
      Serial.print(" 0x"); Serial.print(uid[i], HEX);
      //Serial.print(" ");Serial.print(uid[i], HEX);
      hex_value += (String)uid[i];
    }

    Serial.println(", value=" + hex_value);

    if (hex_value == "6610042131") {
      Serial.println("This is Key Tag. ");
      digitalWrite(2, HIGH);
    }
    else if (hex_value == "115231429") {
      Serial.println("This is Card Tag. ");
      digitalWrite(2, LOW);
    }
    else if (hex_value == "813505130") {
      Serial.println("This is Phone Tag. ");
      digitalWrite(3, HIGH);
    }
    else
      Serial.println("I don't know.");


    Serial.println("");
    // Wait 1 second before continuing
    delay(1000);
  }
  else
  {
    // PN532 probably timed out waiting for a card
    Serial.println("Waiting for a card...");
  }
}

Wow. That's a completely different question.