Posts: 19
Joined: Jul 2008
Reputation:
0
PashaK
Junior Member
Posts: 19
Hi All,
ive been using xbmc on the xbox for years. Marvellous piece of code. i recently tried out the xbmc for windows and im thrilled at how far it has come. i have tried the last 2 builds but im anxious for the next.
im no programmer but i tried compiling my own using the instructions on the wiki using VS2008. although it does build and i get 4 successful messages and 0 failures, i do occasionally get runtime errors. plus at the top of the screen when xbmc is running i get free mem, cpu usage etc, dont know how to remove it. i copied the xbmc.exe built from vs2008 (located in \project\VS2008Express\XBMC\Debug (SDL)) into where the svn is and ran it from there, dont know if that is right, couldnt find any info on what to do with the exe once its built.
i know the chances of someone assisting me step by step to get it compiled properly are slim so i was hoping another build would come soon.
thought it was worth asking, if not, i apologise in advance and will continue trying to compile it using the instructions given.
thanx for your time.
PashaK
Posts: 2,745
Joined: Oct 2003
Reputation:
1
WiSo
Team-Kodi Developer
Posts: 2,745
Malloc did some reorganization. I've fixed the link.
@PashaK: You have to choose release (sdl) in the vs 2008 project setting (in the top option field) in order to get a release build rather then the debug one.
Posts: 19
Joined: Jul 2008
Reputation:
0
PashaK
Junior Member
Posts: 19
Thx Jonathan,
i'll give that a go and respond later tonight.
youve been a great help
cheers
Posts: 2,745
Joined: Oct 2003
Reputation:
1
WiSo
Team-Kodi Developer
Posts: 2,745
ups posted the debug thingy twice. The build.bat in the main folder will try to compile it with vs2003. You have to run BuildSetup.bat in project\Win32BuildSetup. This will file if the nsis installer isn't there but you'll get all needed files in the BUILD folder afterwards.
Posts: 19
Joined: Jul 2008
Reputation:
0
PashaK
Junior Member
Posts: 19
Thx WiSO
appreciate the comments, ive got a working build now for rev 13982
thanx heaps to both of you
cheers
PashaK
Posts: 19
Joined: Jul 2008
Reputation:
0
PashaK
Junior Member
Posts: 19
One thing i just noticed.
after running buildsetup.bat heres what i get in the command window, even though it says at the bottom failed to create exe, it did and it does run, but freezes on occasion, and i have to task manager end it:
Compiling Solution...
Done!
------------------------------------------------------------
Copying files...
------------------------------------------------------------
Compiling skins...
Compiling Project Mayhem III...
The system cannot find the file specified.
Copying files...
------------------------------------------------------------
Compiling scripts...
------------------------------------------------------------
Compiling plugins...
------------------------------------------------------------
Build Succeeded!
------------------------------------------------------------
Generating installer includes...
------------------------------------------------------------
Creating installer XBMCSetup-Rev13982.exe...
ERROR: The system was unable to find the specified registry key or value.
ERROR: The system was unable to find the specified registry key or value.
'"\makensis.exe"' is not recognized as an internal or external command,
operable program or batch file.
------------------------------------------------------------
!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-
ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR
!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-
ERROR: Failed to create XBMCSetup-Rev13982.exe.
------------------------------------------------------------
View the build log in your HTML browser? [y/n]
i did install the Nullsoft sciptable install system which i assume gives the command makensis.exe.
any thoughts are appreciated
PashaK
Posts: 7,172
Joined: Dec 2003
Reputation:
4
kraqh3d
Retired Developer
Posts: 7,172
Just modify the Build.bat file.
Posts: 19
Joined: Jul 2008
Reputation:
0
PashaK
Junior Member
Posts: 19
thanx for the reply,
you mean the buildsetup.bat file?
modify it how?
Posts: 19
Joined: Jul 2008
Reputation:
0
PashaK
Junior Member
Posts: 19
ok not how but modify which part?
Posts: 7,172
Joined: Dec 2003
Reputation:
4
kraqh3d
Retired Developer
Posts: 7,172
no... dont bother with build.bat unless you really want an installer. in the root there's a build.bat file that will compile and make a build_win32 folder with all the necessary components. (actually, its not all the necessary components, you need to steal the dependancies folder from the Win32BuildSetup folder.)
Posts: 19
Joined: Jul 2008
Reputation:
0
PashaK
Junior Member
Posts: 19
Ok, well i modified the buildsetup.bat and changed where it looks for makensis.exe to c:\program files (x86)\NSIS
and it looks good now.
will report if i have any further issues.
thanx alot guys