Library SoftwareSerial.h not found, when using a different library.

Hello Arduino enthusiasts,

I'm having a problem with the current version of the IDE (1.6.8 ) that I've never experience before. I'm attempting to control two motors using a pololu qik 2s9v1 motor controller and a Sparkfun Pro Micro 5v board. I've done something similar using an UNO and the pololu qik 2s12v10, no problem.

Now, here comes the problem when I introduce the line to include the pololuqik library (#include <PololuQik.h> I get an error from the IDE saying "error compiling for board SparkFun Pro Micro, and further in the error message it says:
fatal error: ../SoftwareSerial/SoftwareSerial.h: No such file or directory

#include "../SoftwareSerial/SoftwareSerial.h"

Now I've tried this setting it to an UNO and get the same error message with a different board listed and the same details of the error.

If I don't use the pololuqik library I can include the softwareserial library no problem, and including the softwareserial library before or after including the pololuqik library yields the same error.

Example code is below, followed by the complete error code.

#include <SoftwareSerial.h>
#include <PololuQik.h>


void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

error:

Build options changed, rebuilding all
In file included from C:\Users\slice18\AppData\Local\Temp\arduino_modified_sketch_198466\BareMinimum.ino:2:0:

C:\Users\slice18\Documents\Arduino\libraries\PololuQik/PololuQik.h:5:46: fatal error: ../SoftwareSerial/SoftwareSerial.h: No such file or directory

#include "../SoftwareSerial/SoftwareSerial.h"

^

compilation terminated.

exit status 1
Error compiling for board SparkFun Pro Micro.

any help would be fantastic!

Thank you in advance!

It seems strange that your sketch refers to temp folder (C:\Users\slice18\AppData\Local*Temp*...), normally it would be in something like this;

C:\Users\Proprietario\Documents\Arduino\Sketches

or

C:\Users\Proprietario\Documents\Arduino\Libraries

..\AppData\Local\Temp... is normally only used by programs for temporary files, not source or library files.

Have you tried

#include <PololuQik.h>
#include <SoftwareSerial.h>

Have a you tried an older version of the IDE? It is easy to have several versions on your PC.

I suspect the reference to "\Temp" is because the IDE copies the files there before trying to compile them.

...R

This line is in "PololuQik.h":-

#include "../SoftwareSerial/SoftwareSerial.h"

The compiler is expecting to find a copy of "SoftwareSerial.h" in that location.
Try changing that line in the library header, ("PololuQik.h"), to:-

#include <SoftwareSerial.h>

If u see carefully, the error is not in your code but in the PololuQik.h library that you are using. The PololuQik library is referring to the SoftwareSerial library like this:

#include <Arduino.h>
#include "../SoftwareSerial/SoftwareSerial.h"

as most probably the developer hasn't copied the header in its library folder. Either change this line in the header(preferable) to #include <SoftwareSerial.h> or change the location of your library(not recommended)..

Chaitanya1:
If u see carefully, the error is not in your code but in the PololuQik.h library that you are using. The PololuQik library is referring to the SoftwareSerial library like this:

#include <Arduino.h>
#include "../SoftwareSerial/SoftwareSerial.h"

as most probably the developer hasn't copied the header in its library folder. Either change this line in the header(preferable) to #include <SoftwareSerial.h> or change the location of your library(not recommended)..

There seems to be an echo here.
Isn't that what I just said in my last reply?

A very big thank you to OldSteve! that certainly did the trick!

OldSteve:
This line is in "PololuQik.h":-

#include "../SoftwareSerial/SoftwareSerial.h"

The compiler is expecting to find a copy of "SoftwareSerial.h" in that location.
Try changing that line in the library header, ("PololuQik.h"), to:-

#include <SoftwareSerial.h>

slice18:
A very big thank you to OldSteve! that certainly did the trick!

Excellent. I'm glad it was easily solved.