![]() |
WPILib.h not found
I recently installed WindRiver on my laptop (I am using Windows 7), and had a problem with g++. Figured that out, was able to build the project, but with errors -- when I go to include WPILib, I get an error saying
Code:
g++: unrecognized option `-MP' |
Re: WPILib.h not found
What are your build settings for the project? Right-click on the project in the file tree and go down to "Properties". Under "Build Properties" > "Paths", you should have these three include directories:
Quote:
Quote:
|
Re: WPILib.h not found
Did you create your project based on one of the sample robot projects? Those should have all the paths and project options set up to work. The steps for doing that are here:
http://wpilib.screenstepslive.com/s/...-robot-project Try one of those and verify that it compiles correctly. Then add your code to that project. |
| All times are GMT -5. The time now is 12:05. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi