Go to Post Fancy that, better robots winning matches... - DampRobot [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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
  #1   Spotlight this post!  
Unread 21-01-2013, 19:55
ScottMo ScottMo is offline
Lead Programming
FRC #0830 (The Rat Pack)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Ann Arbor, Michigan
Posts: 2
ScottMo is an unknown quantity at this point
Trouble with WindRiver/WPILib

So after getting WindRive 3.3.1 and the newest update of WPILib installed on my Windows 8 laptop and trying to write some code, I find that anything I write fails with bizarre errors in the WPILib files. For example, when I try to build a project consisting of a single .cpp file whose only line of code is
Code:
#include "WPILib.h"
the errors I get include
Code:
"C:/WindRiver/vxworks-6.3/target/h/WPILib/Vision/AxisCamera.h", line 12: catastrophic error (etoa:4005): 
          could not open source file "sockLib.h"
  #include <sockLib.h> 
                       ^
"C:/WindRiver/vxworks-6.3/target/h/WPILib/networktables2/util/IllegalStateException.h", line 17: warning (etoa:4997): 
          function "std::exception::what() const" is hidden by
          "IllegalStateException::what" -- virtual function override intended?
  	const char* what(){return message.c_str();};
  	            ^
"C:/WindRiver/vxworks-6.3/target/h/WPILib/ChipObject/tSystemInterface.h", line 17: warning (etoa:4815): 
          type qualifier on return type is meaningless
     virtual const uint32_t * const getExpectedFPGASignature()=0;
and many other equally cryptic errors and warnings, followed by the standard
Code:
1 catastrophic error detected in the compilation of "C:/WindRiver/workspace/TestProject/Test.cpp".
Compilation terminated.
C:\WindRiver\vxworks-6.3\host\x86-win32\bin\make.exe: *** [TestProject_partialImage/Debug/Objects/TestProject/Test.o] Error 1
Build Failed in Project 'TestProject' (Process Exit Value was 2):   2013-01-21 19:34:48   (Elapsed Time: 00:04)
I've tried re-running the WPILib update, starting a new project in a new workspace, running the program in Windows 7 and googling the error messages in hope of a revelation, with no success. None of these weird errors are showing up in the standard C libraries. I have no idea what the problem is, and neither do any other programmers or mentors. If any of you guys have any inkling as to how I could fix this, help is greatly appreciated.
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 03:35.

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