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. Include C++ libraries in precompiled header doesn't work with glew
Forum Updated to NodeBB v4.3 + New Features

Include C++ libraries in precompiled header doesn't work with glew

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 715 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.
  • M Offline
    M Offline
    mandyedi
    wrote on last edited by
    #1

    Hi,

    I have a very special issue:
    I want to use Qt Creator Plain C++ Project for OpenGL development. I am using glew and SDL 2. I also set up a precompiled header (global.h) in the pro file. Everything works just fine, but I can't include iostream, vector or any other c++ header in global.h. Compiler error is: iostream: No such file or directory.( C headers like stdio.h works ).
    When is remove the glew source files from the project it works again.

    I am using SDL 2 development libraries and for glew I added the source code to the project.

    It seams a pretty nasty bug or maybe I just did something wrong.

    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