Open the Eclipse IDE. If the Welcome screen is shown, click on the Workbench icon to open the workbench. Then, click Window → Open Perspective → Other… and select the C/C++ perspective.
Navigate to File → Import…
Select ‘General’ and ‘Existing Projects into Workspace.’ Click 'Next'.
Choose Select root directory, click Browse and navigate to the directory of the example project. Select the project. Make sure that the option 'Copy projects into workspace' is not checked (see Figure 11). Then click Finish.