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: #11
Charly Wrote:strange, just tried it on vista x86 and it worked just fine as it is.

Is makensis.exe in your path? When the REG QUERY parsing fails it just tries to execute 'makensis.exe' which will work if it's in your path (or whatever the appropriate windows terminology is).

If you add an ECHO %NSISExe% around line 190 it will show you if the REG QUERY worked.
find quote
djdafreund Offline
Skilled Skinner
Posts: 562
Joined: Dec 2005
Reputation: 0
Location: Atlanta
Post: #12
Ok, just an update. I tried the mentioned tips, but didn't fix things, although it got me the following error instead, which seems further. Tried 3 things-
1) Tried the mentioned replacing the TAB with a SPACE which gave the same error as '2)' which is below.
2) Tried manually replacing "SET NSISExe=makensis.exe" with "SET NSISExe=C:\Program Files\NSIS\makensis.exe"
3) Made the key in registry since NSIS installer didn't create one on my 64bit rig. Also copied everything from my "C:\Program Files (x86)\NSIS\" directory over to "C:\Program Files\NSIS" directory (again because of using x64 (XP Pro 64bit)


Generating installer includes...
------------------------------------------------------------
Creating installer XBMCSetup-Rev13539.exe...
File: "SDL\project\Win32BuildSetup\BUILD_WIN32\Xbmc\credits\*.*" -> no files fou
nd.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
/oname=outfile one_file_only)
Error in script "XBMC for Windows.nsi" on line 94 -- aborting creation process
------------------------------------------------------------
!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-
ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR
!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-
ERROR: Failed to create XBMCSetup-Rev13539.exe.
------------------------------------------------------------
View the build log in your HTML browser? [y/n]


I get farther though at least with using the above. Whats the proper key in the registry so i can make sure i made one correctly since NSIS installer didn't seem to make one, i think i made it right. Still need further help figuring this out please. Thanks a lot guys BTW.
find quote
Dam0 Offline
Fan
Posts: 321
Joined: Jun 2008
Reputation: 0
Post: #13
when i run the buildsetup.bat i get this msg

Compiling...
stdafx.cpp
..\..\guilib\system.h(134) : fatal error C1083: Cannot open include file: 'DInput.h': No such file or directory

i suspect missing directx files??

my windows has problems authorising with MS website

regards,
Dam0
find quote
WiSo Offline
Team-XBMC Developer
Posts: 2,506
Joined: Oct 2003
Reputation: 0
Location: Germany
Post: #14
yeah, you need directx installed (see the faq)

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
tvon Offline
Junior Member
Posts: 8
Joined: Jun 2008
Reputation: 0
Post: #15
djdafreund Wrote:Generating installer includes...
------------------------------------------------------------
Creating installer XBMCSetup-Rev13539.exe...
File: "SDL\project\Win32BuildSetup\BUILD_WIN32\Xbmc\credits\*.*" -> no files fou
nd.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
/oname=outfile one_file_only)
Error in script "XBMC for Windows.nsi" on line 94 -- aborting creation process
------------------------------------------------------------
!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-
ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR
!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-
ERROR: Failed to create XBMCSetup-Rev13539.exe.
------------------------------------------------------------
View the build log in your HTML browser? [y/n]


I get farther though at least with using the above. Whats the proper key in the registry so i can make sure i made one correctly since NSIS installer didn't seem to make one, i think i made it right. Still need further help figuring this out please. Thanks a lot guys BTW.

You're past the "can't find makensis.exe" problem. If you read the error you're getting you'll see that the problem is in "XBMC for Windows.nsi" which is the file makensis.exe uses (meaning that makensis.exe is being found and executed).

That said, I don't know why you're getting the error you are, and I don't know why makensis.exe seems to be looking for "SDL\project\Win32BuildSetup\BUILD_WIN32\Xbmc\credits\*.*" as I don't see that SDL directory anywhere. It seems like instead of SDL there you should have XBMC. Maybe in your attempts to get things working you edited something you didn't mean to? Can you run an 'svn diff' in the Win32BuildSetup directory?
find quote
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