Go to Post Band geek FIRST geeks = uberparty! - Nuttyman54 [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 21-01-2017, 12:14
Peter Johnson Peter Johnson is offline
WPILib Developer
FRC #0294 (Beach Cities Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Redondo Beach, CA
Posts: 269
Peter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud of
Re: CANTalon C++ examples not compiling

Quote:
Originally Posted by taichichuan View Post
Has anyone had any luck in getting the CTRE C++ examples to compile and link? I ran the latest installer from CTRE and it puts the includes and library off in ${WPILIB}/user/cpp/ which doesn't appear to be in the search path. By adjusting the build paths, I got the includes in place. But, the library isn't being found and I get a bunch of undefined symbols during the link.
The libraries and include paths should be automatically getting updated by the plugins to point to the correct ${HOME}/wpilib/user/cpp folders (for includes) and files (for libraries) at Eclipse startup. Are the CTRE files actually installed in C:/Users/<your name>/wpilib/user/cpp/include and .../lib? There is a possible issue with the installer at present where if privileges are escalated (e.g. you're running as a normal user and need to type in an admin username/password) during install, the files will be installed into the admin user's wpilib directly instead of the user you're running the installer as.

Can you take a screenshot of the Includes section of your project?
__________________
Author of cscore - WPILib CameraServer for 2017+
Author of ntcore - WPILib NetworkTables for 2016+
Creator of RobotPy - Python for FRC

2010 FRC World Champions (294, 67, 177)
2007 FTC World Champions (30, 74, 23)
2001 FRC National Champions (71, 294, 125, 365, 279)
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 18:47.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi