Commit a74b98c2 authored by 神楽坂玲奈's avatar 神楽坂玲奈

osx

not finished
parent cef3565d
...@@ -46,9 +46,14 @@ inline int _wtoi(const wchar_t * s) { ...@@ -46,9 +46,14 @@ inline int _wtoi(const wchar_t * s) {
} }
#endif #endif
#include <irrlicht.h> #include <irrlicht.h>
#ifdef __APPLE__
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#else
#include <GL/gl.h> #include <GL/gl.h>
#include <GL/glu.h> #include <GL/glu.h>
#endif
#include "CGUITTFont.h" #include "CGUITTFont.h"
#include "CGUIImageButton.h" #include "CGUIImageButton.h"
#include <iostream> #include <iostream>
......
...@@ -15,8 +15,10 @@ solution "ygo" ...@@ -15,8 +15,10 @@ solution "ygo"
configuration "macosx" configuration "macosx"
defines { "LUA_USE_MACOSX" } defines { "LUA_USE_MACOSX" }
includedirs { "/opt/local/include" } includedirs { "/usr/local/include/*" }
libdirs { "/opt/local/lib" } libdirs { "/usr/local/lib", "/usr/X11/lib" }
buildoptions { "-stdlib=libc++" }
links {"OpenGL.framework","Cocoa.framework","IOKit.framework"}
configuration "linux" configuration "linux"
defines { "LUA_USE_LINUX" } defines { "LUA_USE_LINUX" }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment