<div dir="ltr">If those options are really what you are doing then I guess include path to boost is not set correctly.<div>/.../boost_1_70_0/ will llook for a directory called ... and for boost_1_70_0 as a subdirectory. You may need to change ... to .. and remove leading / which makes the compiler to look from the root directory</div><div>I would suggest using -I../boost_1_70_0 rather than what you have shown</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">śr., 11 gru 2019 o 17:36 mik via Boost-users &lt;<a href="mailto:boost-users@lists.boost.org">boost-users@lists.boost.org</a>&gt; napisał(a):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Hi again,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">this time I&#39;ve a problem to compile a simple program using an unordered_set. The program is the following:<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">---<br></div><div class="gmail_default" style="font-size:small"><span style="font-family:monospace">//main.cpp<br>#include &lt;boost/config.hpp&gt;<br>#include &lt;boost/unordered_set.hpp&gt;<br>#include &lt;boost/functional/hash.hpp&gt;<br><br>int main()<br>{<br>   boost::unordered::unordered_set&lt;std::string&gt; set;<br><br>   return 0;<br>}</span></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">---</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">I compile it with the command below:</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-size:small"><span style="font-family:monospace">CC main.cpp -o test -library=stlport4 -I/.../boost_1_70_0/</span></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">and I got the error:</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-size:small"><span style="font-family:monospace">ir_build_type(): unexpected type</span></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Please help me!!</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Thank you,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">    Mirko<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br clear="all"></div><div><div dir="ltr"><img src="http://api.qrserver.com/v1/create-qr-code/?data=Mirko%20Cambi%0Aemail%3A%20mirko.cambi%40gmail.com%0Amobile%3A%20%2B393473468900%0Awww%3A%20www.randomdigit.it&amp;size=150x150" width="96" height="96"><br><div style="text-align:left"><u></u></div></div></div></div>
_______________________________________________<br>
Boost-users mailing list<br>
<a href="mailto:Boost-users@lists.boost.org" target="_blank">Boost-users@lists.boost.org</a><br>
<a href="https://lists.boost.org/mailman/listinfo.cgi/boost-users" rel="noreferrer" target="_blank">https://lists.boost.org/mailman/listinfo.cgi/boost-users</a><br>
</blockquote></div>