Go to Post In my opinion, leaders do not need to be picked. They naturally emerge as time goes on and as more opportunities are presented to them. - Alex Golec [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

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 20-01-2011, 17:26
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: Rebuilding the WPILib?

Quote:
Originally Posted by jwakeman View Post
One more question. When building I see an error for each file that is compiled, "process_begin: CreateProcess((null), svnversion -n .., ...) failed." Its only a nuisance, the lib still gets built, but if there is an easy way to change a setting or something it would be nice.
Install a Subversion client such as SlikSVN.
Reply With Quote
  #17   Spotlight this post!  
Unread 20-01-2011, 18:49
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Rebuilding the WPILib?

Quote:
Originally Posted by jwakeman View Post
One more question. When building I see an error for each file that is compiled, "process_begin: CreateProcess((null), svnversion -n .., ...) failed." Its only a nuisance, the lib still gets built, but if there is an easy way to change a setting or something it would be nice.
You can either live with it or you can edit the compiler settings for the project to remove the call. That is how we automatically read the current SVN revision and build it into the library. If you are not using the SVN repo (instead using the packaged source) then this is your only option. If you are using the SVN server at FIRST Forge, then you just need to install SlikSVN.

-Joe
Reply With Quote
  #18   Spotlight this post!  
Unread 21-01-2011, 00:23
jwakeman jwakeman is offline
Registered User
FRC #0063 (Red Barons)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: 16510
Posts: 182
jwakeman is just really nicejwakeman is just really nicejwakeman is just really nicejwakeman is just really nicejwakeman is just really nice
Re: Rebuilding the WPILib?

I am using the packaged source because of this statement on the WPILib FAQ's on FirstForge:

Quote:
The source code on the SVN server does not include the source for the same revision that was released in an update. What's wrong?

This is just because we're not as fast at merging the source code to the public SVN repository. Check back soon and it should be up to date
I can't find where to turn off the SVN sync. I am looking in "Project->Properties->Build Properties" mostly (as well as the other items in Project->Properties) but I cannot find anything that says "repository" or svn or anything like that. Can you point me to the option? Thanks again for you help.
Reply With Quote
  #19   Spotlight this post!  
Unread 21-01-2011, 01:45
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Rebuilding the WPILib?

Quote:
Originally Posted by jwakeman View Post
I am using the packaged source because of this statement on the WPILib FAQ's on FirstForge:



I can't find where to turn off the SVN sync. I am looking in "Project->Properties->Build Properties" mostly (as well as the other items in Project->Properties) but I cannot find anything that says "repository" or svn or anything like that. Can you point me to the option? Thanks again for you help.
In Project Properties->Build Properties->Build Tools tab->Build Tool: C++-Compiler->Build spec specific settings->Command: you need to remove the following text:

Code:
-D'SVN_REV="$(shell svnversion -n ..)"'
-Joe
Reply With Quote
  #20   Spotlight this post!  
Unread 21-01-2011, 01:48
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Rebuilding the WPILib?

Quote:
Originally Posted by jwakeman View Post
I am using the packaged source because of this statement on the WPILib FAQ's on FirstForge:
Quote:
The source code on the SVN server does not include the source for the same revision that was released in an update. What's wrong?

This is just because we're not as fast at merging the source code to the public SVN repository. Check back soon and it should be up to date
That is not a statement of fact. It is a FAQ. Sorry if that's misleading. It's saying that if you discover that the SVN source is not up to date at some point, you have other options. It is up to date right now.

-Joe
Reply With Quote
  #21   Spotlight this post!  
Unread 21-01-2011, 09:32
jwakeman jwakeman is offline
Registered User
FRC #0063 (Red Barons)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: 16510
Posts: 182
jwakeman is just really nicejwakeman is just really nicejwakeman is just really nicejwakeman is just really nicejwakeman is just really nice
Re: Rebuilding the WPILib?

Instead of removing the text you mentioned completely I changed it to:

Code:
-D'SVN_REV="UNCONTROLLED"'
This is to avoid a compilation error because SVN_REV needs to be defined. Regarding the svn repository, this repository only gets updated each time a release is made. It is not a development repository, correct?
Reply With Quote
  #22   Spotlight this post!  
Unread 21-01-2011, 14:30
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Rebuilding the WPILib?

Quote:
Originally Posted by jwakeman View Post
Instead of removing the text you mentioned completely I changed it to:

Code:
-D'SVN_REV="UNCONTROLLED"'
Sounds good.

Quote:
Originally Posted by jwakeman View Post
This is to avoid a compilation error because SVN_REV needs to be defined. Regarding the svn repository, this repository only gets updated each time a release is made. It is not a development repository, correct?
Correct. This is the public repository that is synced to the development repository when a release is made. This allows teams to see the history of the library, create patches against specific revisions, blame a developer for a bug, and look at revision comments for specific changes.

-Joe
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 13:38.

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