windows - how to build mongodb-cxx-driver in win -


i followed instruction on https://mongodb.github.io/mongo-cxx-driver/mongocxx-v3/installation/, blocked @ step4, says:

cmake error @ cmakelists.txt:135 (generate_export_header): unknown cmake command "generate_export_header".

i found command exists long time. tried cmake3.7rc1 , rc3, error time. how can build bsoncxx?

just go cmakelists.txt line 134 , add new line following code

include(generateexportheader) 

maybe included dependency in older versions


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -