[vbox-dev] Building SVN on Windows XP

Gil Collins gcstang at hotmail.com
Sun May 25 16:48:10 GMT 2008


Klaus Espenlaub <Klaus.Espenlaub at ...> writes:

 

> 

> Gil Collins wrote:

> 

> > Is there something I'm missing?

> 

> No. Small inconsistency in the Windows additions stuff in OSE which 

> slipped through. Should be fixed for now.

> 

> Klaus

> 

> 

 

 

Compilation fails on USB under Windows any ideas on how to fix this?

 

kBuild: Compiling VBoxSVC -

 

D:/SVNRepositories/vbox/src/VBox/Main/AudioAdapterImpl.cpp

 

AudioAdapterImpl.cpp

 

D:\SVNRepositories\vbox\src\VBox\Main\USBControllerImplcpp(326)

 

: error C2440:

 

'static_cast' : cannot convert from 'USBDeviceFilter::_ComMapClass *'

 

to 'ISupportErrorInfo *'

 

Types pointed to are unrelated; conversion requires reinterpret_cast,

 

C-style cast or function-style cast

 

D:\SVNRepositories\vbox\src\VBox\Main\USBControllerImplcpp(326) : error
C2440:

 

'initializing' : can

 

not convert from 'ATL::_ATL_CREATORARGFUNC (__stdcall *)' to 'DWORD_PTR'

 

        There is no context in which this conversion is possible

 

kmk.exe[3]: ***

 

[D:/SVNRepositories/vbox/out/win.x86/release/obj/src/VBox/Main/VBoxSVC/USBCo
ntroller

 

Impl.obj] Error 2

 

The failing command:

 

        <at> D:/MICROS~1/VC/bin/cl.exe -c -TP -c -nologo -O2 -Zi -Zl -GR
-GF- -MD

 

-EHsc -W3 -wd4065 -wd

 

4996 -Zc:wchar_t- -O2 -GS- -Oy-

 

-ID:/SVNRepositories/vbox/out/win.x86/release/obj/src/VBox/Main/VBox

 

COM -ID:/SVNRepositories/vbox/src/VBox/Main/include

 

-ID:/SVNRepositories/vbox/out/win.x86/release/ob

 

j/src/VBox/Main/VBoxSVC -ID:/SVNRepositories/vbox/src/VBox/Main

 

-ID:/SVNRepositories/vbox/out/win.x8

 

6/release/obj/src/VBox/Main

 

-ID:/SVNRepositories/vbox/out/win.x86/release/bin/sdk/include -ID:/MICRO

 

S~1/VC/atlmfc/include -ID:/MICROS~2/Include -ID:/WINDDK/3790~1.183/inc/ddk

 

-ID:/WINDDK/3790~1.183/in

 

c/ddk/wnet -ID:/WINDDK/3790~1.183/inc/wnet

 

-ID:/WINDDK/3790~1.183/inc/ddk/wdm/wnet -ID:/SVNRepositor

 

ies/vbox/include -ID:/SVNRepositories/vbox/out/win.x86/release

 

-ID:/MICROS~1/VC/include -ID:/MICROS~

 

1/VC/atlmfc/include -DVBOX -DVBOX_OSE -DRT_OS_WINDOWS -D__WIN__
-DRT_ARCH_X86

 

-D__X86__ -D__WIN32__

 

-D_X86_ -DIN_RING3 -DUNICODE -DNDEBUG=1 -DVBOX_MAIN_SETTINGS_ADDONS
-DVBOX_HGCM

 

-DVBOX_WITH_ALSA -DV

 

BOX_WITH_PULSE -D_UNICODE -DVBOX_COM_OUTOFPROC_MODULE -D_WIN32_WINNT=0x0500

 

-FdD:/SVNRepositories/vb

 

ox/out/win.x86/release/obj/src/VBox/Main/VBoxSVC/USBControllerImpl-obj.pdb
-FD

 

-FoD:/SVNRepositories

 

/vbox/out/win.x86/release/obj/src/VBox/Main/VBoxSVC/USBControllerImpl.obj

 

D:\\SVNRepositories\\vbox\

 

\src\\VBox\\Main\\USBControllerImpl.cpp

 

kmk.exe[3]: *** Waiting for unfinished jobs....

 

kmk.exe[3]: Leaving directory `D:/SVNRepositories/vbox/src/VBox/Main'

 

kmk.exe[2]: *** [pass_binaries_before] Error 2

 

kmk.exe[2]: Leaving directory `D:/SVNRepositories/vbox/src/VBox'

 

kmk.exe[1]: *** [pass_binaries_before] Error 2

 

kmk.exe[1]: Leaving directory `D:/SVNRepositories/vbox/src'

 

kmk: *** [pass_binaries_before] Error 2

 

 

 

Thank you for all your assistance.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20080525/edce2dc4/attachment.html>


More information about the vbox-dev mailing list