<div dir="ltr"><div><div><div>Hi,<br><br></div> I'm getting error while creating sample provider. I followed "Openlmi CIM Provider HowTo" tutorial to create "mof,.c,.h and CMakeList" files, when i tried to cmake it asks for "CMake Error: your CXX compiler: "/usr/bin/c++" was not found" so i installed gcc-c++ rpm. <br>
<br></div>later i followed tutorial instruction i.e. <br><br></div><div>mkdir build && cd build<br><br></div><div>cmake ..<br><br></div><div>when i try to make, its reporting error globals.h, errors.h...etc files not found. So i copied globals.h errors.h....etc and their respective .c files from openlmi-networking provider to sample folder.<br>
<br></div><div>But now i getting error in globals.h file.<br><br>#openlmi-providers/src/sample/globals.h:131:71: error: unknown type name ‘uint’<br> LMIResult g_hash_table_insert_uint(GHashTable *hash, const char *key, uint value);<br>
</div><div><div><div><div><div><div><div><font style="background-color:rgb(255,255,255)" color="#333333" face="'courier new', monospace" size="4"></font>
</div></div></div></div></div></div></div></div>