<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi all,
<div><br>
</div>
<div>I'm trying to compile the following code using clang++:</div>
<div><a href="https://github.com/opencv/opencv/blob/master/samples/cpp/tutorial_code/ImgProc/Morphology_1.cpp">https://github.com/opencv/opencv/blob/master/samples/cpp/tutorial_code/ImgProc/Morphology_1.cpp</a></div>
<div><br>
</div>
<div>With g++ I don't have problem I just did:</div>
<div><br>
</div>
<div><span style="font-size: 13.3333px;">g++ Morphology_1.cpp -I /workspace/opencv/modules/core/include/ -I /workspace/opencv/modules/imgproc/include/ -I /workspace/opencv/modules/core/include/ -I /workspace/opencv/include/opencv2/ -I /workspace/opencv/build/
-I /workspace/opencv/modules/highgui/include/ -I /workspace/opencv/modules/imgcodecs/include/ -I /workspace/opencv/modules/videoio/include/ -L /workspace/opencv/build/lib/ -std=c++11 -o Morphology -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_imgcodecs</span></div>
<div><span style="font-size: 13.3333px;"><br>
</span></div>
<div><span style="font-size: 13.3333px;">cp ../../../data/LinuxLogo.jpg LinuxLogo.jpg</span></div>
<div><span style="font-size: 13.3333px;">sudo ldconfig -v</span></div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Stefano</div>
</div>
</body>
</html>