When compiling my C++ project that includes uuid.h I get the compile error:
fatal error: uuid.h: No such file or directory
I’m not sure whats going wrong. It could be my compiler instructions are wrong or that I indeed dont have that file installed (but I don’t think thats the problem).
sudo apt-get install uuid-dev
The above command outputs: uuid-dev is already the newest version
My makefile is simply this:
all: g++ -o bin/myapplication src/main.cpp -std=c++11
Edit: In .h file:
#include <uuid.h>
Any ideas what the issue could be?
Advertisement
Answer
I bielive in newer version of the uuid the header is <uuid/uuid.h>