Im not man enouh to solve a compiling error for a LCD with I2C

An error occours as this when compiling the program. I use Arduino Uno

ultraljuds_avst_ndsm_tning:15: error: 'POSITIVE' was not declared in this scope

The library is from * https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home*
The LCD is a 2 row 16 signs blue with I2C bus.
This LCD works with another very simple program but the one I now want to use get the error.
I have tryed to find a solusion to this but faild.
I hpe somone knows the problem.
Sorry for my bad english.

//Pin 11 to ECHO
//pin 12 to TRIG

//A5 to SCL
//A4 to SDA
#include <Wire.h>
#include <NewPing.h> //Sensor Library
#include <LiquidCrystal_I2C.h>
//Display

//LiquidCrystal_I2C lcd(0x27, 16,2); //LCD adress 0x27 16 tecken 2 rader

// for a 16x02 display use: 
LiquidCrystal_I2C lcd(0x20, 2, 1, 0, 4, 5, 6, 7, 3,POSITIVE);

//Sensor

#define TRIGGER_PIN 12 // Arduino pin tied to trigger pin on the ultrasonic sensor.
#define ECHO_PIN 11 // Arduino pin tied to echo pin on the ultrasonic sensor.
#define MAX_DISTANCE 400 // Maximum distance we want to ping for (in centimeters). Maximum sensor distance is rated at 400-500cm.

NewPing sonar(TRIGGER_PIN, ECHO_PIN, MAX_DISTANCE); // NewPing setup of pins and maximum distance.

//variables

int val1 = 0;
int analog1 = 0;
int val2 = 0;
int analog2 = 0;
//setup

void setup()
{ 
   // LCD Size
  lcd.begin(16,2);
  
  //In/Outputs
  
  /* not needed */


  //Private Message

  lcd.setCursor(1,0);
  lcd.print("Ultrasonic Sensor");
  delay(1);
  lcd.setCursor(3,1);
  lcd.print("By Jan Henrik!");
  delay(1);
  lcd.setCursor(1,2);
  lcd.print("www.janhenrik.org");
  lcd.setCursor(5,3);
  delay(1);
  lcd.print("");

  delay(2000); //delay of the message

}

void loop() //main loop
{ 
  delay(50); // Wait 50ms between pings, 29ms should be the shortest delay between pings.
  unsigned int uS = sonar.ping(); // Send ping, get ping time in microseconds (uS).
  
  lcd.clear(); // Clear screen
  
  lcd.setCursor(4,0); // Set Cursor
  lcd.print("Rangefinder"); // text
  
  lcd.setCursor(2,2); // move Cursor
  lcd.print("Distance: "); // Print "Distance"
  lcd.setCursor(12,2); // move Cursor
  lcd.print(uS / US_ROUNDTRIP_CM); // Convert ping time to distance in cm and print result (0 = outside set distance range)
  lcd.setCursor(15,2); // move Cursor
  lcd.print("cm"); // print Something

}

Did you download that library? Which version? Where did you put it?

I put it in the Aeduino Library folder.
I didn´t seen any version. But as i can see it must be the latest one, and its on the LCD sellers home page.

// Bertil

ultraljuds_avst_ndsm_tning:15: error: 'POSITIVE' was not declared in this scope

Judging by your error, the problem lies with your supersonic sensor library, and not with the I2C LCD.

This LCD works with another very simple program

Can you please post an example of a simple program that works ?

Judging by your error, the problem lies with your supersonic sensor library, and not with the I2C LCD.

How did you come to that conclusion? The only place that POSITIVE is used is in the LiquidCrystal_I2C constructor call. POSITIVE is an enum value in the LCD.h header file in the LiquidCrystal_V.1.2.1 library's zip file.

I didn´t seen any version. But as i can see it must be the latest one, and its on the LCD sellers home page.

On the download page you linked to, there are three versions: 1.1.7.1, 1.2.0, 1.2.1, all marked clearly. If you don't have a version, where did you download it? Is it possible that you have another library of the same name (there are several, that's why we want to have links, not names)?