Thread: UDP Server
View Single Post
  #11   Spotlight this post!  
Unread 20-08-2012, 17:38
Ginto8's Avatar
Ginto8 Ginto8 is offline
Programming Lead
AKA: Joe Doyle
FRC #2729 (Storm)
Team Role: Programmer
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Marlton, NJ
Posts: 174
Ginto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of light
Re: UDP Server

You shouldn't be trying to compile it as a standalone program. First, it should be compiled as a library. Second, you'll probably have to fix a whole bunch of reference problems by telling it where the SmartDashboard, WPIJavaCV, and a few javacv jars are (these should all be in C:\Program Files\SmartDashboard and its subdirectories). Then, once you get it compiled, put it in SmartDashboard's extensions directory (C:\Program Files\SmartDashboard\extensions by default), then add it to your SmartDashboard by first enabling "Editable" mode (View -> Editable) then adding it (View -> Add..., select your extension). I can't remember offhand whether you need to be in Editable mode to add extensions, but if you definitely do if you want to move them around on the panel, so I'd recommend doing it in Editable mode.
Reply With Quote