Page 1 of 1

compiling on Win7x64 VS2010SP1

PostPosted: 2. Oct 2014, 14:08
by subwoofer
What I'm doing wrong here and how can i do it right? Thanks for advices.

Code: Select all   Expand viewCollapse view
kBuild: Generating C:/vbox-ose/VirtualBox-4.3.16/out/win.x86/release/DynamicConfig.kmk
========= START OF C:/vbox-ose/VirtualBox-4.3.16/out/win.x86/release/DynamicConfig.kmk =========
VBOX_GCC_PATH_CC               ?=
VBOX_GCC_PATH_CXX              ?=
VBOX_GCC_VERSION_CC            ?= 30303
VBOX_GCC_VERSION_CXX           ?= 30303
VBOX_GCC_LIBGCC                ?=
VBOX_GCC_Wno-pointer-sign      ?=
VBOX_GCC_Wno-array_bounds      ?=
VBOX_GCC_Wextra                ?=
VBOX_GCC_Wlogical-op           ?=
VBOX_GCC_Wno-address           ?=
VBOX_GCC_Wno-delete-non-virtual-dtor    ?=
VBOX_GCC_Wno-int-to-pointer-cast        ?=
VBOX_GCC_Wno-invalid-offsetof           ?=
VBOX_GCC_Wno-missing-field-initializers ?=
VBOX_GCC_Wno-pointer-to-int-cast        ?=
VBOX_GCC_Wno-variadic-macros   ?=
VBOX_GCC_Wno-vla               ?=
VBOX_GCC_fno-stack-protector   ?=
VBOX_GCC_fno-dwarf2-cfi-asm    ?=
VBOX_GCC_fdiagnostics-show-option ?=
VBOX_GCC_mtune-generic         ?=
VBOX_LD_as_needed              ?=
VBOX_GCC_BUGGY_REGPARM         ?= $(int-lt $(VBOX_GCC_VERSION_CC),30400)
ifneq ($(VBOX_GCC_VERSION_CC),)
 ifneq ($(int-ge $(VBOX_GCC_VERSION_CC),40000),)
  VBOX_GCC_fvisibility-hidden  ?=
 endif
endif
ifneq ($(VBOX_GCC_VERSION_CXX),)
 ifneq ($(int-ge $(VBOX_GCC_VERSION_CXX),40000),)
  VBOX_GCC_fvisibility-inlines-hidden ?=
 endif
endif
ifneq ($(VBOX_GCC_VERSION_CXX),)
 ifneq ($(int-ge $(VBOX_GCC_VERSION_CXX),40800),)
  VBOX_GCC_Wno-unused-parameter ?= -Wno-unused-parameter
 endif
endif
VBOX_GCC_pipe                  ?= -pipe
VBOX_PATH_GCC_INCS             ?=
VBOX_GCC32_PATH_CC             ?=
VBOX_GCC32_PATH_CXX            ?=
VBOX_GCC32_VERSION_CC          ?= 30303
VBOX_GCC32_VERSION_CXX         ?= 30303
VBOX_GCC32_LIBGCC              ?=
VBOX_GCC32_Wno-variadic-macros ?=
VBOX_YASM_Wno-segreg-in-64bit  ?=
=========== END OF C:/vbox-ose/VirtualBox-4.3.16/out/win.x86/release/DynamicConfig.kmk =========
kBuild: Pass - Build Programs
kBuild: Pass - Libraries
kBuild: Linking VBoxAPIWrap
kBuild: Installing VBoxCOM => C:/vbox-ose/VirtualBox-4.3.16/out/win.x86/release/lib/VBoxCOM.lib
kBuild: Compiling RuntimeR3NoCRTGCC - C:/vbox-ose/VirtualBox-4.3.16/src/VBox/Runtime/common/misc/sanity-cpp.cpp
The failing command:
@g++.exe -c -g -O2 -nostdinc -fno-strict-aliasing -fno-math-errno -Wall -Wno-unused -Wno-trigraphs -Werror-implicit-function-declaration -s -s -m32 -IC:/vbox-ose/VirtualBox-4.3.16/src/VBox/Runtime/include -IC:/vbox-ose/VirtualBox-4.3.16/include/iprt/nocrt -IC:/vbox-ose/VirtualBox-4.3.16/include -IC:/vbox-ose/VirtualBox-4.3.16/out/win.x86/release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_DEBUGGER -DRT_OS_WINDOWS -D__WIN__ -DRT_ARCH_X86 -D__X86__ -D__WIN32__ -DVBOX_WITH_HARDENING -DIN_RING3 -DIPRT_NO_CRT -DHC_ARCH_BITS=32 -DGC_ARCH_BITS=64 -Wp,-MD,C:/vbox-ose/VirtualBox-4.3.16/out/win.x86/release/obj/RuntimeR3NoCRTGCC/common/misc/sanity-cpp.o.dep -Wp,-MT,C:/vbox-ose/VirtualBox-4.3.16/out/win.x86/release/obj/RuntimeR3NoCRTGCC/common/misc/sanity-cpp.o -Wp,-MP -o C:/vbox-ose/VirtualBox-4.3.16/out/win.x86/release/obj/RuntimeR3NoCRTGCC/common/misc/sanity-cpp.o C:/vbox-ose/VirtualBox-4.3.16/src/VBox/Runtime/common/misc/sanity-cpp.cpp


