Go to Post We do have a good time. Mr. Bill - Bill Beatty [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   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: 268
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
  #2   Spotlight this post!  
Unread 21-01-2017, 12:47
taichichuan's Avatar
taichichuan taichichuan is offline
Software Mentor
AKA: Mike Anderson
FRC #0116 (Epsilon Delta)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Herndon, VA
Posts: 333
taichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud of
Send a message via AIM to taichichuan
Re: CANTalon C++ examples not compiling

Quote:
Originally Posted by Peter Johnson View Post
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?
Greetings!

OK, I shut eclipse down and updated to the latest Java. started eclipse back up and it seems to be working now. :-) Using the neon.2 release of Eclipse with the latest WPILib version and Java V8 update 121. But, you've got to wipe out any old prolects and start clean because the old projects don't have the search paths set correctly.

Is there an easy way to update old project build specs without having to delete them?

Thanks for your help,

Mike
Reply With Quote
Reply


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 03:13.

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