visual c++ - MongoDB C++ Driver Compile Error -
try work mongodb driver on vs 2010. after include fresh compiled mongodb driver (nightly) using boost 1.4.9 have error :
mongoclient.lib(1): error c2059: syntaxfehler: '<'
mongoclient.lib(2): error c2018: unbekanntes zeichen '0x60'
mongoclient.lib(3): error c2059: syntaxfehler: 'ungültiges suffix für zahl'
mongoclient.lib(3): error c2018: unbekanntes zeichen '0x16'
............ fatal error c1003: mehr als 100 fehler gefunden; kompilierung wird abgebrochen.
it recommended don't use stand alone driver. rather download , build full mongodb source git. should driver , header files (i don't have windows box test true osx/linux , recommended solution platforms). finally, link library, don't include .cpp file.
best, charlie
Comments
Post a Comment