undefined reference to `Adafruit_PWMServoDriver::Adafruit_PWMServoDriver(unsigne

Hello, how do i solve this error now that i'm testing my library.
I followed the discussion here SOLVED: Problem compiling code error: "undefined Reference to 'Timer1'" - Programming Questions - Arduino Forum but it didn't go away.
Here is my code.

#ifndef _Car_h
#define _Car_h

#if ARDUINO >= 100
 #include "Arduino.h"
#else
 #include "WProgram.h"
#endif

#include <../Adafruit_PWMServoDriver/Adafruit_PWMServoDriver.h>

class Car{
  public:
    Car();
    void turnLeft();

    ...

    Adafruit_PWMServoDriver pwm  = Adafruit_PWMServoDriver();

    ...
};

#endif

Car.cpp

#include "Car.h"

Car::Car(){
  setLargestCornerAngle(17);
}

     ...

void Car::turnLeft(){

      ...

      int pulselength = map(90-17, 0, 180, SERVOMIN, SERVOMAX);
      pwm.setPWM(servonum, 0, pulselength);

    }
  }

Using the car object

#include <Car.h>

Car car;
void setup() {

}

void loop() {

}

Check the library directory

#include <../Adafruit_PWMServoDriver/Adafruit_PWMServoDriver.h>

Should be

#include <Adafruit_PWMServoDriver.h>

And Adafruit_PWMServoDriver.h should be in a folder in Documents/Arduino/libraries.

I didn't test that but I would check this entry first, because the error you get usually means "I can't find this library".

I didn't test that but I would check this entry first, because the error you get usually means "I can't find this library".

You can NOT hide the fact that Car.h uses Adafruit_PWMServoDriver.h from the sketch. Trying to do so results in the EXACT error messages you are seeing.