Ad Huikeshoven wrote:
> The script is a Windows bat
> file, works with Vista, should work with XP SP2 (not tested). The script
> assumes usage of the SDK and a complete toolchain being installed plus a SVN
> (command line) client. Quite a few paths are hardcoded in the bat file,
> assuming 'standard' places on install
thanks! great and useful script.
Although I don't have many free cycles these days, I just gave it a
quick try.
I only had TortoiseSVN on my machine, so I had to download the SVN
command line client. The official site directs people strongly to the
Collabnet installer that has a different default location than in the
BAT file. I have not found any installer that installs there.
I also changed the default folder for hugin's source code. "hugin" is
too generic IMO. I use hugin.src.trunk, so that I can keep the source
for multiple branches / revisions inside the same SDK.
When I run the script, I get an error:
CMake Error at platforms/windows/installer/CMakeLists.txt:13 (MESSAGE):
Need to set build date (HUGIN_BUILDDATE) manually
it seems to be the following line in the script:
for /f "tokens=2-4 delims=- " %%i IN ('date/t') DO set TODAY=%%k-%%j-%%i
not sure if it is a localization thing. I have no clue of Windows batch
files.
> maybe someone knows some way to automatically upload a file to pbwiki.com or
> another website where files can be shared.
I'd say that this file should become integral part of the next SDK
version. I can upload it to Hugin's SVN repository.
Thanks for your effort
Yuv
why not take the full output of DATE /T as-is?
> In case
> you need further help in correcting the line if you're using this
> batch file I do need a sample output of date/t from your computer.
19/04/2009
I can probably figure out how to change the script but I don't have
time. You'll read in my next posts why :)
Yuv (sleep deprived)