Yes, I know there's like 100000000 questions like this on this site. I spent 2 hours lurking SO to find out what am I doing wrong. This is my projects directory tree:
main.cpp
starts with this:
#include <iostream>
#include "XD.hpp"
( lib/XD.hpp
or <XD>
doesn't work as well)
I tried many other combination, I even did -I/home/frynio/Desktop/projects/sdizo1/lib
, but it still doesn't work. Do you guys see what am I doing wrong here?
I know this will be massively downvoted, but I'd rather spend time working on my project rather than trying to figure out this thing.
它应该看起来像这样
#include "../lib/XD.hpp"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.