title: SDL2 No Console Output on Windows
body: <p>I've tried just about everything I can think of. I just cannot get SDL2 to output anything to the console. Both Windows PowerShell and Command Prompt show no output. There's also no stdout.txt file. cout, cerr, SDL_Log("..."), none work.</p>
  
  <pre><code>#define NO_STDIO_REDIRECT
  #include &lt;iostream&gt;
  #include "SDL.h"
  
  using namespace std;
  
  int main(int argc, char** args){
      if (SDL_Init(SDL_INIT_VIDEO) != 0){
          std::cout &lt;&lt; "SDL_Init Error: " &lt;&lt; SDL_GetError() &lt;&lt; std::endl;
          return 1;
      }
  
      SDL_Log("Hello World");
  
  
      SDL_Quit();
      return 0;
  }
  </code></pre>
  
  <p><strong>CMakeLists.txt:</strong></p>
  
  <pre><code>message(STATUS "Print Test, CMAKE_SOURCE_DIR: " ${CMAKE_SOURCE_DIR})
  cmake_minimum_required(VERSION 3.7)
  project(testproject)
  
  set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
  #set(CMAKE_MODULE_PATH cmake/FindSDL2.cmake)
  #set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
  
  find_package(SDL2 REQUIRED)
  include_directories(testproject ${SDL2_INCLUDE_DIRS})
  
  add_executable(testproject src/main.cpp)
  target_link_libraries(testproject ${SDL2_LIBRARIES})
  </code></pre>
  
  <p>Using GCC 4.8.3 (MinGW i686 Win-Builds 1.5)</p>