Question
Hi All,
Here are some questions:
1> Which complier is used to build the stable release of 'Microsoft Windows 32 bit Intel x386 compiled binaries' ? 'cygwin with gnu(g++)' or ms vc ?
After having built successfully with jam, how can I use 'jam install' command to install all the binaries to a specific folder?
2> In every source file, there is a similar line:
#pragma ident "$Id:
AllanDeviation?.hpp 1209 2008-04-22 03:45:34Z ocibu $"
what this stand for? In the above example, what's the sense of the string "1209"?
Thank you in advance!
Wei Yan
--
YanWei - 26 Feb 2010
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
1. I built the windows 32-bit binaries with MS VC. I believe the version I used was "Microsoft Visual C++ 2008 Express Edition". There are also cygwin binaries for the stable release on source forge.
I am not 100% sure about the syntax in Windows but I believe that you should be able to do:
jam -sPATH=C:\absolute\location\of\folder install
to install the binaries into a specific folder. Let me know if this works.
2. That prama line is an identifier string for when the file was last modified. In your example it means that ocibu last edited the file on 2008-04-22 at 03:45:3Z. The string "1209" is the subversion revision number that the last file was changed.
--
AllenFarris - 26 Feb 2010
Hi Allen!
Thank you for fast answer back.
1> The console applications I build with ms vc2008 IDE can not run in windows xp with no ms vc installed, but the gpstk applications you build seems run well.
"jam -sPATH=C:\absolute\location\of\folder install" doesn't work, but I tried the following command, it indeed work!
jam -sPREFIX=C:\absolute\location\of\folder install
2> Is the prama line maintained by the svn automatically, or we have to update it manually when commiting changes.
Thanks again.
Regards,
Wei Yan
--
YanWei - 26 Feb 2010
1. Ahh yes, that is my mistake it should be PREFIX not PATH.
2. The pragma line
should be updated automatically by subversion. In some files the line is not formatted correctly so it does not update when it should. There are relatively few files that are like this though so you shouldn't need to worry about it.
--
AllenFarris - 26 Feb 2010
Hi Allen!
I just upload a class 'ConfDataWriter', but the pragma line have not been added automatically as expected. Could you do me a favor to tell me how to solve the problem? Thank you in advance.
Wei Yan
--
YanWei - 29 Mar 2010
Please be sure that you set the property(ies) right for the committed file:
$svn propset svn:eol-style native *pp
$svn propset svn:keywords Id *pp
More info here:
http://www.gpstk.org/bin/view/Development/SubversionReadme
--
OctavianAndrei - 30 Mar 2010
Hi Octavian!
Thank you very much for answering back. I tried the following commands before recommit the files, but it doesn't work.
svn propset svn:eol-style native ConfDataWriter.cpp
svn propset svn:keywords Id ConfDataWriter.cpp
svn propset svn:eol-style native ConfDataWriter.hpp
svn propset svn:keywords Id ConfDataWriter.hpp
Please!
Wei Yan
--
YanWei - 30 Mar 2010
I solved it for you. Every svn-project file should have
#pragma ident "$Id:$ as first line.
--
OctavianAndrei - 30 Mar 2010
Thank you very much!
--
YanWei - 30 Mar 2010