|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
UCPP: cross-platform C++ toolchain
The Universal C++ toolchain (UCPP) has been updated for the 2013 competition!
UCPP allows command-line building/deploying of C++ code on Linux and Windows. It does not require a WindRiver installation. UCPP projects are fully compatible with WindRiver projects, making it easy for WindRiver and UCPP users to work on the same codebase. Git repository: https://github.com/nikitakit/ucpp Previous thread: http://www.chiefdelphi.com/forums/sh...ad.php?t=91428 (now closed, so I created this one) Linux installation:
Windows installation
The Windows setup script will download WPILib and a compiler package if it detects that WindRiver is not installed. Setting up a project
Building and Deploying to the robot
Additional help See the README, run "ucpp help", or post a question here. I can make modifications for UCPP to run on Mac or using Cygwin if people need them. Contributors andreboos anidev AustinSchuh byteit101 correnos nikitakit ozzloy rbmj Last edited by nikitakit : 01-08-2013 at 03:36 AM. |
|
#2
|
||||
|
||||
|
Re: UCPP: cross-platform C++ toolchain
Great work! Thanks!
![]() |
|
#3
|
|||
|
|||
|
Re: UCPP: cross-platform C++ toolchain
Thanks for the great work... We got this working on Ubuntu 12.10, and now able to set a Jenkins server to build our projects and branches daily and whenever something is checked into our subversion server... :-)
|
|
#4
|
|||
|
|||
|
Re: UCPP: cross-platform C++ toolchain
I cloned and installed the tools, but seem to be missing some files. When I attempt to make a sample project I get:
"...cannot find '/home/mike/.ucpp/gccdist/WindRiver/gnu/3.4.4-vxworks-6.3/x86-win32/bin/ccppc.exe'..." And sure enough, the 'gnu' directory is missing from my install. Is there something I missed about using this tool, or is there a place I can get the necessary compiler files? Can't wait to try this out though. -Thanks |
|
#5
|
|||
|
|||
|
Re: UCPP: cross-platform C++ toolchain
Think I sorted out the problem after reading through ucpp-setup. My first installation failed to download the support files since curl wasn't installed. After I installed and re-ran, the setup script thought everything was already installed because the directory was present - even if it was mostly empty.
Using the gccdist link in the setup file I think has gotten me everything I need. If all else fails I can just rm the whole .ucpp directory and re-run ucpp setup. I guess the lesson for future generations is, if you have a problem during setup, make sure and delete the '.ucpp' directory before retrying. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|