Ticket #7511 (closed defect: fixed)
Compiling with Guest Properties disabled fails (fix attached)
|Reported by:||TwistedLincoln||Owned by:|
When compiling VirtualBox-OSE 3.2.8 without Guest Properties enabled (by setting the VBOX_WITH_GUEST_PROPS configure flag), compilation ends with an error.
This appears to be due to the fact a section of code used by the Guest Properties functionality is not properly segregated to be run only if compiled with the feature active.
The solution is to place #ifdef VBOX_WITH_GUEST_PROPS and #endif statements surrounding the offending code.
The location in question is src/VBox/Main/MachineImpl.cpp -- placing the above statements at lines 11143 and 11163 respectively solves the issue, and VirtualBox-OSE compiles as expected, with the Guest Properties approrpiately disabled.
I have attached a copy of the MachineImpl.cpp file with the modifications in place.