Boost logo

Boost Users :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2006-01-19 12:23:04


Sliwa, Przemyslaw (London) wrote:
> This is the program taken from the tutorial I am trying to compile/link:
> http://www.boost.org/libs/filesystem/example/simple_ls.cpp

 From below I can't see which of the filesystem lib variants it's trying
to link to. Somewhere in your compile log you should have a "linking to
..." mentioning the filesystem lib. Could you post that.

> "_WIN32_WINNT=0x0501" /D "WINVER=0x0501" /D "_STLP_DEBUG" /D "_MBCS" /FD

Well during building bjam sets: /D "_STLPORT_DEBUG=1", but I can't
remember if the value matters.

> Linking...
> main.obj : error LNK2019: unresolved external symbol "public: class
> _STL::basic_string<char,class _STL::char_traits<char>,class

The "_STL::..." is a sign that it's not using STLport somehow. Because
it should be using something like "stlp_std::...".

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - Grafik/jabber.org

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