By default while importing any project in eclipse will be refereed from its original location only. So Make sure whenever you import any project from anywhere in your workspace you copy that project into your workspace also. Otherwise it will refer the original location of the project.
Just you need to check the highlighted checkbox while importing a project as shown in image.