Important: Please read the Qt Code of Conduct -

Problem with building console application

  • During building application it is appear the next message

    C1083: Cannot include file: tr1/memory: No such file or directory

    I do not know how to resolve this problem.

  • Welcome to Devnet,

    You should add the directory where that include file is supposed to be.

    For further advice, some more information (OS, toolchain, IDE, the offending lines in the sources) would be helpful.

  • Excuse me. I forget give detailed information.

    I am working under Windows XP OS and use Qt Creator 2.3.1 based on Qt 4.7.4.

    There is line of code

    #include <tr1/memory>

    which produce error.

  • That are some new additions to the C++ standard. It depends on the compiler and its version in use whether it is supported out of the box or whether you need some support libs like boost.

Log in to reply