Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Daredevil Clang build error with Ubuntu 16.x #10

Closed
bvernoux opened this issue Aug 21, 2017 · 0 comments
Closed

Daredevil Clang build error with Ubuntu 16.x #10

bvernoux opened this issue Aug 21, 2017 · 0 comments

Comments

@bvernoux
Copy link

There is a build error when trying to build Daredevil sources with Ubuntu 16.x and clang (Tested with Ubuntu 16.04.3 LTS)

user:~/sidechannelmarvels/Daredevil$ make
clang++ -Wall -Wextra -std=c++11 -O3 -DRESOURCES="/usr/local/share/daredevil/" -c cpa.cpp -o cpa.o
cpa.cpp:23:10: fatal error: 'omp.h' file not found
#include "omp.h"
^
1 error generated.
Makefile:19: recipe for target 'cpa.o' failed
make: *** [cpa.o] Error 1

This issue can be fixed on Ubuntu 16.x (or maybe also other version) by doing :

sudo apt install libomp-dev

(it is defined here https://askubuntu.com/questions/900702/how-to-compiler-openmp-program-using-clang)

Please add that to Daredevil dependencies it will help other users
Proposal replace

sudo apt-get install --no-install-recommends clang make
by
sudo apt-get install --no-install-recommends clang make libomp-dev

@doegox doegox closed this as completed in a46d773 Aug 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant