Hello!!! Now I want to make a sample, but I get error after make
g++ -c -g -fshort-wchar -I../include -I../include/nsprpub
-I../include/string -I../include/xpcom -I../include/ipcd
-DVBOX_WITH_XPCOM_NAMESPACE_CLEANUP -o tstVBoxAPIXPCOM.o tstVBoxAPIXPCOM.cpp
In file included from ../include/nsprpub/prtypes.h:58:0,
from ../include/xpcom/nscore.h:51,
from ../include/nsrootidl.h:11,
from ../include/nsISupports.h:10,
from ../include/nsIMemory.h:10,
from ../include/xpcom/nsMemory.h:41,
from tstVBoxAPIXPCOM.cpp:69:
../include/nsprpub/prcpucfg.h:63:3: error: #error "Define the correct
platform identifier / Port me."
In file included from ../include/xpcom/nscore.h:51:0,
from ../include/nsrootidl.h:11,
from ../include/nsISupports.h:10,
from ../include/nsIMemory.h:10,
from ../include/xpcom/nsMemory.h:41,
from tstVBoxAPIXPCOM.cpp:69:
../include/nsprpub/prtypes.h:306:2: error: #error No suitable type for
PRInt8/PRUint8
../include/nsprpub/prtypes.h:331:2: error: #error No suitable type for
PRInt16/PRUint16
../include/nsprpub/prtypes.h:363:2: error: #error No suitable type for
PRInt32/PRUint32
../include/nsprpub/prtypes.h:426:2: error: #error 'sizeof(int)' not
sufficient for platform use
tstVBoxAPIXPCOM.cpp:76:26: fatal error: VBox/com/com.h: No such file or
directory
compilation terminated.
make: *** [tstVBoxAPIXPCOM.o] Error 1
_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev