Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Build error C2039
Qt 6.11 is out! See what's new in the release blog

Build error C2039

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 2.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    srinidhicm
    wrote on last edited by
    #1

    hi
    i'm new to qt. i have installed qt 5.5.1 for 32 bit windows 7 with microsoft visual studio 2012. I have cloned the source code of Qgroundcontrol through github desktop. when i try to build and compile the source code i am getting errrors as C2039 'isfinite' is not a member of namespace 'std'

    1 Reply Last reply
    0
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Probably you did not activate C++11 standard.
      std::isfinite was invented in C++11, see http://en.cppreference.com/w/cpp/numeric/math/isfinite
      I'm not sure, but probably VS2012 C++ compiler does not support C++11.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved