View Single Post
  #8   Spotlight this post!  
Unread 12-01-2016, 21:19
1452-Leo 1452-Leo is offline
Registered User
FRC #1452 (Omnicats)
Team Role: Alumni
 
Join Date: Dec 2014
Rookie Year: 2014
Location: Los Angeles
Posts: 44
1452-Leo is an unknown quantity at this point
Re: WPIlib not being included in new projects

Quote:
Originally Posted by fsilberberg View Post
It should be the path that you see when you run a
Code:
which arm-frc-linux-gnueabi-g++
minus the actual executable at the end.
It returned "/usr/local/bin/arm-frc-linux-gnueabi-g++", and I already had it in "/usr/local/bin" so I didn't end up changing anything. Here is what the console returns when I try to compile the starting code:
Code:
18:19:40 **** Incremental Build of configuration Debug for project 1452-Omnicats-2016 ****
Info: Internal Builder is used for build
arm-frc-linux-gnueabi-g++ -std=c++1y -I/Users/****/wpilib/cpp/current/include "-I/Users/****/FRC 2016/1452-Omnicats-2016/src" -O0 -g3 -Wall -c -fmessage-length=0 -o src/Robot.o ../src/Robot.cpp 
In file included from ../src/Robot.cpp:1:0:
/Users/****/wpilib/cpp/current/include/WPILib.h:13:20: fatal error: iostream: No such file or directory
 #include <iostream>
Thanks!