Skip to content

Instantly share code, notes, and snippets.

View DevHwan's full-sized avatar
:octocat:
Fun!

DevHwan DevHwan

:octocat:
Fun!
  • S-Core
  • Seoul, Republic of Korea
  • 19:30 (UTC +09:00)
View GitHub Profile
@DevHwan
DevHwan / vs2015_iob_func_fix.cpp
Created January 10, 2018 05:46
Visual Studio 2015 Legacy Link Error Fix : __imp__iob_fuc
////////////////////////////////////////////////////////////////////////////
//// stdin, stdout, stderr link error for vs2015
//// override implementation of __iob_func
//// https://stackoverflow.com/questions/30412951/unresolved-external-symbol-imp-fprintf-and-imp-iob-func-sdl2
#if ( _msc_ver >= 1900 )
#include <cstdio>
extern "c" file * __cdecl __iob_func(void)
{
struct _iobuf_vs2012 { // ...\microsoft visual studio 11.0\vc\include\stdio.h #56
char *_ptr;
{
"stated": {
"default": "button_default.9.png",
"checked": "button_checked.9.png",
"hovered": "button_hovered.9.png",
"pressed": "button_pressed.9.png",
"disabled": "button_disabled.9.png"
}
}
#include <iostream>
#include <vector>
#include <cmath>
#include <GLFW/glfw3.h>
#include <OpenGL/GL.h>
#include <OpenGL/GLU.h>
#include <glm/glm.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <glm/gtc/matrix_transform.hpp>