Getting Error when trying out Buildsetup.bat with SDL exe version.

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
tvon Offline
Junior Member
Posts: 8
Joined: Jun 2008
Reputation: 0
Post: #16
Actually it would look in "SDL\project\Win32BuildSetup\BUILD_WIN32\Xbmc\credits\*.*" if you checked XBMC out into a SDL directory (duh, I checked out the whole branch so it's named XBMC for me).

You should still run a 'svn st' in there to see if anything is edited in unintended ways, especially the "File /r /x *.so ${xbmc_root}\Xbmc\credits\*.*" bit which in your copy/pasting at least has a space in the middle of "cred its"
find quote
djdafreund Offline
Skilled Skinner
Posts: 562
Joined: Dec 2005
Reputation: 0
Location: Atlanta
Post: #17
Ok, got it working. The SDL directory i keep it in is called "XBMC SDL\project\Win32BuildSetup", and not "SDL\project\Win32BuildSetup", so as soon as i renamed it and tried it again, it worked fine now. Thing is, why can't the batch file (tried finding the one hardcoded to look in SDL directory) use the "..\project\Win32BuildSetup" instead of hardcoding it to "SDL\project\Win32BuildSetup"? That way it automatically looks whatever directory the user is within.

My reasoning is this, i keep all my xbox svn/scripts svn/skins svn located on my D Drive in "d:\XBMC Builds" and keep my xbmc SDL compiles and such under "d:\xbmc SDL" directory." but currently the process wouldn't work as is since it looks under "SDL\" specifically.

I guess for now, until the coder's hopefully agree to use a "..\" system instead of "SDL\" (so the user is allowed by default to use whatever main directory name they choose to), i can just move the needed "SDL\" directory inside my "XBMC Builds\" and make my pc sdl versions, as well as now my SDL BuildSetup .exe files from within my xbmc builds directory. Thanks for the help.

BTW- With the recent 'thanks tvon' change in the SVN, i didn't have to make any changes at all anymore to any batch files. (other then the main directory name being specific) Thanks!!! Smile

Update- Ahhhh, i see what's happening. The batch files doesn't recognize directories with a space in them. Since mine is "d:\xbmc sdl", it's only seeing the name AFTER the space, hense "d:\SDL". Now that makes some sense. I know with the dos formatting, you have to add quotes around a directory name in a batch file if there is a space in the directory name, but since a lot of the formatting in these batch files i don't recognise, i didn't catch that until now.
(This post was last modified: 2008-06-13 07:25 by djdafreund.)
find quote
tvon Offline
Junior Member
Posts: 8
Joined: Jun 2008
Reputation: 0
Post: #18
djdafreund Wrote:Update- Ahhhh, i see what's happening. The batch files doesn't recognize directories with a space in them. Since mine is "d:\xbmc sdl", it's only seeing the name AFTER the space, hense "d:\SDL". Now that makes some sense. I know with the dos formatting, you have to add quotes around a directory name in a batch file if there is a space in the directory name, but since a lot of the formatting in these batch files i don't recognise, i didn't catch that until now.

I tested/confirmed your find and created a patch here http://sourceforge.net/tracker/index.php...tid=581840

(the problem is in "XBMC for Windows.nsi")
find quote
Post Reply