Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QT release build defining both _DEBUG and NDEBUG and causing issued with PhysX
Forum Updated to NodeBB v4.3 + New Features

QT release build defining both _DEBUG and NDEBUG and causing issued with PhysX

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 1.0k Views 1 Watching
  • 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.
  • D Offline
    D Offline
    DavidJames
    wrote on last edited by
    #1

    Hello, I am trying to build an editor that links with my game engine and I am running into this issue. In PhysX I get this error: “Exactly one of NDEBUG and _DEBUG needs to be defined by preprocessor” when I build the project in release mode. The debug build works fine. So for some reason the release build is defining both NDEBUG and _DEBUG for some reason.

    I should also add that I am using a VS2012 build of QT, but I get the same error when I build with the VS2010 version.

    Also I am forced to use QT 4.8.4, because when I try to compile with 5.0.1 I get a bunch of OpenGL redefinition errors, but I am fine working with 4.8.4.

    Thanks,
    David

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      Closing this duplicate

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0

      • Login

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