<div dir="ltr">Klaus, <div>Problem appear in preprocessor. I guess that compiler, can't define my OS and CPU Architecture. This error also appear in make step of executing sample program from "sdk/bindings/xpcom/samples/tstVBoxAPIXPCOM"</div>
<div>Full Error</div><div>1) C:\Users\Sanchir\Documents\sdk\bindings\xpcom\include\nsprpub\prcpucfg.h:62: error: #error "Define the correct platform identifier / Port me."</div><div><div>2) \sdk\bindings\xpcom\include\iprt\cdefs.h:199: error: #error "You must define which context the compiled code should run in; IN_RING3, IN_RING0 or IN_RC"</div>
<div><div>3) \sdk\bindings\xpcom\include\VBox\com\defs.h:79: ошибка: atlbase.h: No such file or directory</div><div> # include <atlbase.h></div></div></div><div>This error from Windows Version, also this problems is appears on Linux and Mac OS. (Linux and Mac OS also want to <atlbase.h> </div>
<div>in Qt this headers has been Imported by : all files sucessfully included.</div><div><pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">INCLUDEPATH</span><span style="color:rgb(192,192,192)"> </span>+=USER_NAME/Documents/sdk/bindings/xpcom/<span style="color:rgb(128,128,0)">include</span></pre>
</div><div><br><div><pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#ifndef</span><span style="color:rgb(192,192,192)"> </span>nspr_vboxcfg___</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#define</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,128)">nspr_vboxcfg___</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#ifdef</span><span style="color:rgb(192,192,192)"> </span>RT_OS_DARWIN</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,128)">include</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)"><md/_darwin.cfg></span></pre>

<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#elif</span><span style="color:rgb(192,192,192)"> </span>defined<span style="color:rgb(0,0,0)">(</span>RT_OS_FREEBSD<span style="color:rgb(0,0,0)">)</span></pre>

<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,128)">include</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)"><md/_freebsd.cfg></span></pre>

<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#elif</span><span style="color:rgb(192,192,192)"> </span>defined<span style="color:rgb(0,0,0)">(</span>RT_OS_L4<span style="color:rgb(0,0,0)">)</span></pre>

<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,128)">include</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)"><md/_l4v2.cfg></span></pre>

<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#elif</span><span style="color:rgb(192,192,192)"> </span>defined<span style="color:rgb(0,0,0)">(</span>RT_OS_LINUX<span style="color:rgb(0,0,0)">)</span></pre>

<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,128)">include</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)"><md/_linux.cfg></span></pre>

<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#elif</span><span style="color:rgb(192,192,192)"> </span>defined<span style="color:rgb(0,0,0)">(</span>RT_OS_NETBSD<span style="color:rgb(0,0,0)">)</span></pre>

<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,128)">include</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)"><md/_netbsd.cfg></span></pre>

<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#elif</span><span style="color:rgb(192,192,192)"> </span>defined<span style="color:rgb(0,0,0)">(</span>RT_OS_OPENBSD<span style="color:rgb(0,0,0)">)</span></pre>

<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,128)">include</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)"><md/_openbsd.cfg></span></pre>

<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#elif</span><span style="color:rgb(192,192,192)"> </span>defined<span style="color:rgb(0,0,0)">(</span>RT_OS_SOLARIS<span style="color:rgb(0,0,0)">)</span></pre>

<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,128)">if</span><span style="color:rgb(192,192,192)"> </span>defined<span style="color:rgb(0,0,0)">(</span>RT_ARCH_X86<span style="color:rgb(0,0,0)">)</span></pre>

<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#</span><span style="color:rgb(192,192,192)">  </span><span style="color:rgb(0,0,128)">include</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)"><md/_solaris32.cfg></span></pre>

<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#else</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#</span><span style="color:rgb(192,192,192)">  </span><span style="color:rgb(0,0,128)">include</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)"><md/_solaris64.cfg></span></pre>

<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,128)">endif</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#elif</span><span style="color:rgb(192,192,192)"> </span>defined<span style="color:rgb(0,0,0)">(</span>RT_OS_OS2<span style="color:rgb(0,0,0)">)</span></pre>

<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,128)">include</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)"><md/_os2.cfg></span></pre>

<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#else</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,128)">error</span><span style="color:rgb(192,192,192)"> </span>"Define the correct platform identifier / Port me."    ---------</pre>

<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#endif</span></pre></div></div></div>