#include "mongo/client/dbclient.h" | |
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/1fd07d9a-5ba8-47b8-84ea-a2788eb2f447%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
C:\Users\MathewFok>mongo
MongoDB shell version: 2.4.9
connecting to: test
> show dbs
findata 5.951171875GB
local 0.078125GB
myJson 3.9521484375GB
> $ ./configure
Sat Apr 19 21:01:06.746 SyntaxError: Unexpected token /
> g++ -I/usr/local/include -L/usr/local/lib -pthread -lmongoclient -lboost_threa
d-mt -lboost_filesystem -lboost_program_options -lboost_system app/ConnectorMain
.cpp -o ConnectorMain
Sun Apr 20 00:50:43.974 SyntaxError: Unexpected identifier
Maybe I need to download boost or something? I'm using VS13 Express and my ConnectorMain is in my C:\Users\MathewFok\Documents\Visual Studio 2013\Projects\C++TradingAlgorithm\C++TradingAlgorithm folder as well as my dbcilent.h where I store any header I possibly need from the Mongodb C++ API website.
Now that you can see where my files are stored, do you think you could help me make these include files work from the Mongodb C++ API website: http://api.mongodb.org/cplusplus/current/files.html. Thanks so much for responding!
> -I/usr/local/include -L/usr/local/lib -pthread -lmongoclient -lboost_thread-mt
-lboost_filesystem -lboost_program_options -lboost_system app/ConnectorMain.cpp
-o ConnectorMain
Sun Apr 20 21:02:28.548 SyntaxError: Unexpected identifier
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/c98e1fda-06b1-4f5b-88a9-0b085c76a829%40googlegroups.com.