|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
||||
|
||||
|
Re: Announcing FIRSTLua
triple-posing aside, I got it to compile.
I had to put a pyconfig.h file in EVERY folder in the Python subdir, please update this on your git tree Last edited by Robototes2412 : 24-10-2010 at 19:16. Reason: not .py, .h |
|
#17
|
|||
|
|||
|
Re: Announcing FIRSTLua
Of you could just add the include dir in your make process. "-I"
|
|
#18
|
||||
|
||||
|
Re: Announcing FIRSTLua
when compiling it on linux, you can't edit the makefile or BAD THINGS HAPPEN
|
|
#19
|
|||
|
|||
|
Re: Announcing FIRSTLua
You can easily modify the makefile. It just takes a little care and understanding what the commands do. Adding the -I flag has worked for me before, and is probably used in the makefile already to include the WPILib headers.
|
|
#20
|
|||
|
|||
|
Re: Announcing FIRSTLua
What may have happened is originally the git repo included a PPC603gnu/Makefile; this generated file pointed to specific paths on my machine and is not regenerated by default. I've since removed it from the repo so now WindRiver should generate it for you with the correct include paths.
In other news, I'm now running robot teleop code in Python. I need to make a couple of release .zip's so people don't have to build it from scratch, then I'll create a new Chief Delphi thread with a formal announcement. I also added a new branch to the repo for those using CAN bus. Unfortunately the CAN bus version needs some symbols that are only available when the CAN bus driver is installed on the robot, so I have to have two separate releases. |
|
#21
|
|||
|
|||
|
Re: Announcing FIRSTLua
Are you sure about that? I thought the CAN drivers didn't provide the public symbols and the ones that are called by user code come from the NetworkCommunication library (for security reasons).
|
|
#22
|
|||
|
|||
|
Re: Announcing FIRSTLua
Hmm, you might be right, as the external symbols just seem to be FRC_NetworkCommunication_JaguarCANDriver_sendMessa ge/receiveMessage. I just didn't have a cRIO without CAN configured to test on today, so wasn't sure. If someone could test it to confirm, I'll merge the branch into master. If someone else doesn't get to it first, I'll test it myself on Wednesday (when I have access to the robot again). Thanks!
|
|
#23
|
||||
|
||||
|
Re: Announcing FIRSTLua
Quote:
EDIT: Darn, guess I can't update the main links. Here are the new ones: Project Page: http://redmine.zombiezen.com/projects/greyhoundlua README: http://redmine.zombiezen.com/project...try/README.txt Download: http://redmine.zombiezen.com/project...houndlua/files Last edited by zombiezen : 26-10-2010 at 23:27. Reason: Fix text |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Announcing Project Falafel/FLFL | RandomStyuff | General Forum | 0 | 28-08-2010 07:53 |
| Announcing of Penalties | ShaniL | Rules/Strategy | 3 | 16-03-2009 21:27 |
| Announcing penalties | GaryVoshol | General Forum | 8 | 11-03-2008 16:47 |
| Announcing BattleCry@WPI 8! | WernerNYK | Off-Season Events | 90 | 28-08-2007 13:03 |
| Announcing Brunswick Eruption V3.0 | Mike Schroeder | Off-Season Events | 2 | 26-05-2004 23:12 |