Code: Select all   Expand viewCollapse view
C:\vbox-ose\VirtualBox-4.3.16>env.bat

C:\vbox-ose\VirtualBox-4.3.16>kmk > log.txt
C:/vbox-ose/VirtualBox-4.3.16/src/VBox/Main/webservice/Makefile.kmk:105: VBOX_PA
TH_GSOAP not found...
C:/vbox-ose/VirtualBox-4.3.16/kBuild/sdks/W32API.kmk:45: kBuild: PATH_SDK_W32API
 couldn't be determined!
process_begin: CreateProcess(NULL, gcc.exe -print-libgcc-file-name, ...) failed.

process_begin: CreateProcess(NULL, gcc.exe -print-libgcc-file-name, ...) failed.

C:/vbox-ose/VirtualBox-4.3.16/src/VBox/Main/webservice/Makefile.kmk:105: VBOX_PA
TH_GSOAP not found...
C:/vbox-ose/VirtualBox-4.3.16/kBuild/sdks/W32API.kmk:45: kBuild: PATH_SDK_W32API
 couldn't be determined!
process_begin: CreateProcess(NULL, g++.exe -c -g -O2 -nostdinc -fno-strict-alias
ing -fno-math-errno -Wall -Wno-unused -Wno-trigraphs -Werror-implicit-function-d
eclaration -s -s -m32 -IC:/vbox-ose/VirtualBox-4.3.16/src/VBox/Runtime/include -
IC:/vbox-ose/VirtualBox-4.3.16/include/iprt/nocrt -IC:/vbox-ose/VirtualBox-4.3.1
6/include -IC:/vbox-ose/VirtualBox-4.3.16/out/win.x86/release -DVBOX -DVBOX_OSE
-DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_DEBUGGER -DRT_OS_WINDOWS -D__WIN__ -DRT_A
RCH_X86 -D__X86__ -D__WIN32__ -DVBOX_WITH_HARDENING -DIN_RING3 -DIPRT_NO_CRT -DH
C_ARCH_BITS=32 -DGC_ARCH_BITS=64 -Wp,-MD,C:/vbox-ose/VirtualBox-4.3.16/out/win.x
86/release/obj/RuntimeR3NoCRTGCC/common/misc/sanity-cpp.o.dep -Wp,-MT,C:/vbox-os
e/VirtualBox-4.3.16/out/win.x86/release/obj/RuntimeR3NoCRTGCC/common/misc/sanity
-cpp.o -Wp,-MP -o C:/vbox-ose/VirtualBox-4.3.16/out/win.x86/release/obj/RuntimeR
3NoCRTGCC/common/misc/sanity-cpp.o C:/vbox-ose/VirtualBox-4.3.16/src/VBox/Runtim
e/common/misc/sanity-cpp.cpp, ...) failed.
make (e=127): Uvedená procedura nebyla nalezena.
kmk: *** [C:/vbox-ose/VirtualBox-4.3.16/out/win.x86/release/obj/RuntimeR3NoCRTGC
C/common/misc/sanity-cpp.o] Error 127
kmk: *** Waiting for unfinished jobs....
kmk: *** Exiting with status 2

C:\vbox-ose\VirtualBox-4.3.16>

Re: compiling on Win7x64 VS2010SP1

PostPosted: 26. May 2015, 12:04
by Nitrous
In mine it shows:

Config.kmk:2512: C:/Users/DUOS/Desktop/VirtualBox-4.3/VirtualBox-4.3.26/out/win.
amd64/release/DynamicConfig.kmk: No such file or directory.

If you know solution to this please let me know. I am building on Windows 8. Vbox 4.3.26