2008-07-25, 11:52
kricker Wrote:Can someone put the above info from kraqh3d on the win32 build wiki? I would, but now it's locked except for Ninjas.so register an account and request 'ninja' access, anyone can do that
kricker Wrote:Can someone put the above info from kraqh3d on the win32 build wiki? I would, but now it's locked except for Ninjas.so register an account and request 'ninja' access, anyone can do that
Gamester17 Wrote:so register an account and request 'ninja' access, anyone can do thatI'm registered, I just need to request Ninja status. I'll refer to the wiki for that.
kraqh3d Wrote:From within VC, there's a Build menu. You can Build Solution, Clean Solution, and Rebuild Solution. (Rebuild is clean followed by a build.) But this only compiles the executable. And VC may default to release type Debug (SDL) which takes a longer time to compile, so you may want to change it to Release (SDL). You'll see that on the top menu.
To make the app, run project\W32BuildSetup\BuildSetup.bat
This will compile a Release executable and put all the other stuff together into a BUILD_WIN32 folder. It'll also create an "installer version" if you have the Nullsoft Installer. If you don't, you'll get an error at the end because it couldnt create the installer version. Just ignore it. You'll still have the BUILD_WIN32 folder which will have everything in it.
4>guilib.lib(AudioContext.obj) : error LNK2019: unresolved external symbol _DirectSoundCreate@12 referenced in function "public: void __thiscall CAudioContext::SetActiveDevice(int)" (?SetActiveDevice@CAudioContext@@QAEXH@Z)
4>guilib.lib(AudioContext.obj) : error LNK2019: unresolved external symbol _DirectSoundEnumerateA@8 referenced in function "public: void __thiscall CAudioContext::SetActiveDevice(int)" (?SetActiveDevice@CAudioContext@@QAEXH@Z)
4>XBMC\Release (SDL)\XBMC.exe : fatal error LNK1120: 2 unresolved externals
Quote:Note that the SDK path depends on your installation. The April SDK needs it platform based. So use either
C:\Program Files\Microsoft DirectX SDK (April 2007)\Lib\x86
or
C:\Program Files\Microsoft DirectX SDK (April 2007)\Lib\x64
Note2: A user report says that for the 2008 SDK the directory should be x86 in any case regardless your build platform.
Kung Foo Wrote:The build goes otherwise OK, but fails miserably on these errors:
Code:4>guilib.lib(AudioContext.obj) : error LNK2019: unresolved external symbol _DirectSoundCreate@12 referenced in function "public: void __thiscall CAudioContext::SetActiveDevice(int)" (?SetActiveDevice@CAudioContext@@QAEXH@Z)
4>guilib.lib(AudioContext.obj) : error LNK2019: unresolved external symbol _DirectSoundEnumerateA@8 referenced in function "public: void __thiscall CAudioContext::SetActiveDevice(int)" (?SetActiveDevice@CAudioContext@@QAEXH@Z)
4>XBMC\Release (SDL)\XBMC.exe : fatal error LNK1120: 2 unresolved externals
Note2: A user report says that for the 2008 SDK the directory should be x86 in any case regardless your build platform.
devenv "XBMC for Windows.sln" /build "Debug (SDL)"
Quote:Found a previous Compiled WIN32 EXE!
[1] a NEW EXE will be compiled for the BUILD_WIN32
[2] existing EXE will be updated (quick mode compile) for the BUILD_WIN32
------------------------------------------------------------
Compile a new EXE? [1/2]:2
Wait while preparing the build.
------------------------------------------------------------
Compiling Solution...
Done!
------------------------------------------------------------
Copying files...
------------------------------------------------------------
Compiling skins...
Compiling Project Mayhem III...
The system cannot find the file specified.
Copying files...
Compiling PM3.HD...
File not found - 1080i
File not found - NTSC
File not found - NTSC16x9
File not found - PAL
File not found - PAL16x9
Copying files...
The system cannot find the path specified.
------------------------------------------------------------
Compiling scripts...
The system cannot find the path specified.
------------------------------------------------------------
Compiling plugins...
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
------------------------------------------------------------
Build Succeeded!
------------------------------------------------------------
Generating installer includes...
------------------------------------------------------------
Creating installer XBMCSetup-Rev16414.exe...
------------------------------------------------------------
Done!
Setup is located at C:\Documents and Settings\igor\My Documents\Visual Studio 20
08\Projects\XBMC\project\Win32BuildSetup\XBMCSetup-Rev16414.exe
------------------------------------------------------------
View the build log in your HTML browser? [y/n]