vendredi 8 janvier 2021

Bsoncxx/types.hpp type.hpp:19:22: Error: expected parameter declarator

I had build the Mongocxx driver ( 3.6.2 release version ) for windows, and i added the library to my Qt 5.15.2 (MSVC 2019, 64 bit) project in order to create a qt application work with mongodb , i follow the official documentation with my little knowledges and skills about it .

a completed all steps sucefully but i got stuck with the Bson third party library for mongocxx with this qt build error :

app/lib-mongo-cxx/include/bsoncxx/types.hpp:41: Parse error at "/lib-mongo-cxx/include/bsoncxx/enums/type.hpp"

from Qt editor the error discription is :

type.hpp:19:22: error: expected parameter declarator

the type.hpp header file is shared here

Aucun commentaire:

Enregistrer un commentaire