wimh / SparkleShare

SparkleShare is a file sharing and collaboration tool inspired by Dropbox.
http://www.sparkleshare.org/
GNU General Public License v3.0
39 stars 6 forks source link

Build error (texttransform) #1

Closed Pegasuz closed 13 years ago

Pegasuz commented 13 years ago

I'm trying to build the windows client, but VS2010 is stuck at:

Error 1 The command "C:\projects\SparkleShare\SparkleShare\Windows\transform_tt.cmd" exited with code 255.

I have monodevelop and all the other dependecies installed. Anyone some advise?

lgordon commented 13 years ago

Are you using monodevelop 2.4 or 2.6.

From the readme: MonoDevelop 2.6 is required because version 2.4 has a bug in TextTransform.exe when including files.

Pegasuz commented 13 years ago

I am using monodevelop 2.6. The path to the texttransform.exe in transform_tt.cmd is correct, as far as I can see. (C:\Program Files (x86)\MonoDevelop\AddIns\MonoDevelop.TextTemplating)

wimh commented 13 years ago

When visual studio 2010 is installed, it will use the texttransform.exe which came with it default. I just tested with visual studio 2008, and asumed it would work with 2010 too. I guess I was wrong there.....

I am not able to fix the problem until next week, but as a workaround you can change the line

set TextTransform="%common%\Microsoft Shared\TextTemplating\10.0\texttransform.exe"

into for example

set TextTransform="%common%\Microsoft Shared\TextTemplating\1.2\texttransform.exe"

in both transform_tt.cmd files.

wimh commented 13 years ago

I think I completely misunderstood this issue. It should be fixed now by f0cdc89f466f73bf33eba4f63311a40d1d13050e

Previously I changed the msys path from C:\msysgit\msysgit\bin to C:\msysgit\bin, (see 7631edc), but I forgot to change it in getversion.tt too. On my system there was no problem, because I have git installed in both locations.

Can you please confirm this fixes this issue?

Pegasuz commented 13 years ago

I'll try this out later on the evening.Thank you for the effort! I'll let you know if this works.

wimh commented 13 years ago

I just found a problem which caused it did not compile on a 64-bit windows version. I fixed that in 698a05710466d1d0bdc623a2b0a6253ed54a5461