#22174 closed defect (fixed)
VirtualBox SDK 7.1 missing XPCOM headers
回報者: | Michael Hansen | 負責人: | |
---|---|---|---|
元件: | other | 版本: | VirtualBox-7.1.0 |
關鍵字: | SDK | 副本: | Michael Hansen |
Guest type: | all | Host type: | Linux |
描述
The VirtualBox 7.1.0 SDK for C++/XPCOM references headers from the VirtualBox sources which are not present in the SDK archive:
In file included from /opt/VirtualBoxSDK/sdk-7.1.0/bindings/xpcom/include/nsprpub/prtypes.h:58, from /opt/VirtualBoxSDK/sdk-7.1.0/bindings/xpcom/include/xpcom/nscore.h:51, from /opt/VirtualBoxSDK/sdk-7.1.0/bindings/xpcom/include/nsrootidl.h:12, from /opt/VirtualBoxSDK/sdk-7.1.0/bindings/xpcom/include/nsISupports.h:10, from /opt/VirtualBoxSDK/sdk-7.1.0/bindings/xpcom/include/VirtualBox_XPCOM.h:10, from <my header>: /opt/VirtualBoxSDK/sdk-7.1.0/bindings/xpcom/include/nsprpub/prcpucfg.h:42:10: fatal error: iprt/cdefs.h: No such file or directory 42 | #include <iprt/cdefs.h> | ^~~~~~~~~~~~~~ compilation terminated.
I tried working around this specific header, but it appears there are several other cases of this in the 7.1 XPCOM headers. The MSCOM header works fine on Windows, and the code that consumes it works fine on previous (6.x and 7.0) versions of the VirtualBox SDK.
注意:
瀏覽 TracTickets
來幫助您使用待辦事項功能
Hi Michael,
VirtualBox 7.1.2 has been released last week. This issue should be fixed in this version. You can download it from here. Than you for reporting the issue.