serge-rgb / milton

An infinite-canvas paint program
GNU General Public License v3.0
1.53k stars 133 forks source link

How to build Milton in MacOS? #97

Closed zhengying closed 5 years ago

zhengying commented 6 years ago

there is just a setup_osx.sh to compile SDL lib, but how to build the whole project?

I tried "build-lin.sh", it's not working:


... In file included from /Users/zhengying/lab/milton/src/gl.h:23: /Users/zhengying/lab/milton/third_party/glext.h:54:9: error: 'GL_GLEXT_VERSION' macro redefined [-Werror,-Wmacro-redefined]

define GL_GLEXT_VERSION 20180525

    ^

/Users/zhengying/lab/milton/third_party/SDL2-2.0.8/include/SDL_opengl_glext.h:56:9: note: previous definition is here

define GL_GLEXT_VERSION 20140521

....

Any Suggestions. thanks.

zhengying commented 5 years ago

MacOS now working. thanks

serge-rgb commented 5 years ago

Yeah I build on macos sometimes and it normally works. It's not officially supported though so I can't promise it won't break in the future :/