Loki-Astari / ThorsMongo

C++ MongoDB API and BSON/JSON Serialization library
GNU General Public License v3.0
316 stars 72 forks source link

my compile problem of example1 #70

Closed z8002 closed 3 years ago

z8002 commented 3 years ago

sorry if it is too simple actually its not issue im looking for help. i just started to compile an build c++ programs. my question is : i downloaded the thorserialize.zip and unzip in my ubuntu. i folders i want to just run the example1 code with g++ -l/home/suser/Desktop/ThorsSerializer/ThorSerialize example1.o -o example1.cpp console code but it gives me example1.cpp:1:10: fatal error: ThorSerialize/Traits.h: No such file or directory

what did i wrong ?? can you explain to me

Loki-Astari commented 3 years ago

Where did you get the zip?

Easy way to install on linux is via brew