Boost logo

Boost Users :

From: Piotr Kowalski (koval.gnu_at_[hidden])
Date: 2019-12-11 16:44:12


If those options are really what you are doing then I guess include path to
boost is not set correctly.
/.../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
I would suggest using -I../boost_1_70_0 rather than what you have shown

śr., 11 gru 2019 o 17:36 mik via Boost-users <boost-users_at_[hidden]>
napisał(a):

> Hi again,
>
> this time I've a problem to compile a simple program using an
> unordered_set. The program is the following:
>
> ---
> //main.cpp
> #include <boost/config.hpp>
> #include <boost/unordered_set.hpp>
> #include <boost/functional/hash.hpp>
>
> int main()
> {
> boost::unordered::unordered_set<std::string> set;
>
> return 0;
> }
> ---
>
> I compile it with the command below:
>
> CC main.cpp -o test -library=stlport4 -I/.../boost_1_70_0/
>
> and I got the error:
>
> ir_build_type(): unexpected type
>
> Please help me!!
>
> Thank you,
> Mirko
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> https://lists.boost.org/mailman/listinfo.cgi/boost-users
>



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net