mardi 5 février 2019

Unable to compile a .cpp file

Alright, so I am trying to clone the github repo as explained here and compile the main .cpp file as instructed in the tutorial provided in the link.
However, it seems to be including libraries that are outside of the folder where the .cpp file is: /snap/examples/temporalmotifs/
These libraries are located all over different directories in the /snap/ root folder.
I am not very good with c++, I am not entirely sure how to link libraries from upper folders.

Here's the error I am getting when I try to compile the .cpp file: error

Sure enough. the "Snap.h" library is not in the folder where the .cpp file is.

Aucun commentaire:

Enregistrer un commentaire